2019-05-03 03:42 AM
Hi!
I'm just starting learning STM32, I got a st-link cutoff from a nucleo-board. I find programming ready boards a bit boring, so I went straight to naked MCU on breakout boards.
So I got this STM32L431KBU6 chip on breakout and I can't get it to start. Here is the GPIO config,
and the clock config. That is one from many I tried, I only tried with with internal clocks, MSI in different configs and HSI with different combinations of multipliers and dividers
When I run a debug in Keil, I just can't get past some cycle. I think it's already some error handler, but I don't get it shown in C code.
The thing is I managed already to run a "hello world" on another mcu (stm32l412K8t6), so I don't understand, what is so special with this one that I don't get correctly?
Thanks in advice for any help.
Solved! Go to Solution.
2019-05-03 05:23 AM
Pull BOOT0 Low
2019-05-03 05:23 AM
Pull BOOT0 Low
2019-05-03 06:40 AM
Thank you very much! That helped, although I'm still confused as to why it wasnt't needed on stm32l412K8t6? The "Boot modes" parts on both datasheets are basically 1 to 1, there is no difference I can read about in datasheet.