S32K116 GPIO emulate I2C

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

S32K116 GPIO emulate I2C

1,372 Views
zhangzhiyong
Contributor III

We used the S32K116,we need two I2C(baudrate reach 400K),but S32K116 has only one LPI2C.

The other one can,we want to use the flexio emulate IIC,but the flexio’s transmission length is Limited to 13 bytes.

Can you provide a program:GPIO emulate IIC,baudrate reach 400K?

Labels (1)
0 Kudos
1 Reply

1,236 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

Unfortunately, we have no GPIO emulate IIC example code for the S32K devices.

However, there is an application note for the S12/S12Z devices which could be used as inspiration:

AN5264 Emulating I2C Master Mode

https://www.nxp.com/docs/en/application-note/AN5264.pdf 

Best regards,

Diana

0 Kudos