MCXN236: Using FLEXIO pins as I2C slave

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCXN236: Using FLEXIO pins as I2C slave

934 次查看
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 回复

839 次查看
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 项奖励
回复