UART end_of_frame interrupt delay

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User14248
Level 1
Level 1
First like received
Hello team,

I am using XMC4800 for uart communication, controlling a RS485 transceiver.
I use the following function to enable the protocol event and connect to the SR4 in XMC_UART0_CH1.
/* Enabled protocol events */
const uint32_t UART_CONFIG_0_enabled_protocol_events = ((uint32_t)XMC_UART_CH_EVENT_FRAME_FINISHED);
/* Set the service request line for the Data Lost, Baud Rate Generator and UART protocol events */
XMC_USIC_CH_SetInterruptNodePointer(XMC_UART0_CH1, XMC_USIC_CH_INTERRUPT_NODE_POINTER_PROTOCOL, 4U);
/* Enable the UART protocol-specific events (PCR_ASCMode register) */
XMC_UART_CH_EnableEvent(XMC_UART0_CH1, UART_CONFIG_0_enabled_protocol_events);

for the interrupt I use interrupt APP and set as
#define UART1EndOfFrame IRQ_Hdlr_88
.node = (IRQn_Type)88,
.priority = 0,

The baudrate is 57600. The interrupt triggers but there is 60ms comparing the whole uart frame is less then 200 us.
There is no other interrupts besides CPU_CTRL_XMC4_0 with priority 0
Is there a reason for the 60ms delay?
0 Likes
1 Reply
User11773
Level 4
Level 4
First like received First solution authored
Did you get an answer?
IS there any detailed info on using interrupts with FIFOs?
0 Likes