Hi i am interfacing mma842with nrf51822. but i am not getting data. i have uploaded code. can you tell me what is problem. i don't know i am not getting who am i idtry.rar
Hi i am interfacing mma842with nrf51822. but i am not getting data. i have uploaded code. can you tell me what is problem. i don't know i am not getting who am i idtry.rar
In ADXL_375.h
you have set the MMA8452 Device ID to 0x1C
and not 0x2A
as specified in the MMA8452Q Datasheet.
-Bjørn
no i set ADXL375_ADDR 0x1C. it is 7 bit slave address. DEVICE_ID 0x0D which is who am i id
as per data sheet when i read device id 0x0D i must get 0x2A. but i am not getting it.
I am sorry, you are correct. Are you just getting 0x00 or are you reading an actual value? Are you able to provide a logic trace of the I2C pins?
yes i am getting 0x00??