Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
771 Views

Bidirectional PIO

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 I
34 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