How to transport USB connect status to Application between two tiles
Posted: Wed Aug 09, 2017 2:21 am
Dear guys
In order to indicate USB connect status (active or unactive, insert or not) with LED on front panel. first we should get USB connect status, then transport it to front panel display.
I can get usb status and transport it to front panel, but noise generated when playback audio. what shall we do? would you please help us!
USB runs on tile 0 and front panel runs on tile 1 with xu224 chip. as they runs on different tiles, USB connect status is transported with chanend communication. In order to update connect status at any time, i get usb connected status from while loop in decouple( ), then sent it out with streaming chanend, and receive it on other tile.
by the way, we can not change usb library routine, no way to add channed parameter for chanend communication in UserHostActive( ), so set and get global variable ( g_usb_sync) on the same tile, then send it out.
In order to indicate USB connect status (active or unactive, insert or not) with LED on front panel. first we should get USB connect status, then transport it to front panel display.
I can get usb status and transport it to front panel, but noise generated when playback audio. what shall we do? would you please help us!
USB runs on tile 0 and front panel runs on tile 1 with xu224 chip. as they runs on different tiles, USB connect status is transported with chanend communication. In order to update connect status at any time, i get usb connected status from while loop in decouple( ), then sent it out with streaming chanend, and receive it on other tile.
by the way, we can not change usb library routine, no way to add channed parameter for chanend communication in UserHostActive( ), so set and get global variable ( g_usb_sync) on the same tile, then send it out.