SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
Register access depends on the register access mode, although register access modes are not correlated to functional mode selection. Three different modes are available:
Operational mode is the selected mode when the function is active; serial data transfer can be performed in this mode.
Configuration mode A and configuration mode B are used during module initialization steps. These modes enable access to configuration registers, which are hidden in the operational mode. The modes are used when the module is inactive (no serial data transfer processed) and only for initialization or reconfiguration of the module.
The value of the UART_LCR register determines the register access mode (see Table 13-82).
Mode | Condition |
---|---|
Configuration mode A | UART_LCR[7] = 0x1 and UART_LCR[7-0] != 0xBF |
Configuration mode B | UART_LCR[7] = 0x1 and UART_LCR[7-0] = 0xBF |
Operational mode | UART_LCR[7] = 0x0 |