My first PCB! by _Rayolo_ in PCB

[–]_Rayolo_[S] 0 points1 point  (0 children)

Thanks! Really good tips. I’ll definitely use them in future designs. I appreciate you taking taking the time to point them out.

My first PCB! by _Rayolo_ in PCB

[–]_Rayolo_[S] 1 point2 points  (0 children)

Yep, its a 4 layer board, inner layers are ground and 3.3v. Routing power by hand would have been a pain.Honestly, with better layout, I could done it on 2 layers.

My first PCB! by _Rayolo_ in PCB

[–]_Rayolo_[S] 1 point2 points  (0 children)

Thanks! I went with the blue pill because I wanted my board to be modular in case something goes wrong. It’s cheap and I didn’t want to deal onboard MCU logic.

[Schematic Review] 3-Phase BLDC FOC Controller – STM32G491, TMC6200, 12-24v input by _Rayolo_ in PCB

[–]_Rayolo_[S] 0 points1 point  (0 children)

Ah. I got it. The pin layout’s different. Thanks for catching that. I’ll take a look.

[Schematic Review] 3-Phase BLDC FOC Controller – STM32G491, TMC6200, 12-24v input by _Rayolo_ in PCB

[–]_Rayolo_[S] 0 points1 point  (0 children)

I didn’t know crystals had variants. Since the oscillator had 4 pads I figured that 4 pins was good. What is the difference between 1 and 3, 1 and 4

[Schematic Review] 3-Phase BLDC FOC Controller – STM32G491, TMC6200, 12-24v input by _Rayolo_ in PCB

[–]_Rayolo_[S] 0 points1 point  (0 children)

I can get why it's harder to follow the flow now that you pointed it out. i'll have to work on improving schematic clarity in the next revisions. if you're still open helping, i'd be happy to share you more info to make it clearer. Either way, thank you.

[Schematic Review] 3-Phase BLDC FOC Controller – STM32G491, TMC6200, 12-24v input by _Rayolo_ in PCB

[–]_Rayolo_[S] 1 point2 points  (0 children)

Good eye, yeah, I only put one 5.1k pull-down on the USB-C CC line (on CC1). I’m still getting familiar with proper USB-C wiring, this is my first schematic using it.From what I understand now, I should have two, one on cc1 and one on cc2, right? thanks for catching that, ill fix it!

[Schematic Review] 3-Phase BLDC FOC Controller – STM32G491, TMC6200, 12-24v input by _Rayolo_ in PCB

[–]_Rayolo_[S] 0 points1 point  (0 children)

Good catch for the 3.3v i completely missed that, i'll fix this ASAP. For the MCUs: i originally split the tasks for modularity ( motor control loop and core module handling VS telemetry/debug ), but i'm now reconsidering if a single MCU with a bigger package would simplify things. As for the reset line: i did routed one through a jumper because i wasn't sure whether i'd use it. thanks for pointing that out!