Fabri
Joined: 22 Aug 2005 Posts: 275
|
I2C bus question |
Posted: Thu May 29, 2008 2:24 am |
|
|
Hi to everybody,
I have just one question about ccs I2C bus routine. I wrote by myself I2C routine for PIC18F4520 some time ago. I try the same routine with PIC18F4525 and it doesn't work, otherwise with #use i2c library the system work right. I wrote i2c routine because i use i2c bus to talk with some external device on bus 3 meters long and with ccs library the system went in reset as soon as it received any burst noise, so I introduced timeout in i2c communication routine. Now to understand problem I'm checking ccs disassembled library. I found:
What does it mean ?
does it test address 0 and bit 0 ?
Thanks for help about,
Regards,
Fabri |
|