problem using 2 i2c

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

problem using 2 i2c

437 Views
hunglam
Contributor II

I use a custom board with the k64 as the mcu, kinetis design studio and ksdk1.2. on the board are 2 i2c devices connected to i2c_0 and i2c_1 of the k64. When I connect only one of the i2c devices in my program, no problem! but if I try to connect to both devices, i2c_1 cannot be connected?! why?

thanks in advance for any help

Labels (1)
0 Kudos
1 Reply

316 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello hung Iam:

What do you mean with "cannot be connected"? What kind of behavior do you see?

Please explain more about your issue so we are able to help. For example:

Which I2C0 and I2C1 pins you use?

Is your application using any RTOS (e.g. MQX, FreeRTOS)?

Do you miss data or there is no signal in the bus?

And if possible post the relevant code or project so we can give it a check.

Regards!

Jorge Gonzalez

0 Kudos