FRDM-K66F multi-master I2C

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

FRDM-K66F multi-master I2C

Jump to solution
519 Views
thilankadamith
Contributor I

Hi,

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

Thank you

0 Kudos
1 Solution
510 Views
vicentegomez
NXP TechSupport
NXP TechSupport
0 Kudos
2 Replies
511 Views
vicentegomez
NXP TechSupport
NXP TechSupport
0 Kudos
494 Views
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 Kudos