2023-09-12 10:09 AM
I have a simple demo board with a STM32L451VET6, a SPI LCD and four switches. The board will send the first byte over SPI perfectly, then either during or right after sending the second byte - it appears the MCU shuts down - as the CS line drifts down to 0v and single stepping in the code it just stops stepping - no errors - no faults.
This is a minimal program with just two lines added to the auto-generated code.
Any Ideas ?
Solved! Go to Solution.
2023-09-13 09:12 AM
OK ... I generated a Hex file and programmed the board, cycled power and its toggling away ... no problem. No stopping... so its something with debugging ... any suggestions of things to check ?
2023-09-13 01:53 PM
Resolved! BOOT0 was left unconnected. Set it as input and tied to GND and everything is workin ggreat!
Thanks!