cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB15CC (B-WB1M-WPAN) cannot initilize MotionFx with BLE stacks.

Zefie
Associate

I've been using B-WB1M-WPAN board with a modified example of motion service from BLE_HR_p2p_Sensor. but with IMU readings with a steval-mki217v1 shield connected with SPI.

So far I have been able to read IMU data and send it through a BLE notifiacation service. but when I try to setup a MotionFx server it mulfunctions. 

here are some combinations I've tried. with this line of code MotionFX_initialize((MFXState_t *)mfxstate);

1. when initialize after MX_APPE_Init(); in main.c the device will enter a hardfault error in couple of loops. same goes when put on app context init.

2. when initialize before MX_APPE_Init(); it does not process the registered UTIL_SEQ_RegTask. But the davice works fine.

I already have the CRC checked from CubeMX generation.

0 REPLIES 0