hi, can anyone please help me with the code for accessing fxos8700cq sensor interfaced with imx6 sololite throught spi?

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

hi, can anyone please help me with the code for accessing fxos8700cq sensor interfaced with imx6 sololite throught spi?

2,208 次查看
sathyaprasadp
Contributor I

hi,

     i am trying to connect the fxos8700cq accelerometer/magnetometer to my imx6 sololite processor using spi protocol to access the values of the sensors. can i get any help with coding??

Regards,

Sathya Prasad P

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

1,461 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sathya

please try attached.

Best regards

igor

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

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

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

0 项奖励
回复

1,461 次查看
sathyaprasadp
Contributor I

Hi Igor,

     Thank you for attending to my query. I am very much new to this. I think that the attachment which you sent is with respect to i2c and i wanted a code with spi protocol and if possible can you please provide me a code that has even the main() function.

Thanks and Regards

Sathya Prasad P

0 项奖励
回复