emulate I2C bus slave or master using FlexIO.

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

emulate I2C bus slave or master using FlexIO.

Jump to solution
593 Views
bryan_hong
Contributor V

Hi

I know the the limitation using FlexIO as I2C. (https://community.nxp.com/t5/S32K/I2C-for-S32K14x/td-p/1705461)

and On AN5133,

However, there are also some limitations when using FlexIO to emulate I2C bus master. For example, the I2C features such as multi-master/arbitration, handshaking, and clock stretching are not supported. Also, it is difficult to emulate I2C bus slave using FlexIO.

SO, I have question as below.

- Can `FlexIO as I2C` work with normal i2c also as master or slave for `FlexIO as I2C` and switching master/slave without any reset ?

thanks
Bryan

0 Kudos
Reply
1 Solution
547 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @bryan_hong,

There is no FlexIO I2C Slave SDK/RTD driver, because it is difficult to implement it.

A possible implementation of FlexIO I2C Slave and its limitations are explained in the thread:

https://community.nxp.com/t5/S32K/How-does-S32K146-realize-FLEXIO-to-simulate-I2C-SLAVE-mode/m-p/105...

If you decide to implement FlexIO I2C Slave, it can be switched to FlexIO I2C Master by reconfiguring the FlexIO module.

 

Regards,

Daniel

View solution in original post

0 Kudos
Reply
2 Replies
529 Views
bryan_hong
Contributor V

thanks for your response.

I have reply to customer with your comments.

 

0 Kudos
Reply
548 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @bryan_hong,

There is no FlexIO I2C Slave SDK/RTD driver, because it is difficult to implement it.

A possible implementation of FlexIO I2C Slave and its limitations are explained in the thread:

https://community.nxp.com/t5/S32K/How-does-S32K146-realize-FLEXIO-to-simulate-I2C-SLAVE-mode/m-p/105...

If you decide to implement FlexIO I2C Slave, it can be switched to FlexIO I2C Master by reconfiguring the FlexIO module.

 

Regards,

Daniel

0 Kudos
Reply