2020-01-30 05:38 AM
Hi all,
I'm working with a STM32F303CCT6, and I'm testing the different pin values when Reset is pressed. The Reference Manual says the reset value for GPIO_MODER is 0, so all GPIO are inputs.
But I'm testing my MCU (first I erased all memory) and have a HIGH value on A15 with or without RESET pressed...
Its this ok?
2020-01-30 05:54 AM
When there's no code in FLASH or you select the appropriate BOOT setting, the stm32 will start up running the ST-supplied bootloader.
This bootloader will use certain pins to allow you to download your firmware e.g. over a UART or I2C. See the data sheet for details.
Also coming out of reset, any debug pins (JTAG or SWD) will be enabled and pulled appropriately.
Hope this helps,
Danish
2020-01-30 06:53 AM
> The Reference Manual says the reset value for GPIO_MODER is 0, so all GPIO are inputs.
No, it doesn't say so.
JW
2020-01-30 07:07 AM
Youre right!
I misunderstood, thanks. :)