2023-07-07 09:15 AM
Hi,
I'm using the X-NUCLEO-GNSS2A1 with STM32-476RG and I would like to get the gyroscope and the accelerometer data (IMU data) while using the CUBE IDE. Is there any documentation on the IMU that being used and how to get the data ?
Sincerely,
Aviad
2023-07-10 01:36 AM
Hello @azamir ,
Thanks for trying this Nucleo board.
For IMU Data the commands are not implemented but you can use the below messages to read the data from the GNSS Module :
$PSTMDRSENMSG,30
Accelerations from 3 digital axes accelerometer.
Synopsis:
$PSTMDRSENMSG,30,<cpu timestamp>,<raw_x>,<raw_y>,<raw_z>
*<checksum><cr><lf
$PSTMDRSENMSG,31
Angular rates from 3 digital axes gyroscopes.
Synopsis:
$PSTMDRSENMSG,31,<cpu timestamp>,<raw_x>,<raw_y>,<raw_z>
*<checksum><cr><lf>
You can find the detailed information in this document : https://www.st.com/resource/en/user_manual/um2791-teseovic3-software-instructions-stmicroelectronics.pdf
Let me know !
Regards,
Saurabh