Other Parts Discussed in Thread: SYSBIOS
Hello.
I currently have a project of C5000 Connected Audio Framework running on TMDXEVMC 5515, but have the following problems and can you tell me the solution?
1.Download to TMDXEVMC5515 and run the project "CSL_USB_IsoFullSpeedExample_Out"
2.Connect TMDXEVMC5515 and PC, and identify as USB product in PC
3.Input audio to EVM's STEREO IN 1 and start recording on the PC
4.Stop recording on the PC while audio playing back to the EVM
5.Make the sound of EVM's STEREO IN 1 silence
6.When recording is started again on the PC, at the beginning, a few packets of residual sound when the previous recording is stopped playback ←It's the probrem!
I would like to clear the remaining sounds when the previous recording stops by the time I start recording again.
Running FLUSH FIFO with the following code at line 560 of app_usbac.c did not fix the problem.
volatile Uint16 tmpVal;
tmpVal = usbRegisters->EPCSR[0].PERI_TXCSR;
tmpVal |= CSL_USB_PERI_TXCSR_FLUSHFIFO_MASK;
tmpVal &= ~(0x3);
usbRegisters->EPCSR[0].PERI_TXCSR = tmpVal;
usbRegisters->EPCSR[0].PERI_TXCSR = tmpVal;
Is there any good solution?
Regards,
U-SK