SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
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 12-104).
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 |