Papilio enthusiasts Hamster and Offroad put together some nice examples of interfacing with the SPI ADC chip used in the Analog Wing, LogicStart MegaWing, and the RetroCade MegaWing.
Hamster’s example is up on his Hamsterworks Wiki and provides a great writeup with diagram’s, background info, and datasheet links. Full VHDL code is available but you will need to create your own Xilinx ISE project to use it.

Offroads example was posted to the forum and has a ready to run bit file, VHDL source code, and a full ISE project ready to go.
Finally, if you want to use the ZPUino soft process and an easy Arduino library to communicate with these SPI ADC chips then look no further then the latest release of the ZAP IDE. A dead simple to use SPI ADC that works the same way the Arduino Analog library works and examples for the Analog Wing, LogicStart MegaWing, and RetroCade MegaWing are all included. This is hands down the easiest way to communicate with these devices.


Leave a Reply
You must be logged in to post a comment.