Author |
Message |
Topic: getc reads only trash |
Tomson
Replies: 8
Views: 7614
|
Forum: General CCS C Discussion Posted: Wed Apr 30, 2008 3:47 am Subject: getc reads only trash |
Hi Matro,
at the moment I think the same. I will do some tests on the board.
Thank you very much for your help.
Regards, Tomson |
Topic: getc reads only trash |
Tomson
Replies: 8
Views: 7614
|
Forum: General CCS C Discussion Posted: Wed Apr 30, 2008 3:33 am Subject: getc reads only trash |
There is no change in the behavior after I've outposted the suggested lines.
I've looked at the incoming signal with the scope and recognized that this was very strange. I've to look more detailled f ... |
Topic: getc reads only trash |
Tomson
Replies: 8
Views: 7614
|
Forum: General CCS C Discussion Posted: Wed Apr 30, 2008 2:56 am Subject: getc reads only trash |
Hi Matro,
thank you for your fast reply. The hyperterminal and the pic has the same RS232 settings. 2400, 8E1. The communication from PIC to PC works fine. I sent a short message at the start of th ... |
Topic: getc reads only trash |
Tomson
Replies: 8
Views: 7614
|
Forum: General CCS C Discussion Posted: Wed Apr 30, 2008 2:42 am Subject: getc reads only trash |
Hi,
I'am trying to get a char over the rs232 interrupt INT_RDA of my pic. But what ever I sent to the controller by HyperTerminal, it gets only a 0xFF.
I'am using a PIC18F2480 and a CCS PCWH Com ... |
Topic: I2C bus causes reset |
Tomson
Replies: 2
Views: 4187
|
Forum: General CCS C Discussion Posted: Thu May 10, 2007 2:20 am Subject: I2C bus problem obviously solved! |
Hello PCM Programmer,
thanks for your fast reply. Obviously the problem is solved. But I have to change the #use i2c instruction too.
The following code (snipped) does work well.
#use I2C(M ... |
Topic: I2C bus causes reset |
Tomson
Replies: 2
Views: 4187
|
Forum: General CCS C Discussion Posted: Wed May 09, 2007 1:59 am Subject: I2C bus causes reset |
Hello,
I'd like to program a i2c bus between a pic and a DAC. The pic I'am using is a PIC18F2480 with hardware i2c. The DAC is a MAX5812L with the device adress 0x20.
My code is running until th ... |
|