Hi Ladies and Gents,
Im near enough ready to go back to Arduino having spent 3 weeks and getting really nowhere with this board other than Blinking the LED and using UART.
So I am trying to use an external I2C RTC DS3231 which i can have working in minutes on Arduino, but on this when working through the terrible example for I2C i am still unable to get anywhere as it is always stuck on I2C_STATUS_BUSY.
I can't believe how difficult this is in LPCOpen, any help would be much appreciated.
Regards
Ray
Hi Ray,
You can use the LPC1347 lpcopen I2C code, but you must modify the code to meet your I2C slave demand.
Do you test the I2C bus wave? After check the I2C wave, you will know the detail problem, you need to locate the problem at first.
Please check the I2C wave, then also reply it to me.
When the master send the I2C data to the slave, whether the I2C bus data is really the slave needed or not? Is the I2C slave the the ACK?
Anyway, check the I2C wave, compare the I2C data, check the ACK state.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------