Can controller programming pins be used as GPIO as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-07 4: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?
- Labels:
-
STM32F0 Series
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-07 5: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. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-12 3: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.
