Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI'm not 100% but I think this behaviour is pretty normal.
PIO status is 'low' at reset and then it is controlled by an Avalon MM master (usually Nios), so it will not reach the required 'high' until the master has completed the reset sequence (in the Nios case, until it has reached the set-PIO-bits instruction) I can't remember if Qsys lets you to specify a reset pio status. If not you can use one of these workarounds: - if this is a bidir PIO, initialize it as 'all inputs', then set each pin function in software. after it has been assigned a known state - tristate the fpga pins driven by PIO with a master_pio_enable signal, so you drive the opto isolators only when you are sure everything inside fpga has started