Good day experts,
I was hoping you could provide me with some advice with regards to using the EDMA3 together with the UART on the C6748.
We are currently connecting a C6748 DSP to a C66x DSP through the UART peripheral. These DSPs will be located on the same PCB and will be directly connected and therefore it is not necessary for RS-232 level conversion. Consequently we can use much higher baud rates ( > 460800 bps) as we will not be limited by typical PC-based port expanders.
I have implemented our current C6748 UART driver from scratch to meet our high performance demands. Currently the UART receive is interrupt based to ensure that no bytes are missed during reception. I am using the UART FIFO, which triggers an interrupt if more than 8 unread bytes are in the FIFO or a timeout occurs (when less than 8 unread bytes are in the FIFO).
Since we have more control over the UART transmission, I have placed this in a DSP/BIOS task, which can execute when no other higher priority tasks are executing.
This model works very well for our current situation, but for the new configuration with the two DSPs connected via UART at much higher data rates, we foresee that the UART receive interrupt rate on the C6748 will be much higher and consequently reduce the performance of the system because too much time would be spent on servicing the frequent interrupts.
My question is thus: would we gain much by using EDMA for the C6748 UART driver?
I can remember I used the C6748 BIOSPSP drivers a couple of years ago with EDMA and it simply did not meet our performance requirements and we frequently lost received bytes on continuous data transfers.
Thanks in advance for your assistance.