UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer dbircsak
Observer
2,514 Views
Registered: ‎06-13-2016

ZC706 and User LEDs example?

Hello, I'm trying to get a User LED to blink on my ZC706 board.

 

I can see them blink in the zc706_bist example, but trying to duplicate it myself... no luck.

 

This is what I have:

zc706_led.JPG

I'm trying to get one of these to blink:

 

zc706_led_detail.JPG

 

Once I add the Zync IP and AXI GPIO IP and select led_4bits... what else do I need to do?

 

This is the code I am using in SDK: xgpiops_polled_example.c

 

In this code I see the all important part where the pick the pin:

 

case XPLAT_ZYNQ:
Input_Pin = 14;
Output_Pin = 10;
break;

 

Where on earth do they get the number 10 from? What does GPIO_LED_LEFT mean? Is this a #define somewhere?

 

Thanks for the help!

0 Kudos
2 Replies
Observer dbircsak
Observer
2,482 Views
Registered: ‎06-13-2016

Re: ZC706 and User LEDs example?

I think I figured it out. I can't use GpioPs, I need to use Gpio. This only occurred to me because on the board it says "PL GPIO LEDS" Doh!

0 Kudos
Xilinx Employee
Xilinx Employee
2,321 Views
Registered: ‎10-11-2011

Re: ZC706 and User LEDs example?

I know it's old but this should help ...

https://www.xilinx.com/support/answers/51786.html Zynq-7000 Example Design - Flashes MIO GPIO LEDs, EMIO GPIO LEDs and AXI GPIO LEDs on the ZC702.

 

Similar thing for ZC706.

0 Kudos