Hi,
I'm interested to run the ECU from VoLIB 2.0 in real time on multiple channels (70, to be exact). Right now I'm using the TMS320C6657, but we'll use the C6746 for our future custom boards.
For data reception, I'm using the McBSP + DMA. Running the data received in real time through ECU, I successfully canceled echo from one end of the telephone line (1 channel). Now I need to expand this.
I have some questions regarding the ECU:
Which modifications are necessary to run the ECU on multiple channels? In the "ecusimfunc.c", line 806, I see "ecuSim->num_channel = 1; ". I changed this value but I didn't see any alterations. When debbuging, inspecting the function "siu.c", line 129, I see that "SIU_MAX_CHANNELS" is set to 1. Does this value need to be modified too?
When I ran the code in real time, I noticed that while processing the data in the ECU, I received 30 RX events from the McBSP (the frame sync is 8kHz, 125us). This means that the code is taking around 3,75ms to run. This is way too much time and it'll be impossible to run more than 2 channels at once (given that the ECU works with 10ms frames). I'm using only the ".c" codes from the ECU project.
I assume that the CCS test project that comes with the ECU is alredy optmized. So, what do I need to do to reach a better perfomance? Every buffer is allocated in the L2SRAM.
Thank you in advance,
Regards,
Leonardo Batista