joshajohnson / ecp5-mini

ECP5 FPGA in an "S7 Mini" form factor
Other
75 stars 11 forks source link

r0.1 errata #1

Closed joshajohnson closed 3 years ago

joshajohnson commented 4 years ago

This issue will document any errata / areas for improvement for future versions.

Note: HyperRAM and SD card are yet to be validated, issues list may grow once they are brought up.

Errata:

Improvements:

TODO:

joshajohnson commented 3 years ago

Expanding on the pinout errata, there are two main areas for improvement. Please note I'm not an ECP5 expert (far from it!) so there may be some inaccuracies in the below.

Diff pair pinout is not compatible with the de-facto PMOD standard.

The de-facto standard for diff pairs over a PMOD connector is +/- on 1/7, 2/8 etc. example Ports A -> D on the ECP5 Mini have the diff pairs the other way around, so may cause issues. If you are designing the ECP5 Mini into a custom board, or using single ended IO, this is not a problem.

C/D Pairs are used for IO on Left and Right Sides

Per the lattice IO Guide (pages 6, 10), there are up to two sets of diff pairs per IO block on the left and right sides of the ECP5. The A/B pair contain true LVDS drivers, whereas the C/D pair do not. If possible we should break out A/B pairs instead of C/D pairs, as they have greater functionality. Note the top / bottom sides do not have LVDS drivers on any pins, so we should aim to have dedicated PMODs with the LVDS pairs run to them, leaving other PMODSs with the lesser featured IO. If you are not taking advantage of the LVDS drivers, this is not a problem.

giggiu16 commented 3 years ago

Hi @joshajohnson! When do you think the rev 0.2 will be finished? I really would like to try to assemble the board, as my first BGA assembly test 😃.

Thank you for your good work!

joshajohnson commented 3 years ago

Hey @giggiu16!

I'm hoping to finish layout in the next day or two, but I won't have time to assemble / validate the changes / update the constraints file etc for a few months (I'm not guaranteeing anything before March - April, but I'll do my best to get around to it earlier).

In saying this, all of the IO changes are low risk as they are just changing the pinouts, and aside from the hyperram moving to 1v8 there were not too many changes to the core of the board, so should be fairly low risk.

I'll ping you here once it's done so you can kick off the assembly :)

giggiu16 commented 3 years ago

Thank you @joshajohnson and thank you again for your good work. I will try my best to assemble the r0.2 and test out the other untested things :)

joshajohnson commented 3 years ago

Hey @giggiu16, 0.2 should be ready to order, files are in hardware/0.2/outputs. I've just ordered mine to fingers crossed they work...

Feel free to fire away with any questions / issues / PRs etc, interested to hear how you go!