TXZ Family
Serial Peripheral Interface
2019-02-28
48 / 67
Rev. 3.0
Registers
4.1. Register List
The following table lists the control registers and addresses.
Peripheral
Function
name
Channel/Unit
Base address
TYPE1
TYPE2
TYPE3
Serial Peripheral Interface
TSPI
ch0
0x40098000
0x400CA000
0x4006A000
ch1
0x40099000
0x400CA400
0x4006A400
ch2
0x4009A000
0x400CA800
0x4006A800
ch3
0x4009B000
0x400CAC00
0x4006AC00
ch4
0x4009C000
0x400CB000
0x4006B000
ch5
0x4009D000
0x400CB400
0x4006B400
ch6
0x4009E000
0x400CB800
0x4006B800
ch7
0x4009F000
0x400CBC00
0x4006BC00
ch8
0x40096000
0x400CC000
0x4006C000
ch9
0x40097000
0x400CC400
0x4006C400
ch10
-
0x400CC800
0x4006C800
ch11
-
0x400CCC00
0x4006CC00
Note: The channel/unit and base address type are different by products. Please refer to "Product
Information" of the reference manual for the details.
Register name (x= Channel number)
Address(Base+)
TSPI Control Register 0
[TSPIxCR0]
0x0000
TSPI Control Register 1
[TSPIxCR1]
0x0004
TSPI Control Register 2
[TSPIxCR2]
0x0008
TSPI Control Register 3
[TSPIxCR3]
0x000C
TSPI Baud Rate Register
[TSPIxBR]
0x0010
TSPI Format Control Register 0
[TSPIxFMTR0]
0x0014
TSPI Format Control Register 1
[TSPIxFMTR1]
0x0018
TSPI Data Register
[TSPIxDR]
0x0100
TSPI Status Register
[TSPIxSR]
0x0200
TSPI Error Flag Register
[TSPIxERR]
0x0204
Note: Registers except
[TSPIxCR0]
<SWRST>,
[TSPIxCR1]
<TRXE>,
[TSPIxDR]
and
[TSPIxSR]
cannot be set when
[TSPIxSR]
<TSPISUE> is "1".