i2c accelerometer on sabresd

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

i2c accelerometer on sabresd

2,674件の閲覧回数
bottleneck
Contributor II

Hi All,

Currently using SABRESD with an RTOS. Trying to test MMA8451Q accelerometer with i2c driver, but I don't get acknowledge from the device. Could anyone share the frequency divider and sample driver to check it.

ラベル(4)
タグ(2)
0 件の賞賛
返信
7 返答(返信)

2,458件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

HiUmamahesh

suggest to look at accelerometer_test.c in SDK :

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

2,458件の閲覧回数
bottleneck
Contributor II

There is a list of documents, please share it specifically or guide with the exact values in which accelerometer on freescale SABRESD responds. I just send address of the slave but I never receive acknowledge and the frequency divider set to 0xd.

0 件の賞賛
返信

2,455件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

please check attached files.

0 件の賞賛
返信

2,455件の閲覧回数
bottleneck
Contributor II

Thanks for the code, but ultimately looking for frequency value set from i.mx6, few part of  code like i2c_read/_write where library in the code. These details are missing. I need exact value of IFDR value set for mma8451q slave to be responded.

0 件の賞賛
返信

2,455件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

had you looked in full sources

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

0 件の賞賛
返信

2,455件の閲覧回数
bottleneck
Contributor II

Any possibility to share the i2c configuration for getting acknowledge from mag3110

0 件の賞賛
返信

2,455件の閲覧回数
bottleneck
Contributor II

It would be helpful if exact values of I2C frequency divider value if possible to be shared for all the i2c devices on SABRESD. Please do needful

0 件の賞賛
返信