2021-09-24 09:19 AM
I'm trying to mount STM32L476RGT6U on pcb. I want to upload program using IDE to the controller on the pcb. Please advice me the suitable connection diagram to fullfill this particular requirement.
2021-09-24 09:34 AM
For direct connect exist internal bootloader and around five usable buses (USB,UART,I2C,SPI...). Read bootloader docs.
Simpler is use SWD interface for debug and load code. But here you need next hw to provide stlink IF.
Diagram here is simple for basic designs two wires and gnd .
2021-09-24 11:07 AM
Make it easy on yourself and use a standard connector used by the programmer of your choice.
https://www.st.com/en/development-tools/stlink-v3mini.html#documentation
2021-09-24 11:33 AM
So what is it uses ? Like should I connect my pcb mounted MCU with this and thorough this to pc ? If so, what should be it's connection ? How STM32L476RGT6U should be connected to this ?
Please help me a bit more on how to use it ?
Or should I mount this stlink V3 mini on pcb itself with MCU ?
2021-09-24 11:41 AM
The U parts are on ST boards, they are not retail parts.
Perhaps you can review the part Data Sheet, and board schematics, for say NUCLEO, DISCO or EVAL series board, to get some idea what you're doing.
The debug interface mainly needs connectivity of SWDIO and SWCLK pins, the NRST and SWO pins are also very helpful.
>>Or should I mount this stlink V3 mini on pcb itself with MCU ?
Most would use a header connector, and then a cable to the debug pod
2021-09-24 12:20 PM
Put a 14-pin header on your board and connect the signals in the table to the relevant pins on your board. For example, T_SWO is the SWO of the target MCU, which is pin PB3 on your board. T_VCC should connect to the power rail on your board. Note that you will still need to provide the board power.
2021-09-24 12:30 PM
Can you refer to any manual or material which can help me ?
2021-09-24 12:51 PM
2021-09-24 01:11 PM
Data Sheet and related documents can be found here:
https://www.st.com/en/microcontrollers-microprocessors/stm32l476rg.html
https://www.st.com/en/evaluation-tools/nucleo-l476rg.html
https://www.st.com/resource/en/schematic_pack/nucleo_64pins_sch.zip
Perhaps consult with colleagues or supervisor for guidance or training.
2021-09-24 10:36 PM
Sir, thank you. Is it the corresponding diagram for my case? STM32L476RGT6U which is of LQFP64 package. I found it from the document you have sent me. (https://www.st.com/resource/en/schematic_pack/nucleo_64pins_sch.zip)