Forum Discussion
Hello ,
Is it possible to access the GPIO functionality through Python? If so, do we need a driver? Do you know where we can get one?
Short answer i can give you is Yes , As of I understood everthing is mapped between the FPGA and HPS and HPS peripherals itself are memory mapped.Hence you can control the GPIO (one of the HPS peripherals of HPS) from FPGA and HPS
About the Python i am not sure about the driver we have it . if you are not finding it in https://rocketboards.org/ , i think you have to create one.
Would it be preferable to implement these buttons using Platform Designer?
It depends , if you are using the FPGA IO it will be easy to use the platform designer. If it is HPS IO you can directly write the use the C app in Linux.
Is there a way to set these buttons up such that, by pressing one, it will run our Python audio player program.
Yes Definitely possible. Just to start with use C app in linux and see how it work and then move to Python might helps.,
Thank you ,
Regards,
Sree