Hi, I'm developing an LPC8N04 project and have determined that I want the bus to have two masters.
I'm also very new to LPC and MCUExpresso IDE.
My LPC8N04 is being used as an EEPROM, but I would like it to occasionally switch from i2c Slave to Master, so it can also read a few sensors, and cache the results in it's EEPROM.
Another bigger processor will periodically wake and read the I2C bus, grabbing from the LPC8N04 EEPROM space.
Before I invest time in protoyping this... it is doable? The 8N04 datasheet indicates the I2C module is quite simple; master, slave, nothing fancy in between. I'm assuming I can deinit the module, create a new context, then init with new context.
Thanks in advance for your help here. Brent.
Hello @brentsinger
About development LPC8N04 I2C, recommend you refer to I2C master and I2C slave demo under SDK.
MCUXpresso IDE: https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-i...
Download SDK: https://mcuxpresso.nxp.com/en/select
BR
Alice