Interfacing external I2C device with K66F dev kit

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

Interfacing external I2C device with K66F dev kit

274 Views
viveknath_thulasi
Contributor II

Hi, 

I am trying to interface an external sensor with the firmware running on Free RTOS.

There are examples for I2C ports from 2 different boards or 2 different  I2C ports from the same board.

from my understanding, The idea is to use drivers and wrapper from "fsl_i2c_freertos" and that inturn uses "fsl_i2c"

But how to find the properties of external slave device for "I2C_Type" ?

There are only the slave address and registers to read the data from the external sensor.

Any links to example or info could be helpful.

Also, When I try to run a simple example program , the single board version communication between 2 I2C ports from the same board (i.e. "frdm66f_freertos_i2c") I get "kStatus_I2C_Addr_Nak"

What could be the error?

Thanks in Advance!

Labels (1)
0 Kudos
0 Replies