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
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