2020-05-13 07:15 AM
Hi,
I'm currently using the NUCLEO-G071RB.
I want to design a custom PCB including only the STM32G071RB MCU and a PMIC (without the STLINK part of the NUCLEO board).
Best regards,
Yiftah
2020-05-13 08:05 AM
2020-05-13 08:33 AM
Thanks for the quick reply.
2020-05-13 08:55 AM
I'd recommend the STLINK-V3MINI or STLINK-V3SET as they're faster and more likely to be supported in the future.
Only pins you need are SWDIO, SWCLK, GND, NRST (optional but recommended), and VDD_DETECT (optional but recommended).
You can use a 5 pin cable. However, using a standard connector means you won't have to create a custom cable to debug your board.
2020-05-13 10:01 AM
What standard connector ?
On old nucleo = 6 pin inline,
On new nucleo 10 pins dual inline 0.05"
STLINK V2 20 pins 0.1"
STLINK V3 14 or 10 pin 0.05"
Chinese STLINK 4 pin 0.1"
???
2020-05-13 10:26 AM
You can uses whatever cable and pin arrangement you want.
The ARM standards are for a 10 or 20-pin connector, of which a subset of pins are used.
ST has an assortment of implementations, including a 14-pin variant of the 10-pin ARM connector, including UART RX/TX.
The UART connections isn't necessary, but CM0(+) parts don't support the SWV/SWO communications channel.
The MCO is a clock source to provide 8 MHz to the target without additional parts. Design with your own HSE clock if you are doing USB/CAN applications.