How to optimize PCB design for DRV8320 and STM32G431RBT6TR to minimize vias?

Hey everyone, I'm currently working on a PCB design involving the DRV8320 and the STM32G431RBT6TR. As you can see in the attached images, I'm trying to minimize the number of vias between these two components. Ideally, I'd like to have straight traces with minimal or no vias, maintaining the same orientation of the chips. However, I'm finding it challenging to maintain the necessary functionality, such as BEMF detection with the Virtual Neutral Point and the different comparators for zero-crossing BEMF. I would greatly appreciate any help or suggestions on how to change the pin assignments while keeping the required functionality intact. Your expertise and advice would be invaluable! Thank you in advance! @Helper
attachment 0
attachment 1
attachment 2
33 Replies
Nayel
Nayel2mo ago
here is how it looks with all the data traces
Nayel
Nayel2mo ago
attachment 0
Joseph Ogbonna
Joseph Ogbonna2mo ago
I would say putting a via in the design isn't that much of an issue. Vias helps you navigate your route to reach other points.
Nayel
Nayel2mo ago
Yes you're right but in high power and high speed PCB the vias is a problem because of cross talk and current return
Nayel
Nayel2mo ago
But from what I've seen I can reassign the pins
Nayel
Nayel2mo ago
Because the other pins that share the same specification or already used or too far from the driver
Afuevu
Afuevu2mo ago
@Nayel I would suggest you consider placing the vias properly to form a pattern, also the size of the vias matters, I see from the picture and schematic that the timer 1 is from pin 34 or so, consider rotating the driver anticlockwise
Nayel
Nayel2mo ago
Thanks for the insights!
hemalchevli
hemalchevli2mo ago
hi sorry for the late reply, I was on holiday. First, I think the reset pin is missing a pullup resistor. Before commenting on the vias, I want to know what's your layer stack up? I think at minimum you should use 4 layers. You can check out the reference designs by TI, see how they are doing the layout for the DRV chip. I'd add test points for all signals of interest, especially the gate drive signals.
Nayel
Nayel2mo ago
HI @hemalchevli hanks for the reply and sorry for the delay , So yes it s a 4layer pcb with 2 gnd layer core the first layer is signal and the fourth one is also a signal the thickness of the board is 1.6 I have also added some testpoint but could't fit them all here is the design
Nayel
Nayel2mo ago
No description
Nayel
Nayel2mo ago
this is a testpoint
No description
Nayel
Nayel2mo ago
No description
Nayel
Nayel2mo ago
No description
Want results from more Discord servers?
Add your server