This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART0 driver interrupt priority in BIOSPSP drivers (C6748)

Good day,

My setup is as follow:

- C6748 DSP

- DSP/BIOS 5.42.0.07

- CCS 5.3

- BIOSPSP drivers 1.30.01

I've been noticing that I have been losing incoming bytes on my UART0 channel, using the UART driver from BIOSPSP. When I tested the driver in isolation, I never missed any bytes, but in our main application I noticed that overruns were occurring. On closer inspection I noticed that basically all the peripherals we are using have their interrupts in event combiner 1 (EVT1) of the ECM module, which is mapped to HWI8 in my TCF file. The main peripherals we are using on EVT1 are: I2C0, McASP, UART0, EMIFA. From these peripherals only the McASP and UART0 are heavily used and I suspect the McASP ISR might result in the UART0 ISR not being serviced fast enough.

I can't seem to find an easy way of separating the McASP and UART0 ISRs on different HWIs, at least not with the BIOSPSP drivers, to test my theory. Is there maybe another way to achieve this?

Thanks in advance!

Regards

  Reinier