Jump to content
  • 0

Use MIO to turn on LEDs on board Cora Z7


JBF12

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

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?

Link to comment
Share on other sites

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. 

 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...