X-CUBE-MEMS1 Pinout & Config Settings
Hello,
I'm working with:
NUCLEO-G070RB
X-NUCLEO-IKS02A1
STM32CubeMX
STM32CubeIDE
Is there anywhere I can find the required STM32CubeMX settings to use the various X-CUBE-MEMS1 examples? I've downloaded everything in the last week so all the versions should be the latest.
I'm trying to build both IKS02A1_DataLogFusion and IKS02A1_Ecompass and having a very similar issue with both. Both projects generate code and compile fine. When I load the code and run it on the board they have the same problem.
Specifically with Ecompass the code makes it to the while(1) in main.c then it goes
MX_MEMS_Process()
MX_ECompass_Process()
if(UART_ReceivedMSG...
Once it gets to the UART_ReceivedMSG it ends up going to HardFaultHandler
The same thing happens with the DataLogFusion program. The function names are different but it's pretty much the same flow.
What am I doing wrong here? What is the board expecting to receive over UART? The code starts to mention DMA. Are there DMA requirements for this? If so, how do I set them up?
Thanks!
