wuxx / pico-lab

Apache License 2.0
14 stars 2 forks source link

Pinout not PMOD compatible #3

Closed riktw closed 2 years ago

riktw commented 2 years ago

Hi.

I was missing a nice overview of a pinout, so I made one: https://imgur.com/a/bQP8HdM To my surprise, the pins do not follow the PMOD pinout. SPI is all over the place so the OLED PMOD board I got does not work.

Could you confirm that this is indeed the pinout? And is there a reason it is not PMOD compatible?

wuxx commented 2 years ago

hello, just notice a typo problem image

wuxx commented 2 years ago

and when I design the board, I think all IOs are configurable since we have the PIO, just like FPGA IOs, so if you use PIO with the IOs, it should be no problem, and another reason of the pinout sequence is that I wan't use it with the PMOD-HDMI, so the pins must follow a specific sequence (for example: IO-0 and IO-1 should be a differential pair)

image https://github.com/wuxx/icesugar/blob/master/schematic/pmod_hdmi-v1.1.pdf

riktw commented 2 years ago

Ah thanks for the explanation. I am planning to use Nuttx which does not support PIO used as SPI at the moment. If you want, I can upload the pinout diagram source file?

wuxx commented 2 years ago

sure, thank you very much :)

riktw commented 2 years ago

It should be included, with the 3V3 changed to 5V. Feel free to use the pinout in the repository as you see fit. As my issue was answered, I will close the ticket, thanks for the explanation again!

Pinout_rpi

wuxx commented 2 years ago

OK, will be merged in the repo, thanks :)