PIC18F26K80 I2C read problem
Posted: Fri Apr 20, 2018 4:43 pm
Hi,
I'm trying to communicate with the MCP3421 from Microchip with the I2C bus. I can successfully write to the ADC but can't receive the answer. Attached is the programmcode and two screenshots. 1. screenshot shows the data I'm writing to the ADC and on the second screenshot is the anwser of the ADC.
every 3 data1 to data3 are 0. How do I read this answer correctly?
,
Best Regards
Speed64
I'm trying to communicate with the MCP3421 from Microchip with the I2C bus. I can successfully write to the ADC but can't receive the answer. Attached is the programmcode and two screenshots. 1. screenshot shows the data I'm writing to the ADC and on the second screenshot is the anwser of the ADC.
every 3 data1 to data3 are 0. How do I read this answer correctly?
,
Best Regards
Speed64