Which firmware example you are referring? Please note that you have to register DmaCallback in DMA channel config. You can refer to C:\Users\abga\workspace\UartLpDmaMode firmware example.
Thanks & regards
I am referring USBBulkLoopManual, and I just modify the dmaCfg as:
dmaCfg.cb = mycallback;
and modify the CY_U3P_DMA_TYPE_AUTO into CY_U3P_DMA_TYPE_MANUAL.
then I add my mycallback function that print debug message at first step.
Are there any other steps to registe the callback?
I have solved this problem.
The reason is that I only load the GPIF configuration, but did not initialize the PIB configuration.
But I still don't know why I can work without initializing the PIB in Auto mode, that confuses my judgment.