Hi guys,
http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/323982/1134705.aspx#1134705
This is a continuation of the topic in the link above.
Even thought i was able to receive data from the WHO_AM_I register, when tried to read CTRL_REG1 register, it gives the wrong value. I also tried to do a write and read but the value was not what i expected. i suspect there are still setting i did not get it correct. things i tried were to reduce the baudrate and tried some of the data format setting
The expected print out should be 211,7,0,0,0,0,211,15,0,8,32,0. but i got 211 ,15 ,0 ,0 ,0 ,0 ,255 ,255 ,15 ,0 ,0 ,0.
i also attached the project file for your viewing.
Thank you all for the help given soo far.
Regards,
Yuanfa