Author |
Message |
Topic: Question about 16F876 USART |
Michael88
Replies: 5
Views: 7318
|
Forum: General CCS C Discussion Posted: Mon Jul 24, 2006 9:38 am Subject: Thanks, |
Thanks PCM and Andrew,
To PCM:
The reason that I think the UART receiver is locked up is that because everything (including timer, IO ports etc) works fine except UART. I tried to increase da ... |
Topic: Question about 16F876 USART |
Michael88
Replies: 5
Views: 7318
|
Forum: General CCS C Discussion Posted: Fri Jul 21, 2006 4:19 pm Subject: Question about 16F876 USART |
Thanks PCM.
My compiler version is 3.072. like you said, I'd like to write a small test program to do more test. The hard thing is that problem happened in the filed maybe once a month or weeks. In ... |
Topic: Question about 16F876 USART |
Michael88
Replies: 5
Views: 7318
|
Forum: General CCS C Discussion Posted: Fri Jul 21, 2006 3:51 pm Subject: Question about 16F876 USART |
Hi all,
I used " #use rs232 ( baud = 19200, xmit=pin_c6, rcv = pin_c7, errors) " to setup my com port. The problem is that if incoming data is too large, the receiver will be locked up. E ... |
Topic: about pic i2c |
Michael88
Replies: 8
Views: 23072
|
Forum: General CCS C Discussion Posted: Fri Oct 31, 2003 4:00 pm Subject: about pic i2c |
to Mark: actually i called i2c_poll() before, it is the same result.
to Neutone: as you said, if the master sends 2 bytes to slave, the slave should get the second byte, right? but nothing. as your r ... |
Topic: about pic i2c |
Michael88
Replies: 8
Views: 23072
|
Forum: General CCS C Discussion Posted: Fri Oct 31, 2003 2:12 pm Subject: about pic i2c |
Hi Neutone,
Thanks for your response. Is this mean if I put i2c_read() not in interrupt routine then it is ok? I look at ccsc manual and it said #int_ssp can used in spi and i2c. why?
Thanks.
... |
Topic: about pic i2c |
Michael88
Replies: 8
Views: 23072
|
Forum: General CCS C Discussion Posted: Fri Oct 31, 2003 12:54 pm Subject: about pic i2c |
Hi all,
I am newbie and have a question about pic i2c. I am using 16f876 as master and slave processor now. My ccsc is PCM 3.072. My code of slave are as follow:
code 1:
#INT_SSP
void ssp_i ... |
|