FRDM-K66F multi-master I2C

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

FRDM-K66F multi-master I2C

ソリューションへジャンプ
1,217件の閲覧回数
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,208件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
2 返答(返信)
1,209件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
1,192件の閲覧回数
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 件の賞賛
返信