Hi Fabio,
OS: i-Tron base
Re-init procedure:
HW_UART_UCR1_CLR(instance,BM_UART_UCR1_RRDYEN); // disable UART RX interrupt
uart_init( instance, baudrate, PARITY_NONE, stopbits, EIGHTBITS, FLOWCTRL_OFF );
uart_set_FIFO_mode( instance, RX_FIFO, 1, IRQ_MODE );
Without the 1st step, disabling RX int, the re-init does not work fine.
Without disabling rx int, interrupt seems to occur repeatedly after the re-init.
the uart_init() function came from your SDK.
BR,
Miyamoto