This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA821U: Register UART_ EFR2

Genius 13655 points

Part Number: DRA821U

Hello Champs,

Time-out Counter and UART_ EFR2 description is shown in the figure:



question 1:  If UART_EFR2[6](TIMEOUT_BEHAVE) = 1, whether the time-out counter in the figure refers to the values of UART_TIMEOUTL and UART_TIMEOUTH?

question 2:  If UART_EFR2[6](TIMEOUT_BEHAVE) = 0, the time-out period for the UART time-out interrupt is equal to 4x the programmed word length + 12 bits in the figure.

question 3:   Because of the write operation to register UART_EFR2 [6] during UART initialization, it was found that UART crash,

                     So what are the conditions for writing to register UART_EFR2?



Thanks
Regards
Shine

  • 1) Yes, the value is the 16-bit combination of the two fields:

    TIMEOUT_L - Custom timeout period in baud clocks, to override the internal value, when different from 0. [Lower byte of the 16 bit value]
    TIMEOUT_H - Custom timeout period in baud clocks, to override the internal value, when different from 0. [Higher byte of the 16 bit value]

    2) Correct

    3) Please refer to a TI driver for example of the correct programming sequence.