S32K344 IIC master receive

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K344 IIC master receive

260 Views
syfchao
Contributor II

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

syfchao_2-1679553762902.png

master send the data,slave receive.

syfchao_1-1679553547441.png

the I2c_Callback callback function only used to slave receive the data.

while, How does Master Receive accept?

 

 

 

 

0 Kudos
1 Reply

239 Views
VaneB
NXP TechSupport
NXP TechSupport

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

0 Kudos