MCXN236: Using FLEXIO pins as I2C slave

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCXN236: Using FLEXIO pins as I2C slave

933件の閲覧回数
burcu
Contributor I

I want to use the MCXN236 as a peripheral device and use the FLEXIO pins for I2C communication. There is an example project in SDK "flexio_i2c_interrupt_lpi2c_transfer" but it only has the driver to acts as a controller. Is there any example code/drivers to use these pins for the peripheral? 

ラベル(1)
1 返信

838件の閲覧回数
chris_brown
NXP Employee
NXP Employee

Hi @burcu ,

No, unfortunately we do not provide examples of the FlexIO acting as an I2C target.  There had been an effort in the past to do this but it was abandoned as it couldn’t fully meet the spec and ended up needing more shifter/timer resources than the I2C controller mode. (eg: more than 2 shifters and 2 timers).  It is more efficient in terms of FlexIO resources to use LPI2C for target mode and FlexIO for controller mode.

Best regards,

Chris 

0 件の賞賛
返信