Custom "MESA 7c81 Clone" PCB featuring a Raspberry Pi Compute Module 5

More
1 year 7 months ago #323557 by jst
I'm also designed a mesa clone for a Raspberry Pi, currently in the process of testing everything.
Except for the reversed Sserial Pinout it looks like I got everything right.
You can take a look at my schematic for reference: github.com/jstjst/stmbl-fpga-master/blob...tmbl-fpga-master.pdf
Be careful the SPI In Out labels in the 7c81 schematic are reversed compared to the ucf file. Luckily I could fix that in the ucf file.
I routed some signals under the fpga, I see no problem with it. But try to have no completely hidden tracks so you can fix them if you got some connections wrong. In my opinion one of the more important things is the placement of the decoupling caps.

There are some pitfalls with the whole (fpga) programming (especially when using the Ethernet host interface). But with some reading through the forum I got everything pieced together, including recompiling mesaflash and linuxcnc. So it is totally doable (for reference, this is my first deep dive into linuxcnc and mesa/hostmot2, only used the RPi GPIO interface before, didn't use/own a mesa card).

Big thanks to Peter for providing the schematics and all the information that is on the forum!
The following user(s) said Thank You: DSS, Niklas

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago - 1 year 7 months ago #323559 by Niklas
Thank you guys for the interest and the suggestions! I will try to respond to a few of them here:

"I have occasionally thought that there should be a niche for a similar board, but with on-board stepper drivers (Trinamic or some other serially-controlled driver)
That would, of course, need a dedicated HAL driver, but those can be surprisingly straightforward."


I was actually planing on designing a seperate IO Board featuring the Trinamic 5160 Drivers, as they would allow me to run high current stepper motors. They come with UART and SPI interface functionality but I haven't really seen an advantage in interfacing them serially. Maybe someone has a good argument as to why it would be worth it to go through the integration troubles?

"I like having the boards seperate, just in case my butter fingers cause one the voltage translation chips to blow a smoke valve and damage the PCB."


That was my thought process as well. I'm a little hesitant to put everything on one big PCB, as i feel like that would make errors more catastrophic. I also like the modularity of having seperate PCBs, especially in these early prototyping stages. I did actually bring the JTAG out, but realize that better labeling was neccesary, which I've since added.

"I am liking the look of this board. Did you do this in easyeda?
Suggestion, add the rpi 40pin header. Aside from being able to add stuff rpi side, I find it valuable for debugging the MCU/FPGA side of the board using a regular rpi without having to keep removing a cm module and you can use it as a backup incase you damage the 100pin hirose connectors or theres another RPi/chip shortage"


Yes, I did do this in EasyEDA. I started the project with EasyEDA becuase I foud the integration with the JLCPCB services appealing.
Including the 40pin Header is a great idea, which I will definitly add. Unfortunatly that will require major rerouting. Before rerouting everything I will continue collecting and thinking about additions/optimizations. That way I'll hopefully save money on design itereations.


I'd love to here if you guys have any other sugestions. The design philosophy behind this board is to make it the Compute Module 5 version of the Mesa Electronics 7c81, and I will probably finish this project making exactly that but I'm also open to brainstorming other ideas for potential future projects.

Thank you everybody!
Last edit: 1 year 7 months ago by Niklas. Reason: Quotation troubles

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #323562 by cakeslob
The serial steppers are nice because they are easy to setup and they are also very quiet. I dont know if there is an fpga firmware for it thought. The SPI ones, someone has done a custom firmware to work with those.

What is W13 doing? Is it just for swapping between the usb or the green connector?
Consider adding a jumper that can disconnect power to the FPGA or separate the 5v rail between FPGA and RPi5. I found it convenient having a separate jumper for that, incase you needed to either separate the power between the 2, or if you need to reset the MCU/FPGA, you dont need to turn off the RPi

When you are done will you post the design on that easyeda website so I can clone it to modify it? Im also hesitant about a 1 board thing, but I wanted to make something with a swappable MCU/FPGA , and the formfactor looks pretty decent sized.
The following user(s) said Thank You: Niklas

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #323583 by unknown
Funny thing is, the Mesa 7c81 and a stacked RPi look like a more compact solution.

NVME would be nice, the RPi5 with a NVME drive is blazingly fast.


Did you stick with the Mesa fpga pin to 7c81 layout ? Or did you change it to make routing easier ?

If you change things around, especially the clock signal, the SPI_CLK for comms is a little tricky to work out to begin with.

Sorry don't mean to add feature creep, man I wish I could design a simple board for the KSZ8851 Ethernet chip for my mesa clone thingy. So hats off to you Old Chap.

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.115 seconds
Powered by Kunena Forum