- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have two input pin as buttons connected to hps and their status are the input to a component in fpga, they work correctly.
The others 3 output pins, connected to hps as leds, are controlled by a component of the fpga managed by a NIOS routine, they doesn't work.
I manage the leds by a custom component programmed by Avalon Memory Mapped Interface,
its output is the status of single led ( off, on, slow blinking, fast blinking and so on)
They stay permanently in ON state, independently to the the status programmed by software.
in the attach, I have extracted the vhdl code of relative to the connection of the leds (not work) and the keys (working).
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What device you are using? CV, A10, etc
Are you using a development-kit or custom board?
I am a bit confused, is the issue how to get the correct pin planning?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thankyou for the reply.
I'm using a CV 5CSEBA4U23 on a custom board.
This issue is to help me to understand how drive a led connected to an hps pin by a fpga's routine.
On Pheripheral_Pin/MuxTable I have set as LOANIO the pins connected to the leds on the hw board.
They are LOANIO40, LOANIO44 and LOANIO53 mapped respectively to PIN_H13, PIN_B12 and PIN_A20.
I should like to know the error of the configuration of the loanIO pin related to the led section.
Thanks in advance
Giordano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How fast is the LED blinking frequency (Controlled by NIOS delay), normally people see the LED on because it is blinking very fast. As long as nothing else is blinking the lED and you see it is always ON, we suspect the Code in NIOS II. How long is the delay?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I believe that led management has created a bit of confusion.
To avoid management problems with the software, I have directly driven the LEDs with a fixed value, some at 1 and the others at 0.
In my code I wrote:
hps_0_h2f_loan_io_out(53) <= '1' ; -- Red
hps_0_h2f_loan_io_out(40) <= '0' ; -- Yellow
hps_0_h2f_loan_io_out(44) <= '1' ; -- Green
Also in this way all the LEDs are on.
I want to know if I can use pins connected to the HPS section both as input and output in LOAN mode.
In my project the pins connected in HPS and used as input in LOAN mode work correctly,
the HPS pins used as output in LOAN mode do not work.
Can you check my code attached?
Is my code for the HPS pin section in LOAN mode written correctly or does it wrong for output pins?
Thankyou in advance, i looking forward your news.
Giordano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
have you any suggestion?
I haven't solve the problem yet!
I should like to know the correct way to use the loan pin of hps section in output mode.
Which is the right code to configure them in output mode?
I looking forward your news!
Best regards
Giordano
AeCTech
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page