cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone here sincerely verify my schematic and let me know whether it'll work or not?

Prajnyajit
Associate II

Hi,

I'm mounting STM32L476RGT6U on PCB. For that, I have made this schematic. I need some expert suggestions from anyone who has in-depth knowledge of this. I'll use an ST-LINK V2 to debug and upload the program to the MCU on PCB.

0693W00000FAzVFQA1.jpg

11 REPLIES 11
KnarfB
Principal III

Read and compare to

AN4555

Application note

Getting started with STM32L4 Series and STM32L4+ Series

hardware development

hth

KnarfB

That I have already seen and made it referring to that only. Rather, you can give your expert opinion, if any modification is required.

Javier1
Principal

Why do you think it wont work?

The schematic is only half of the information needed here, could you post PCB snapshots?

we dont need to firmware by ourselves, lets talk

Thanks, Javier. I have made this schematic as per best of my knowledge. I'm new to this MCU and STM too. Most of the people are placing MCU with a development board on their PCB, which is why their work is simpler as they don't have to care about MCU detail pinouts. But my work is different as I'm placing only the MCU on my PCB. If a wrong connection happens here, the entire PCB board will not work and become waste; waste of money and effort. That's why I'm seeking expert reviews and suggestions from people like you. If If you agree that everything is correct on this schematic, I'll proceed with the PCB layout.

I have mentioned all the connection-related stuff in the schematic itself. PCB file will be just the total system nothing other than that. I just wanted to verify this MCU part from you all. Anyway, if it's okay and correct I'll post the entire PCB screenshots.

You have changed NRST circuitry. This is usually a "wired or", see ref. I wouldn't use a serial capacitor in the way you did. NRST is an IO pin.

Didn't look into more details.

hth

KnarfB

 0693W00000FB0uCQAT.jpgIt is referred exactly.

When the switch is in its left position, the C is open. When switched right while powered, a potential equalization will suddenly happed. In the above schem. the situation is more static, no switch.

My idea is like the switch will be towards the right (connected to the ground through the capacitor) most of the time, specifically when the device is running and performing normal activities. It will be only towards the left (connected to the MCURST pin of STLINK) when ST-LINK V2 will be connected with MCU for debugging and program uploading. The switching can be done through jumper manually.

Paul1
Lead
  1. Don't like reset circuit. The cap should always be connected. Switch parallel to cap, Personally I add room for an external pullup 10K (you don't have to populate it, but I do). I don't see a good reason to do your Reset different from development PCBs.
  2. VDD Caps: Better to arrange your decoupling Caps and other parts with GND downward. Caps at top with GND up is messy.
  3. PCB Layout of Decoupling Caps and Oscillators is critical. Do those first with minimal length traces. Target 0mm long, yup 0mm, though <10mm will work in most cases.
  4. Suggest separating VDDA/VSSA from VDD/VSS using 0ohm jumpers. That will force you to lay out those traces separately. Even if not critical in this design, it is just good proactice to keep analog and digital separate for future designs.
  5. Route VDD, GND, and all unused signals to a header(s). It sounds like you are making this as a base for several projects, so bringing these signals to accessible points may be useful. If thats not correct then you can ditch the header(s).
  6. Can't see where several signals go (I2C, STLINK, SPI, etc.) so can't evaluate those.
  7. Does LoRa = SPI? Is NSS same as SCC chip select? Didn't check if on correct pin. Useful to show MX setup of IC has matching pin definitions.
  8. Switches: You have switches on BOOT0 and NRST that can leave those pins open when in middle state - DON'T. Put a pullup/pulldown and have the switch pull the signal the other way. i.e. a Pullup with a switch to GND. You don't want your signal floating, even if the switch is only two position and spends little time between. Floating == RF Antenna == Unpredictable behaviour should the switch change slowly or become faulty or be unpopulated. A cheap pullup resistor will avoid all those cases.
  9. *I use STM32L476, order chips now, stock difficult to find during Covid.

Paul

  1.