cancel
Showing results for 
Search instead for 
Did you mean: 

Adding/editing/deleting any line of code in STM32WB35CC main programme causes crash when while using BLE and MX_APPE_Init

YXiao.6
Associate

I'm currently working on a project using SPI LCD screens, BLE, and timer at the same time. When I wanted to further modify my programme (like simple code of switching GPIO output, or more complicated code of showing letters on the LCD with SPI), the mcu just froze. And when I deleted MX_APPE_Init generated by STM32CubeIDE (which disables bluetooth ofc), everything worked normally again. I can't find any clue to solve this problem, could anyone help?

1 REPLY 1
YXiao.6
Associate

I fixed this problem a bit by moving MX_APPE_Init from default location to before any SPI operations, it seems SPI conflicts with MX_APPE_Init. Though I'm not sure this actually solves all the problems.