Forum Discussion
APaci1
Occasional Contributor
7 years agoHello to everyone,
Forgive me if I insist on soliciting your suggestion, but I need to find a solution.
Looking in the forum about this topic, I've found similar problems where getting the status of a hps pin from fpga works well (input mode), while there are problems driving a hps pin from fpga (output mode).
I summarize the operations I have performed:
*) In the top level entity section I listed the signals used as loanIO in hps
*) In platform design I set the mux table of hps as LoanIO the selected pins
*) I exported as conduit the h2f_loan_io group
*) In vhdl code I set to 1 the output pins in the h2f_loan_oe bus.
*) I assigned the desidered value to output bus h2f_loan_in bus
That’s all, but it doesn’t work correctly.
Do I forget something?
Best regards
Giordano Silvestri
AeCTech
Da: Intel Forums <supportreplies@intel.com>
Inviato: mercoledì 16 gennaio 2019 06:48
A: randd@aectech.it
Oggetto: Embedded_guy answered you: I'm in trouble managing by the fpga section some pins connected to the hps section.
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?
<https://forums.intel.com/0050P000008IeFV?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253>
Embedded_guy <https://forums.intel.com/0050P000008IeFV?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253> (Intel)
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?
or reply to this email
Replying to
<https://forums.intel.com/0050P000008Jh7M?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253>
APaci1 <https://forums.intel.com/0050P000008Jh7M?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253> (Customer) asked a question.
<https://forums.intel.com/0D50P00004BM1S2?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253&OpenCommentForEdit=1> Thursday, 10 January 2019 15.47
I'm in trouble managing by the fpga section some pins connected to the hps section.
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).
<https://forums.intel.com/sfc/images/docicons/doctype_txt_48.png?v=210&fromEmail=1>
<https://forums.intel.com/0680P000005jn5i?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253> MyCode.txt
<https://forums.intel.com/sfc/servlet.shepherd/version/download/0680P000005jn5i?asPdf=false&operationContext=CHATTER&fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253> Download (txt)
<https://forums.intel.com/0050P000008IeFV?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253>
Embedded_guy <https://forums.intel.com/0050P000008IeFV?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253> (Intel)
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?
<https://forums.intel.com/0D70P000006BWqp?fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253> Wednesday, 16 January 2019 5.47
You're receiving emails when someone "Comments on my posts."
To change or turn off Forums email, log in <https://forums.intel.com/_ui/core/feeds/notification/ChatterEmailSettings?setupid=CollaborationEmailSettings&fromEmail=1&s1oid=00DU0000000YT3c&s1nid=0DB0P000000U1Hq&s1uid=0050P000008Jh7M&s1ext=0&emkind=chatterCommentNotification&emtm=1547617652253> as 300001930847@intel.com.isvc <mailto:300001930847@intel.com.isvc> .
Are notifications about this post getting annoying? Reply to this email with the word " mute ".
For Privacy and Legal notices, please visit these links: http://www.intel.com/privacy, https://www.intel.com/content/www/us/en/legal/terms-of-use.html.
<https://forums.intel.com/servlet/servlet.ImageServer?id=0150P000006Fyt5&oid=00DU0000000YT3c&fromEmail=1>
<https://forums.intel.com/servlet/eMMetric?fromEmail=1&emoid=00DU0000000YT3c&emnid=0DB0P000000U1Hq&emuid=0050P000008Jh7M&emkind=chatterCommentNotification&emtm=1547617652264&emext=0>