Hi, In my devices I always have external pull-up/downs at important/dangerouse ports.
-Oleksandr пн, 20 лют. 2023, 14:53 користувач Tomek CEDRO <to...@cedro.info> пише: > On Mon, Feb 20, 2023 at 7:21 AM Simon Filgis wrote: > > > > Not to forget to consider the time between reset and first init. Default > > pin state mostly is input floating, or input weak pull-up. > > > > Don't let big bang happen that early. > > Yup, that was my concern number one: unknown state on power-on -> > internal boot -> firmware boot -> rtos boot -> application.. and the > variations during firmware flashing upgrade etc.. these days you won't > write all of the assembly code yourself anymore straight from the > reset vector.. also reset != zero everything to a known state in > modern mcus so its better to be safe than sorry :-) > > In a more complex design I think that dedicated logic is required > between mcu and the acuators that would verify working state with some > sort of latching that prevents accidental fires :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >