Author |
Message |
Topic: Pwm Frequency output problem |
jojos
Replies: 6
Views: 5640
|
Forum: General CCS C Discussion Posted: Mon Jan 18, 2010 8:02 am Subject: Pwm Frequency output problem |
Hello again.I found that i can adjust the pwm duty cycle from 40% to 80% If i choose 30% i get a dc level signal.If i set for 20% duty cycle i get 80%.What seems to be the problem.Do i have an overfl ... |
Topic: Pwm Frequency output problem |
jojos
Replies: 6
Views: 5640
|
Forum: General CCS C Discussion Posted: Mon Jan 18, 2010 3:44 am Subject: Pwm Frequency output problem |
First of all thank you Ttelmah for your help.I tested it and i got a 50% duty cycle.So i will have to make a matrix that will contain the appropriate values so i can get the duty cycle range that i wa ... |
Topic: Pwm Frequency output problem |
jojos
Replies: 6
Views: 5640
|
Forum: General CCS C Discussion Posted: Mon Jan 18, 2010 2:19 am Subject: Pwm Frequency output problem |
OK. I want to have 1 KHz Pwm frequency and to be able to change the duty cycle, by loading the appropriate value to the CCPR1L:CCP1CON<5:4 registers, from 20% to 100% . So with the 3276800 Hz cryst ... |
Topic: Pwm Frequency output problem |
jojos
Replies: 6
Views: 5640
|
Forum: General CCS C Discussion Posted: Sun Jan 17, 2010 12:57 pm Subject: Pwm Frequency output problem |
Hello. I am working on a project with a PIC 18F2520 chip. I am using its PWM. I have an external crystal of 3276800 Hz. I am having trouble to achieve the desired PWM freq. If I choose PR2 with 255 v ... |
Topic: GSM getting started... |
jojos
Replies: 5
Views: 5442
|
Forum: General CCS C Discussion Posted: Thu Oct 08, 2009 3:00 am Subject: GSM getting started... |
thank you bkamen for the help. I think i will go to the 18fxx option . |
Topic: GSM getting started... |
jojos
Replies: 5
Views: 5442
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2009 1:14 am Subject: GSM getting started... |
I read some datasheets already but it is too much data.Gues i will have to choose the best of them.I agree this is a CCS forum sorry.Ok then as for the PIC part of my project is it possible to use the ... |
Topic: GSM getting started... |
jojos
Replies: 5
Views: 5442
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2009 1:53 am Subject: GSM getting started... |
Hello. I am new to gsm modules. I wanted to ask some general questions:
1)I want to control a Gsm module (Samed Hilo NC) from my PC through RS232 adapter but in the same I want to be able to send A ... |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 1:50 pm Subject: DS2432 connection problem |
Ok sorry. I guess I have to read more carefully. 1k-Bit and not 1 Kbyte as I thought. |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 10:52 am Subject: DS2432 connection problem |
Ok lets say I want to write some bytes in the address 700. How can I do that if the write_byte command takes an input address with range 0-127 ? |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 6:45 am Subject: DS2432 connection problem |
Ok then. But how can I load the page I like before I set the address? |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 4:42 am Subject: DS2432 connection problem |
I don't want to open a new thread so I am writing my question here. First of all I can't get any access to the full datasheet of DS2432, I believe that in there I can solve many of my wonderings. Maxi ... |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Wed Jul 15, 2009 12:57 am Subject: DS2432 connection problem |
Thank you FvM for solving my confusion about this matter. It's always good to learn new things. |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Wed Jul 15, 2009 12:28 am Subject: DS2432 connection problem |
PCM Programmer the problem was the #use fast_io directives. I let the set_tris directives and the PORTx=0; instructions and it works. I also changed back the output_float(TOUCH_PIN) instruction in the ... |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Tue Jul 14, 2009 11:49 pm Subject: DS2432 connection problem |
Ok I have put the init_ds2432 as the first instruction in main. When the while loop executes for the first time the touch_present function gives a TRUE result but when it executes again it gives FALSE ... |
Topic: DS2432 connection problem |
jojos
Replies: 18
Views: 22167
|
Forum: General CCS C Discussion Posted: Tue Jul 14, 2009 1:40 am Subject: DS2432 connection problem |
I use the touch_present function for a simple debug. Here is the code:
#include "C:\SotirasLcd\18F2520.h"
//INTRC_IO
#fuses INTRC_IO ,PROTECT,NOLVP,PUT,NOPBADEN,NOBROWNOUT,MCLR//B ... |
|