
TXZ Family
Serial Peripheral Interface
2019-02-28 2 / 67 Rev. 3.0
Table of Contents
Preface.................................................................................................................................................................5
Related document.....................................................................................................................................................5
Conventions ............................................................................................................................................................6
Terms and Abbreviation............................................................................................................................................8
Outline...........................................................................................................................................................9
Configuration...............................................................................................................................................14
Operation description..................................................................................................................................16
3.1. Basic operation ................................................................................................................................................16
3.1.1. Clock supply...............................................................................................................................................................16
3.1.2. Initial setting of TSPI...................................................................................................................................................16
3.1.3. Start and stop transfer................................................................................................................................................16
3.2. Data Format.....................................................................................................................................................17
3.2.1. Data Format without Parity.........................................................................................................................................18
3.2.2. Data Format with a Parity...........................................................................................................................................22
3.3. Operation .........................................................................................................................................................26
3.3.1. Transfer clock.............................................................................................................................................................26
3.3.1.1. Master operation ...........................................................................................................................................................26
3.3.1.2. Slave operation .............................................................................................................................................................27
3.3.2. Communication mode.................................................................................................................................................28
3.3.2.1. SPI mode ......................................................................................................................................................................28
3.3.2.2. SIO mode......................................................................................................................................................................29
3.3.2.3. Master / Slave selection ................................................................................................................................................29
3.3.3. Buffer Structure ..........................................................................................................................................................29
3.3.3.1. Data Length and FIFO Operation..................................................................................................................................30
3.3.4. Communication Operation mode................................................................................................................................32
3.3.4.1. Full duplex communication mode..................................................................................................................................32
3.3.4.2. Transmit mode ..............................................................................................................................................................34
3.3.4.3. Receive mode ...............................................................................................................................................................35
3.3.5. Transfer mode............................................................................................................................................................36
3.3.5.1. Single transfer...............................................................................................................................................................36
3.3.5.2. Burst transfer.................................................................................................................................................................36
3.3.5.3. Continuously transfer ....................................................................................................................................................36
3.3.6. Data sampling timing..................................................................................................................................................37
3.3.7. Special control............................................................................................................................................................40
3.3.7.1. Polarity of TSPIxCS0/1/2/3 signal and generation timing ..............................................................................................40
3.3.7.2. Polarity of the Clock ......................................................................................................................................................41
3.3.7.3. TSPIxTXD Output during Idle........................................................................................................................................41
3.3.8. Communication control by trigger...............................................................................................................................43
3.3.9. Interrupt Request........................................................................................................................................................44
3.3.9.1. Transmit Completion Interrupt/Receive Completion Interrupt........................................................................................45
3.3.9.2. Transmit FIFO Interrupt/Receive FIFO Interrupt............................................................................................................45
3.3.9.3. Error Interruption...........................................................................................................................................................45