• 0
JBF12

Use MIO to turn on LEDs on board Cora Z7

Question

Hello everyone,

I am trying to control the output of the LEDs of my board with MIO, as shown in this example. The thing is that looking at the schematic of my Cora Z7 board, the LEDs do not appear in  the MIO bank.

Is it at all posssible that the board does not offer the possibility to configure MIO rgb leds as outputs?

Thank you and have a nice day.

 

grafik.png.ba0576eded8f0e6904426dd47e68f12d.png

Edited by JBF12
Change sentence to make the explanation more precise.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

The example project you referenced is for a different manufacturers board (the Blackboard) and they have an rgb led on the mio bank.

The Cora schematic you linked shows the rgb leds are on bank 35 on sheet 8.

 

Share this post


Link to post
Share on other sites
  • 0
9 minutes ago, kwilber said:

The example project you referenced is for a different manufacturers board (the Blackboard) and they have an rgb led on the mio bank.

The Cora schematic you linked shows the rgb leds are on bank 35 on sheet 8.

 

Hello @kwilber, thank you for your answer.

RGB Leds are certainly on bank 35 but they are part of the PL. Does that mean that I have to use EMIO signals in order to control the LEDs  from the PS?

Share this post


Link to post
Share on other sites
  • 0

You can find an example of driving the Cora RGB leds here. The demo has the rgb leds as ports on the top level design and uses simple logic to control them. If you want to control them from the PS, you could use an AXI GPIO block or an AXI PWM block. 

 

Share this post


Link to post
Share on other sites
  • 0
12 minutes ago, kwilber said:

You can find an example of driving the Cora RGB leds here. The demo has the rgb leds as ports on the top level design and uses simple logic to control them. If you want to control them from the PS, you could use an AXI GPIO block or an AXI PWM block. 

 

Hi kwilber.

I am working on a project that uses a hypervisor and I do not use SDK for the software development (I have to write my own drivers). This hypervisor has mapped the GPIO access to the base address 0xE000A000. As AXI GPIO maps the devices at address 0x4120000, I cannot use such blocks and I cannot use pointers to directly write to the registers. This is why I intend to work directly with MIO, whose base address is 0xE000A000.

I think that this page provides some interesting information regarding what I am trying to do.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now