TXZ Family
Serial Peripheral Interface
2019-02-28
54 / 67
Rev. 3.0
4.2.4. [TSPIxCR3] (TSPI Control Register 3)
Bit
Bit Symbol
After reset
Type
Function
31:2
-
0
R
Read as "0".
1
TFEMPCLR
0
W
Clears transmit buffer
0: Invalid
1: Clear
By writing "1" to <TFEMPCLR>, the internal pointer of the transmit
FIFO and pointer of transmit shift register are initialized. Since the
contents of the transmit FIFO and transmit shift register are not
affected on the initialization, data remains the previous condition
in which transmit buffer is cleared.
0
RFFLLCLR
0
W
Clears receive buffer
0: Invalid
1: Clear
By writing "1" to <RFFLLCLR>, the internal pointer of the receive
FIFO becomes empty and the internal pointer of receive shift
register is initialized. Since the contents of the transmit FIFO and
transmit shift register are not affected on the initialization, data
remains the previous condition in which transmit buffer is cleared.
4.2.5. [TSPIxBR] (TSPI Baud Rate Register)
Bit
Bit Symbol
After reset
Type
Function
31:8
-
0
R
Read as "0".
7:4
BRCK[3:0]
0000
R/W
Input clock selection for baud rate generator.
0000: ΦT0 0101: ΦT16(1/32 ΦT0)
0001:
ΦT1(1/2 ΦT0) 0110: ΦT32(1/64 ΦT0)
0010: ΦT2(1/4 ΦT0) 0111: ΦT64(1/128 ΦT0)
0011: ΦT4(1/8 ΦT0) 1000: ΦT128(1/256 ΦT0)
0100: ΦT8(1/16 ΦT0) 1001: ΦT256(1/512 ΦT0)
1010 to 1111: Prohibited
3:0
BRS[3:0]
0000
R/W
Sets a division ratio "N" of baud rate generator.
0000:16 0110: 6 1100: 12
0001: 1 0111: 7 1101: 13
0010: 2 1000: 8 1110: 14
0011: 3 1001: 9 1111: 15
0100: 4 1010:10
0101: 5 1011:11