Hi, I'm using SPI from Zynq PS (XSPIPS). I'm looking for a C code example in order to use the SPI controller.
Thanks!
Hi, I'm using SPI from Zynq PS (XSPIPS). I'm looking for a C code example in order to use the SPI controller.
Thanks!
You may also want to take a look at the code in the Maxim Santa Fe reference design (MAXREFDES#5) for the MicroZed Board:
http://www.maximintegrated.com/en/design/reference-design-center/system-board/5561.html/tb_tab2
It has code for the PS SPI controller.
I will also mention that, depending on your application, you may want to consider using the AXI Quad SPI controller. It is more flexible than the PS SPI controller if you have the space in your Programmable Logic section.
-Gary
You may also want to take a look at the code in the Maxim Santa Fe reference design (MAXREFDES#5) for the MicroZed Board:
http://www.maximintegrated.com/en/design/reference-design-center/system-board/5561.html/tb_tab2
It has code for the PS SPI controller.
I will also mention that, depending on your application, you may want to consider using the AXI Quad SPI controller. It is more flexible than the PS SPI controller if you have the space in your Programmable Logic section.
-Gary