Hi! Where can I find information and examples on how to implement a I2C bus using both a master and slave configuration? The examples should be using the functions in Serial Manager.c file.
One issue I have in the Master configuration is the slave address appears to be locked in:
/* Defines the address of the slave when in master mode*/
#ifndef gSerialMgrIICAddress_c
#define gSerialMgrIICAddress_c (0x76)
#endif
I would like to be able to select more than one slave.
Second as the slave how is the slave address set? I'm using the MK41Z for both.
I'm looking at this https://mcuxpresso.nxp.com/api_doc/dev/116/group__i2c.html, but I'm having a difficult time correlating the serialmanager.c and this .html.
I appreciate the help!