Hello:
When I use the IIC demo, the master in the routine sends data slave to receive, but there is no interface for the master to receive data
the I2c_HLD_LPI2C_Transfer_S32K344:
C:\NXP\SW32K3_RTD_4.4_2.0.0\eclipse\plugins\I2c_TS_T40D34M20I0R0\examples\EBT\I2c_HLD_LPI2C_Transfer_S32K344
master send the data,slave receive.
the I2c_Callback callback function only used to slave receive the data.
while, How does Master Receive accept?
Hi @syfchao
This example is a loopback. As you can see, the code does not initialize any pin, which is the same with I2C. All communication is internal.
What this example does is only send information to the slave once. Therefore, to maintain constant communication between master and slave, you must make modifications. I recommend you check the user manual and the integration manual of the peripheral, which are included in the RTD.
B.R.
VaneB