Hi TI experts,
Given that EDMA QUEPRI=0x0111 and only McBSP_TX event is routed to TC3.
All other bandwidth associated registers are default valued.
This application is a video recorder with the following combination:
|
Thread priority |
EDMA TC | Task description |
| 0 | TC2 | audio encoder, AAC by ARM |
| 1 | TC2 | video encoder, VPFE to DRAM and H264VENC by HDVICP |
| 2 | TC2 | file writer to SD card by ARM |
| 3 | TC2 |
video analyzer |
First I noticed the recorded audio sounds weird and put McBSP RX to TC3, the audio is right.
If McBSP RX is kept in TC2, the audio is also right by disabling the EDMA in video analyzer.
Following I test the application with a SD card of large cluster, EDMA timeout occurs for SD R/W.
To confirm it is a bandwidth issue,
again I disable the EDMA in video analyzer, luckily no SD card EDMA timeout occurs.
Image is 640x480 in YUV422.
Current EDMA setting is ACNT=1280, BCNT=480, CCNT=1, and ABSYNC.
Actually, only Y is needed by video analyzer.
Please suggest a more efficient EDMA programming to make the whole app right.
Thanks & regards,
Yulin.