2017-05-15 11:37 AM
Hi everybody,
I can't blink a led on GPIO B3 (PB3) port , the code works well on another ports like PB5 PA5... but not on PB3.
I have buy another nucleo board cause I was thinking I have an issue with my previous board but same issue on the new board. Anyone have a explanation.
FYI I need this port to emulate an aim board which use this port for a status led so...
Thanks for your help
Etienne
Solved! Go to Solution.
2017-05-16 12:34 AM
PB3 is the SWO pin and is connected to the on board STLink.
remove SB15 if you want to use it in your application.
You should have checked the schematic before buying a new board.
You can get it
.2017-05-16 12:34 AM
PB3 is the SWO pin and is connected to the on board STLink.
remove SB15 if you want to use it in your application.
You should have checked the schematic before buying a new board.
You can get it
.2017-05-16 02:53 AM
PB3 is the SWO pin and is connected to the on board STLink.
remove SB15 if you want to use it in your application.
While technically correct, I would never ever recommend that to an inexperienced user.
Else you have him back with more serious issues one hour later ...
2017-05-16 12:33 PM
Thank you for your answers, just two questions for my knowledge:
1- what is SB15? (yes I know I'm just new on nucleo)
2- Is it possible to desactivate the swo on the pb3 port and using another port connected to the stlink but on 'external device' connector?
2017-05-16 05:25 PM
It is a Solder Bridge (basically a jumper using solder), you'd need to use a soldering iron and a solder wick or sucker to remove the solder an open the circuit.
PB3 has defined functionality related to the debug interface, it can't use a different pin. The SWV (Serial Wire Viewer) it helps implement is optional. You will likely need to Remap the JTAG/SWD interface to use just the minimal SWDIO/SWCLK pins.
2017-05-16 05:25 PM
what is SB15?
SB stands for Solder Bridge, although in reality you'll find tiny 0-Ohm resistors soldered onto those which are by default shorted.
JW
PS. ST: in that UM1724, could be please table 10 fixed to properly indicate default state of all SBs which are not board-dependent?
2017-05-16 11:34 PM
Pretty clear, thank you for your help!