My program is based on TI RTD sensor (TIDA-00851_Firmware) - only minor changes. The temperature reading is working fine and the only problem is with UART communication.
RS232 signals (RX and TX) from PC are connected to pins 34 and 35 of the PGA900 chip.
PGA setting:
UART_EN bit UART_ENABLE_BIT is ON
PIN_MUX bit UART_SEL is ON
UART_INTERRUPT_ENABLE bit UART_RXRDY_INT_EN is ON
Communication parameters are set correctly as the data transmission in both direction is OK.
After receiving one character on UART:
UART_LINE_STATUS bit RX_READY is changed to ON
UART_INTERRUPT_STATUS bit UART_RXRDY_I is changed to ON
but the interrupt function UART_Handler(void)' is not triggered
I can read the character which was send using 'UART_RxBuf[0] = UART_RX_BUF;'
in the main loop after detecting 'UART_INTERRUPT_STATUS & UART_RXRDY_I'.
After this the RX_READY bit in UART_LINE_STATUS is cleared and I am clearing bit UART_RXRDY_I in UART_INTERRUPT_STATUS (writing 1).
I reviewed the setting and status all possible registers and cannot receive characters using the UART_Handler.