Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Bidirectional PIO

Altera_Forum
Honored Contributor II
859 Views

Hai all, 

I am using cyclone IV fpga for my project and i am using a custom made development board .In that i have configured 16 number of pins as bidirectional PIO's.These pins i have not pulled up externally to Vcc.If i configure the PIO's as output only and try to output to these PIO's then the voltage level of these pins are at 2.5V.If i configure them to bidirectional and make the direction as output in the PIO register ,then try to output a value,the voltage level of these pins are stuck at 1.2V .What can be the reason for this? Why the voltage level drops to 1.2V from 2.5V? How to rectilfy this? 

 

Thanks in advance.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
122 Views

Indeed, that's not right. Setting the PIO as an output and setting it high and low should behave as you expect. 

 

Is the PIO part of a Nios core? How is it instantiated in your code - or is your Qsys module the top level of your design? 

 

If instantiated, check you've not connected your exported PIO connection to an input signal at your top level. Pins configured as input signals can sometimes float mid-rail. 

 

If your Qsys module is the top level then perhaps you're not controlling the PIO module from your software correctly. 

 

I think (hope) this should be fairly straightforward to track down. 

 

Cheers, 

Alex
Reply