FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6387 Discussions

Can't set LoanIO by FPGA ,cycloneVsoc Dev kit

CAlex
New Contributor II
792 Views

Hi,

There is a IDC 2*7 on the board, the pins are HPS pins,here is the schematic

CAlex_0-1705555983754.png

 

CAlex_1-1705556018852.png

 

Most of them are connnected to the HPS Bank7. 

In HPS settings, I set the GPIO 58,59,60 as loanIOs(5,7 & 6 of the J32).

I set the IOs as output of the FPGA, and want to control them in my top layer

CAlex_2-1705556249882.png

HPS setting

CAlex_3-1705556289193.png

Top layer setting

CAlex_6-1705556592744.png

Quartus setting

 

CAlex_4-1705556407094.jpeg

physical connnection(locations are checked correct)

CAlex_5-1705556449197.jpeg

 

Result of the pin, should be test_pulse,which is 0.

 

but no matter how I set them, they can't respond.

The boot method is baremetal SPL boot, I dont know whether it will influence the useage.

 

Reguards

Alex

 

0 Kudos
1 Solution
CAlex
New Contributor II
725 Views

Hi,

thanks for the reply , problem is solved, I sent the 313MHZ signal instead of 313KHZ, the GPIO pin with 3.3 LVTTL std dont have such high bandwidth.

 

When I set to 313KHZ the result is good.

 

Reguards

Alex

View solution in original post

0 Kudos
4 Replies
CAlex
New Contributor II
772 Views

Update:

If you are using the same dev kit and facing the same problem as I do,

please check the following setting: HPS sysmgr reg on LOANIO and GENERALIO settings.

If the J31 jumper is shorted.(So that my pins above can be connected to the HPS board).

 

 

With the old problem solved, a new problem occurred.

 

I set the LOANIO 60 as output and assigned it as a clk output(320KHz), yet through Oscilloscope I got a analog signal, which shocked me.

I changed the duty and the output changed with that, so the code has no problem.

 

But what I want is the digital signal.

 

 

 

0 Kudos
aikeu
Employee
727 Views

Hi CAlex,


May I know if using the same pin as normal GPIO and is triggered by HPS, does it shows a normal digital signal?

Can try to loan with other pin as well to see if the same problem occured.


Thanks.

Regards,

Aik Eu


0 Kudos
CAlex
New Contributor II
726 Views

Hi,

thanks for the reply , problem is solved, I sent the 313MHZ signal instead of 313KHZ, the GPIO pin with 3.3 LVTTL std dont have such high bandwidth.

 

When I set to 313KHZ the result is good.

 

Reguards

Alex

0 Kudos
aikeu
Employee
716 Views

Hi CAlex,


Thanks for your sharing the root cause of your issue. It was helpful as I never thought of that as a cause for signal related issue.

I will close the thread for now.


Thanks again.

Regards,

Aik Eu


0 Kudos
Reply