Unable to decode the data from the terminal which is in hex format

Hi, I am using OpenIMU300ZA evk board flashed with the IMU example code. I am trying to get the output from the terminal. Have written the C code to extract data in the hex format which gives result as below.

55 55 73 31 34 9a 99 17 00 9a 99 99 99 99 2a 98 40 e8 9d 6a 3c 60 96 17 3b 68 98 81 bf a7 f6 e0 3e b3 10 88 bd 9a 42 97 be 12 37 d1 3e f9 cf 3e be 8a 76 68 be 00 80 fa 41 54 8f
55 55 73 31 34 fe 99 17 00 00 00 00 00 00 2b 98 40 e0 7a 7a 3c 00 eb 0f ba d8 ac 81 bf 1c a8 df 3e d3 44 a3 bd 4c e7 99 be f1 3c d1 3e 18 b8 3e be ea b7 68 be 00 78 fa 41 7a 75
55 55 73 31 34 62 9a 17 00 67 66 66 66 66 2b 98 40 c8 9d 78 3c 80 b7 0f 3b c3 a5 81 bf a2 5c c9 3e 42 7f a9 bd ea 11 9f be 38 23 d1 3e 38 71 3e be 6e ac 68 be 00 78 fa 41 0f 0d
55 55 73 31 34 c6 9a 17 00 cd cc cc cc cc 2b 98 40 c8 46 6a 3c 40 00 d1 3a 76 7b 81 bf 7e 98 d1 3e f6 f3 47 bd 6b da 6d be 07 4e d1 3e bd fc 3e be d5 d0 68 be 00 78 fa 41 23 e0
55 55 73 31 34 2a 9b 17 00 33 33 33 33 33 2c 98 40 d0 67 64 3c 00 fc dd 3a 3b 8d 81 bf cf 67 ca 3e c4 3e 07 bc 4e c9 7b be 98 72 d1 3e 7e 00 3f be 76 41 68 be 00 78 fa 41 6e bb
55 55 73 31 34 8e 9b 17 00 9a 99 99 99 99 2c 98 40 90 85 7b 3c 80 a1 7c 3a 49 95 81 bf a8 31 ea 3e 4b ac e7 3b a1 8c 51 be 88 4d d1 3e 05 fd 3e be 9d 70 68 be 00 78 fa 41 d5 3a
55 55 73 31 34 f2 9b 17 00 00 00 00 00 00 2d 98 40 28 01 7e 3c 40 22 c0 3a cd ac 81 bf 33 03 ce 3e 76 f0 3e 3d c4 f0 7a be 10 7b d1 3e 0c 78 3e be 4c 84 68 be 00 78 fa 41 3a ef

Please confirm if the format of the data is correct. If yes how can I decode this to get the acceleration, magnitude and angular rate values out of this data (which byte represents what and how it need to considered for LSB and MSBs).

your s1 packet is right, pls use our ANS to save file which maybe met your request. https://developers.aceinna.com/devices/record-next

@cek Ya using ANS i am able to record and save the output data. But currently I am trying to get the output in the terminal using the C code to get the hex values as shown above. I want to know how to decode that in order to get acceleration and other values in a decimal format. I am not using ANS anywhere here.

@sharat for s1 packet:
f4500b56-fe63-413e-9859-a9e6f9e3d193-image.png

Thanks @cek . Its working fine now.

Log in to reply