we are using a double UART SC16IS752/SC16IS762 chip on the SPI2 bus mounted on a IESM card.
We use an external interrupt with a low level handler. When the interrupt is generated,
we use the “adl_msgSend” to signal the interrupt to an appication task to perform the reading
of the interrupt identification register and do the necessary work subsequently the interrupt event.
The things work well on low level of incoming data, but on higher levels of incoming data
we get very often an overrun error and we loose some data.
In this case we need to reset the chip to continue normal serial in/out operation.
Normally in other environment systems the interrupt identification register reading
is performed directly in the interrupt event handler, but in OpenAt RTOS this is not possible.
We tried to put the application task where we read the interrupt register as high as possible in the task priorities levels
(at least at level 0), but thinghs do not change very much.
We’ll appreciate some help from anyone with some expirence on this matter,
thanks to everybody!