Tried example 3 in AN56377 but no data is sent. I attach the project. I use the CyConsole to test. If I change to Manual (Static Allocation) or DMA (Manual Buffer Management), it works when changing to a pointer instead of using NULL in USBFS_LoadInEP(EP1, USBFS_NULL, sizeof(EP1_RAM)). Also, the Streamer application AN56377 is pointing to does not appear to work either, shows success even when no data is sent.
USBTest.zip 2.7 MB
I am also observing that the generated CDC API by PSoC Creator does not work when activating DMA(Automatic Buffer Management).
It seems like the API can be patched easily. Basically:
- do _LoadInEP(epNumber, NULL, length); after _LoadInEP(epNumber, pData, length);
- do _EnableOutEP(epNumber); after _ReadOutEP(epNumber, pData, length);