Hi all,
I want to try the I2C of the LPC845 BRK following what reported in the user manual
tomato_0-1674818545971.png
This is the initialization function of the I2C0 in the LPC845brk
tomato_1-1674818861357.png
And this is the send data function
tomato_2-1674818959822.png
I tried to launch a program with these two function called but I am doing something wrong.
While debugging the code is stuck here
tomato_6-1674819642284.png
and the i2c0 registers tell that the i2c is with communication in progress but i tried to see the SCL and SDA lines with the oscilloscopes and I do not see anything passing (always at 3v3). The MSTDAT register has the correct devaddr that I am passing
tomato_4-1674819347568.png
Can you tell me what I am doing wrongly?
Thanks