2023-05-06 11:01 PM
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?
2023-05-06 11:07 PM
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.