lpcware

I2C_SLAVE

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by vijay_nav on Tue Mar 11 03:19:27 MST 2014
I am using LPC-812 as I2C slave to send a byte of data, whenever an event happens. The I2C master on an Application Processor is configured to read the data once every second. If the data is ready, the master would read it from the slave (if the event has occurred), else it would read the data as zero.

The I2C master is first powered ON. When the code is flashed on to the LPC812 Board, it does not work. But, when the Board is reset, the code works as expected.

Why is the Board reset necessary? Why does the Board not function as soon as the program is flashed on to it? Is the ever-running I2C read function on the master freezes the LPC812 Board?

Thanks in anticipation.

Outcomes