Author |
Message |
Topic: USB issue |
waqas_shafique
Replies: 1
Views: 3512
|
Forum: General CCS C Discussion Posted: Mon Feb 06, 2012 7:45 am Subject: USB issue |
I'm using PIC18F27J53 and ccs c version 4.114.
I want to ask you that pic18_usb.h have not support for J53 family. Can anybody know how can I patch this file to add support ?
Just for your infor ... |
Topic: Measuring Pulse low time |
waqas_shafique
Replies: 2
Views: 5486
|
Forum: General CCS C Discussion Posted: Sat Dec 03, 2011 6:09 am Subject: Measuring Pulse low time |
Thanks a lot for your help , I already come to this point few mins ago and problem solved. |
Topic: Measuring Pulse low time |
waqas_shafique
Replies: 2
Views: 5486
|
Forum: General CCS C Discussion Posted: Sat Dec 03, 2011 4:01 am Subject: Measuring Pulse low time |
Hi
I'm using CCS C's example file to measure pulse width( high time). I want to change this example program to measure pulse low time. Can you please help me how can I do that ?
Attached is the exa ... |
Topic: setup_spi() help |
waqas_shafique
Replies: 3
Views: 5466
|
Forum: General CCS C Discussion Posted: Wed Feb 09, 2011 7:02 am Subject: setup_spi() help |
good explanation thanks....
one more question,what if i want clock idle low and data transmit on low to high??? as there is no SPI_XMIT_H_TO_L |
Topic: setup_spi() help |
waqas_shafique
Replies: 3
Views: 5466
|
Forum: General CCS C Discussion Posted: Wed Feb 09, 2011 4:32 am Subject: setup_spi() help |
In SPI two parameters are needed to be specified i.e. clock phase and polarity. IN CCS C's function setup_spi() only one parameter is there to set i.e. SPI_L_TO_H or SPI_H_TO_L . I want to know is thi ... |
Topic: software spi problem |
waqas_shafique
Replies: 5
Views: 7759
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2011 4:56 am Subject: software spi problem |
thanks , the problem solved. The problem was that the enabling pin was not set as output pin. |
Topic: software spi problem |
waqas_shafique
Replies: 5
Views: 7759
|
Forum: General CCS C Discussion Posted: Mon Feb 07, 2011 4:38 am Subject: software spi problem |
Thanks. I tried both of your suggestions to set clock but still response is same. In proteus,the SPI debugger is showing the data from controller but the response from sensor is"??". |
Topic: software spi problem |
waqas_shafique
Replies: 5
Views: 7759
|
Forum: General CCS C Discussion Posted: Sun Feb 06, 2011 10:30 pm Subject: software spi problem |
I wrote a code in mikroC for SPI based TC72 temperature sensor. The code was working fine, then I converted the code into CCS C code using software spi. Now the problem is that data is being sent to t ... |
|