Connect ME - > SPI interface

Hello, I has a Digi Connect ME and would like a SPI interface. Does someone have experience? Is there an example? Thanks for your assistance!

Common question. I would suggest searching for SPI in this forum.

To answer your question, some people have said that they got bit-banged SPI to work via GPIO, but I was never successful. Because of the preset levels for the GPIO (hard low instead of tri-state), my SPI bus would crash at every ME boot. I was not able to get any decent throughput either. Maybe someone has a better implementation.

In the BSP code there is SPI support. But it is on a per port basis, so maybe you can shut off the serial and implement a hardware SPI on the standard pins since that is the only port exposed. That would take some serious hacking though.

-Erik