Hi @JLiew.1162 ,
you can refer to the FP-SNS-SMARTAG1 function pack, that implements some examples with the Steval-Smartag 1 board and motion and environmental sensors.
In particular, you can refer to the below functions, that you can find in the \Drivers\BSP\SmarTag folder (SmarTag_motion_sensors.c):
int32_t SMARTAG_MOTION_SENSOR_GetAxesRaw(uint32_t Instance, uint32_t Function, SMARTAG_MOTION_SENSOR_AxesRaw_t *Axes)
int32_t SMARTAG_MOTION_SENSOR_GetAxes(uint32_t Instance, uint32_t Function, SMARTAG_MOTION_SENSOR_Axes_t *Axes)
For the NFC transmission you probably have to call this other function in the main.c:
void MEMS_Sensors_ReadData(void)
If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon