Skip to main content
YXiao.6
Associate
May 7, 2023
Question

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

  • May 7, 2023
  • 1 reply
  • 928 views

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?

This topic has been closed for replies.

1 reply

YXiao.6
YXiao.6Author
Associate
May 7, 2023

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.