2021-09-27 05:08 AM
I'm mounting my MCU on PCB. I have done the schematic referring from https://www.st.com/resource/en/datasheet/stm32l476je.pdf . Please help me verify this. My conditions are as follows.
NOTE: Please let me know does VDD USB pin can support 5V DC? If not, then how a program should be uploaded to the MCU?
Solved! Go to Solution.
2021-09-27 05:52 AM
NRST should have a 0.1uF capacitor to ground.
VDDA should be connected to VDD.
BOOT0 should be tied or pulled to to ground.
VDDUSB must be between 3.0 and 3.6V, per the datasheet.
Programs can be uploaded with the SWD debug connection, or by using a supported bootloader peripheral such as USB DFU.
2021-09-27 05:09 AM
2021-09-27 05:52 AM
NRST should have a 0.1uF capacitor to ground.
VDDA should be connected to VDD.
BOOT0 should be tied or pulled to to ground.
VDDUSB must be between 3.0 and 3.6V, per the datasheet.
Programs can be uploaded with the SWD debug connection, or by using a supported bootloader peripheral such as USB DFU.
2021-09-27 06:30 AM
If I connect VDDA/VREF+ to VDD, then what about VSSA/VREF-? Should it be grounded or what?
2021-09-27 06:35 AM
Yes, the analogue supply is used by the clock, PLL and reset circuitry, not just ADC/DAC functionality.
Pull-Down on BOOT0, so you have the ability to drive it high to access the ROM based loader. Tying it to ground forecloses the ability change the pin state, and perform signs-of-life testing on the board/device.
2021-09-27 06:36 AM
2021-09-27 06:49 AM
Thank you TDK for your relentless support.
I have complied as per your suggestions.
NRST has been connected 0.1uF capacitor to the ground.
VDDA is connected to VDD.
BOOT0 is tied to the ground.
Additionally, I have connected VSSA/VREF- to GND.
Is it all right now? If I'm understanding correctly, then VDDUSB will be supplied when USB will be connected right?
2021-09-27 06:55 AM
VDDUSB needs to be supplied a voltage between 3.0V and 3.6V per the datasheet. Your VDD is 3.3V. So tie VDDUSB to VDD. It will not be supplied a voltage when a USB connector is present. Your schematic doesn't have a USB connector, or USB connections at all.
How do you intend to program this board? Recommend putting a standard debug header and connecting relevant pins.
Just a general readability note. Usually in schematics it's better to have multiple GND symbols rather than a net which connects all grounds. It's just easier to trace. Same with power rails like 3.3V.
2021-09-27 07:32 AM
Thank you TDK and Tesla DeLorean. I have modified it and assumes that it will be easier to verify.
Regarding USB, we already have a discussion but can you suggest me again with the pin connection here? Like which pin of this MCU to be connected with pins of a standard USB connector? It will be more clear if you explain it here in reference to the below-modified schematic.
2021-09-27 07:45 AM
Please refer to this diagram, I have mentioned the occupied pins of MCU with Sensor and LoRa as per my application. Can you advise me again with the pin connection here? Like which pin of this MCU is to be connected with pins of a standard USB connector? It will be more clear if you explain it here in reference to the below-modified schematic.