Finally I got it work. It turns out the PCLK signal problem. I just change a way to connect PCLK between sensor and FX3
However I can't tell the different of PCLK between two connection ways on oscilloscope.
By the way, during the debugging I add debug message in: uvc.c function CyFxUvcApplnDmaCallback()
which will result in system crash.
1 of 1 people found this helpful
You are not commended to add Debug Prints in the DMA Callback for every buffer. It adds too much overhead. DMA Callbacks ger triggered more quickly than debug data is sent over UART,
So, if you want to print statistics of buffers, you do it at certain intervals (for example, print after every20 buffers or print at the last buffer of the frame (short buffer) .
- Madhu Sudhan