Hi
I am working on Microzed board, I want to control SPI device using PS. Can anyone give me hint how can I start?
Hi
I am working on Microzed board, I want to control SPI device using PS. Can anyone give me hint how can I start?
Hi Vatsalnaik,
To get started you need to enable the SPI1 MIO in your Zynq device, then change it to target the MIO Pins 10-15(PS PMOD Pins). Now that you have your SPI controller setup to target the PS PMOD on the MicroZed you will need to export it to SDK. You will then need to setup the PS SPI Controller in SDK.
For examples on how to do this look in your SDK Folder at : "C:\Xilinx\SDK\2016.2\data\embeddedsw\XilinxProcessorIPLib\drivers\spips_v3_0 for an example".
--Josh
I am able to launch design in SDK and tested SPI self-test example.
I have also done SPI to get values from PMOD and display output using user LED pin 47.
Can you please let me know, no what is the next step to send data to register address using MOSI pin?
Thank you
Hello Vatsalnaik,
We will be posting a reference design for the MicroZed in which we integrate a MAX31855 PMOD through the PS SPI interface in a baremetal design sometime this month. I will respond back when we have it published.
--Josh
Hello Vatsalnaik,
I was given the go ahead to send you an un release reference design that demonstrates the use of the PS SPI controller. Please refer to your private messages.
--Josh
Hi Josh,
Thanks for the help.