Member level 1
I am using a PIC18F to communicate over I2C to the RDA5820 FM chip. I have a suspicion the problem has nothing to do with the RDA however, because I've tried other chips in place and experienced the same problems. About 50% of the time the PIC will halt (just stops executing as if i2c disconnected), and the rest of the time the communication works fine. This is the first time I'm programming a I2C device, so I may be overlooking something. I have pullups on both pins (the datasheet for the RDA says that it has internal pullups) and when I leave out the external, nothing seems to change. I'm using a 100khz clock and the datasheet specifies 0 to 400khz. I'm doing all this on a breadboard with long wires. Could that be effecting it?