2020-01-30 02:48 AM
Hi,
We started design with STM32G070RB for our new application.
And, i'd like to know the detail about below explanation about I/O port configuration during/just after reset at page.161 of the reference manual(RM0454).
|During and just after reset, the alternate functions are not active and
|most of the I/O ports are configured in analog mode
Please help to answer below questions.
Best regards,
yuji
2020-01-30 03:34 AM
The reset state of pins is given by the reset value of the GPIO registers, look at the description of these registers in RM.
"Analog mode" mainly means, that the digital input is disconnected, the pin is floating and is not influenced by the digital input's schmitt trigger's leakage. Analog functions like ADC might be connected electrically, but they are inactive (ADC is connected to pin only during sampling, anyway).
For pullup/pulldowns, again, refer to the reset value of GPIOx_PUPDR registers; most pins are fully floating with no pullup/pulldown (maybe except those participating in JTAG/SWD).
If you activate the built-in bootloader, after reset, there may be additional and not-very-well documented pullups/pulldowns used.
JW
2020-01-30 04:46 PM
Hi, JW
Thanks for your answer.
I understood well.
Best regards,
Yuji