Interfacing external I2C device with K66F dev kit

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

Interfacing external I2C device with K66F dev kit

586 次查看
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!

标签 (1)
0 项奖励
回复
0 回复数