Sorry, you need to enable JavaScript to visit this website.

ITX Mini LED control through PL

Unsolved
2 posts / 0 new
recotroy's picture
recotroy
Junior(0)
ITX Mini LED control through PL

Hello,
I am trying to control the LEDs in the ITX MIni using PL  only. However, all tutorials and references export the hardware wrapper to the SDK and control the hardware using PS. For my application, it is necessary that I read the value of the switches and write the values to the LEDs using PL only.
I have tried adding the Zynq7 PS IP Core along with the memory and gpio interconnects and the constraints file as well. I am not able to understand how to write my module such that it references the GPIO pins.
A small reference program (maybe reading values from switches and setting them to LEDs) would be very helpful.
Thanks a lot,
Recotroy

npoureh's picture
npoureh
Moderator(2)
Take a look at the "Embedded

Take a look at the "Embedded Standalone OS (Bare-Metal) Reference Design ITX" on our website http://zedboard.org/support/design/2056/17. The peripheral test in this example design shows how the LEDs and switches are accessed.