11-03-2016 12:29 AM
Hi,
I am using Vivado 2014.4 and Zedboard. I am facing one problem. Till Vivado 2014.2 it was possible to change the direction of PS GPIO MIO pins i.e we could make them in or out. But in Vivado this option is not there i.e they are fixed at inout setting. I am following one design in which some pins PS GPIO MIO has been made either in or out but not inpout. I am trying to replicate this design in VIVADO 2014.4 but when i am trying to make particular PS GPIO MIO in or out ,i am not able to do this is PS configuration window.
Please tell me the solution.
Regards
Aditya
11-09-2016 01:47 PM
PS MIO GPIO direction is controlled in software. Look at the gpiops driver examples in the SDK installation directory.
11-15-2016 10:14 PM
11-16-2016 05:55 AM
@muzaffer: what version of Vivado are you referring to? I checked back to 2015.2 and there the MIO GPIO are configured as inout with the options being pullup and speed. This is the same as in 2016.3. If a different GPIO configuration is desired in the FSBL, then those changes need to be made in the FSBL code. A reasonable place to put this code would in FsblHookFallback.
11-16-2016 06:55 AM
@glena as the other poster mentions above 2014.2 had a way to set the direction (and potentially even the default value) in the PS7 configuration. As the hardware export is used to generate FSBL, I don't understand why we have to manually modify the FSBL code instead of changing the default in Vivado and have the FSBL generated properly, automatically.
11-17-2016 07:29 AM
I checked this in 2014.2 and have filed a CR to bring the GPIO MIO selection back to Vivado