You can easily modify the SlaveFifoSync example to incorporate two additional endpoints.
These would be the required changes:
-- In the cyfxslfifousbdscr.c file, ddition of two endpoint descriptors. Also update the bNumEndpoints field in the Interface descr and also the total length field of the Config descr.
-- In the cyfxslfifosync.c file, look at the CyU3PEpConfig_t structure and change it as per your requirement and configure your two endpoints using the CyU3PSetEpConfig() API.
-- In the cyfxslfifosync.c file, create two additional DMA channels using the CyU3PDmaChannelCreate() API call. Make sure to give unique values to the producer and consumer socket ID's. Sockets cannot be reused across multiple channels.
That sounds as simple as it should be ...
I already thought is something like that, but nice to be sure.
Thanks for the reply.