FRDM-K66F multi-master I2C

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

FRDM-K66F multi-master I2C

跳至解决方案
1,161 次查看
thilankadamith
Contributor I

Hi,

How can I setup multi-master I2C peripherals on FRDM-K66F Board using MCUxpresso IDE config tool?

Thank you

0 项奖励
回复
1 解答
1,152 次查看
vicentegomez
NXP TechSupport
NXP TechSupport
0 项奖励
回复
2 回复数
1,153 次查看
vicentegomez
NXP TechSupport
NXP TechSupport
0 项奖励
回复
1,136 次查看
alfredos
Contributor I

Hello!

is it is the same case for the FreeRTOS i2c driver?

I'm trying to use two i2c buses as master (i2c0 and i2c1) but if I initialize the I2C1 with MCUxpresso IDE config tool the I2C0 don't work anymore.

The hang happen in I2C_RTOS_Transfer on file fsl_i2c_freertos.c, the line

(void)xSemaphoreTake(handle->semaphore, portMAX_DELAY); never returns.

It's because he interruption was never catch on callback: I2C_RTOS_Callback

If I disable the I2C1 driver, then I2C0 works normaly.

0 项奖励
回复