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.
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!
-----------------------------------------------------------------------------------------------------------------------
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.
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.
Any possibility to share the i2c configuration for getting acknowledge from mag3110
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