18.3.6 UARTx Timing Parameter A Register
- The WIP bit is relevant when the UART clock differs from the CPU clock. This bit indicates whether the UART and CPU clocks are synchronized for writes to the parameter registers.
- To write to P2 without affecting P1, use UxPAbits.P2 = value. Writing to the entire UxPA register overwrites P1, potentially causes unexpected behavior in LIN and Address Detect modes. When accessing through pointers, ensure a 16-bit pointer targeting P2's base address for writing.
Symbol | Description | Symbol | Description | Symbol | Description |
---|---|---|---|---|---|
R | Readable bit | HC | Cleared by Hardware | (Gray cell) | Unimplemented |
W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
C | Write to clear | S | Software settable bit | x | Channel number |
Name: | UxPA |
Offset: | 0x1714, 0x1754, 0x1794 |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
WIP | P2[8] | ||||||||
Access | R/W | R/W | |||||||
Reset | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
P2[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
P1[8] | |||||||||
Access | R/W | ||||||||
Reset | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
P1[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 31 – WIP UxPA Write in Progress bit(1)
Value | Description |
---|---|
1 | Write still in progress (user should not update the UxPA register) |
0 | No write in progress (user can update the UxPA register) |
Bits 24:16 – P2[8:0] Parameter 2 bits(2)
DMX RX:
The First Byte Number to Receive – 1, not including start code (bits[8:0]).
LIN Responder TX:
Number of bytes to transmit (bits[7:0]).
Asynchronous RX with Address Detect:
ADDR to match (bits[7:0]).
Smart Card Mode:
Block Time Counter (BTC) bits. This counter is operated on the bit clock whose period is always equal to one ETU (bits[8:0]).
Other Modes:
Not used
Bits 8:0 – P1[8:0] Parameter 1 bits
DMX TX:
Number of bytes to transmit – 1 (not including Start code).
LIN Commander TX:
PID to transmit (bits[5:0]).
Asynchronous TX with Address Detect:
Address to transmit. A ‘1
’ is automatically
inserted into bit 8 (bits[7:0]).
Smart Card Mode:
Guard Time Counter bits. This counter is operated on the bit clock whose period is always equal to one ETU (bits[8:0]).
Other Modes:
Not used.