2023-11-07 04:52 AM
Hi I am using STM32F401RE controller but on my PCB, so here can I use the pins allocated for its programming/code dumping also as normal GPIO's. Any precautions which needs to be taken care of?
2023-11-07 05:25 AM
basically yes, you can use all these pins as gpios.
but you want leave some way to program the chip - right ? so minimum is, leave boot pin usable, to have a way to get a program to the chip. - even if never want debug it. :)
2023-11-12 03:39 AM
Yes you can use all the pins, except NRST and Boot pins.
For programming your ic you can give UART line with additional jumper and add the SPDT button in Boot pin, connect one line to VCC and other to GND, so whenever you want to program your controller move boot to High state.
But it's not good practice to use all the pins of controller.