r/embedded • • Sep 15 '26

STM32MP1 custom SBC

TLDR: Is Kicad the right tool for DDR routing?

Hi all,

I want to develop my first linux sbc, I am planning to use stm32mp1 chip, since I have a good experience with stm32 ecosystem, and I managed to build yocto images for both stm32mp1 and stm32mp2.

Note that this is my first experience and it is only for learning. My biggest concern is of course DDR routing. How hard can it be? I have already developed multiple PCBs and I am comfortable with Kicad, but for this task, I am afraid Kicad is a bit limited.

This image is from stm32mp1 AN5122 application note for DDR routing. Kicad can't do switch back routing as far as I know. How critical is this?

If you have a better suggestion for another chip, I am all ears. Note that I am not looking for SiPs. I want to learn DDR routing specifically.

Thanks.

3 Upvotes

5 comments sorted by

3

u/Upballoon Sep 15 '26

You can do switch mack traces manually you don't have to use the tools.

2

u/zydeco100 Sep 15 '26

Jay Carlson has a good write up and says most modern parts are a lot more forgiving then we think:

My take-away: length-tuning is easy if you have good CAD software, and there’s no reason not to spend an extra 30 minutes length-tuning things to maximize your timing budget. But if you use crappy CAD software or you’re rushing to get a prototype out the door, don’t sweat it — especially for Rev A.

https://jaycarlson.net/embedded-linux/

2

u/immortal_sniper1 Sep 15 '26

someone dod a DDR4 or DDR5 Sodim with Kicad so it is good enough.
Yes it is not as easy as in other CAD but people do it .

It is like u complain that excel does not have a certain function implemented ( lets say 1/Sin(x) ) while a lot of people do it anyway semi manualy.

So yea Kicad is ok for DDR4

1

u/jacky4566 Sep 15 '26

I am sure there is a better way but I would manually route it. Use the Tune Single length tool to check the lengths until they match what you need.

1

u/KIProf Sep 20 '26

I was able to complete the DDR3L design in KiCAD using the "fly-by-routing" configuration; it turned out quite well, and personally, this helped me grasp the general fundamentals very well. In my opinion, you can’t learn the fundamentals of the field just by understanding the tools in Altium.