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

Using GPIO of De1SoC

Hello, 

 

Can i use the GPIO of De1SoC, with the given BSP by terasic? And how to program it through? OpenCL or Host program? 

 

thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
30 Views

You cannot use GPI/O with OpenCL unless the BSP already supports communicating with them in form of an I/O channel, or you yourself add support for it in the BSP. I don't think Terasic's BSP supports the GPI/O on the board; hence, you have no choice but to modify the BSP and add support for it yourself. 

 

This is Altera's document on porting OpenCL BSP for Cyclone V SoCs: 

 

https://www.altera.com/en_us/pdfs/literature/hb/opencl-sdk/ug_aocl_c5soc_devkit_platform.pdf
Altera_Forum
Honored Contributor I
30 Views

Thanks HRZ

Reply