Forum Discussion
Altera_Forum
Honored Contributor
9 years agoI'm still not sure what you're trying to do. Are you retrieving data from the flash and wanting to send it out the GPIO? If that's the case, then no, FL_ADDR should still be an output because you're trying to access an address location on the flash. FL_DQ should be an input, as you have it in the new code, to read in data from the selected flash address.
But now you're sending an address and data out the GPIO. Is this your intention? If so, then the only issue with the new code is the direction of FL_ADDR. But you also need additional logic to specify what FL_ADDR should be to access a location in the flash.