SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
In this section is described configuration and settings of FIFO trigger level, which enable DMA and interrupt generation.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure register submode TCR_TLR | see Table 12-479 | 0x- |
Set the desire RX FIFO trigger level | UART_FCR[5-4] TX_FIFO_TRIG | 0x- |
Set the desire TX FIFO trigger level | UART_FCR[7-6] RX_FIFO_TRIG | 0x- |
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure register submode TCR_TLR | see Table 12-479 | 0x- |
Set the desire RX FIFO trigger level | UART_TLR[7-4] RX_FIFO_TRIG_DMA | 0x- |
Set the desire TX FIFO trigger level | UART_TLR[3-0] TX_FIFO_TRIG_DMA | 0x- |
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure register submode TCR_TLR | see Table 12-479 | 0x- |
Set the register bit | UART_SCR[7] RX_TRIG_GRANU1 | 1 |
Set the desire RX FIFO trigger level | UART_TLR[7-4] RX_FIFO_TRIG_DMA | 0x- |
UART_FCR[7-6] RX_FIFO_TRIG | ||
Set the register bit | UART_SCR[6] TX_TRIG_GRANU1 | 1 |
Set the desire TX FIFO trigger level | UART_TLR[3-0] TX_FIFO_TRIG_DMA | 0x- |
UART_FCR[5-4] TX_FIFO_TRIG |