EasyManua.ls Logo

Renesas RL78/G13 - Table of Contents

Renesas RL78/G13
40 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G13 Handshake-based SPI Master Transmission/Reception
R01AN6883EJ0100 Rev.1.00 Page 2 of 38
June.15.23
Contents
1. Specifications .......................................................................................................................... 4
1.1 Outline of CSI Communication ................................................................................................................ 4
1.2 Outline of Communication ....................................................................................................................... 5
1.3 Communication Format ........................................................................................................................... 7
1.4 Handshake .............................................................................................................................................. 7
1.5 Specification Details ................................................................................................................................ 8
2. Operation Confirmation Conditions ........................................................................................ 11
3. Related Application Notes...................................................................................................... 11
4. Hardware Descriptions .......................................................................................................... 12
4.1 Example of Hardware Configuration ..................................................................................................... 12
4.2 List of Pins to be Used .......................................................................................................................... 13
5. Description of the Software .................................................................................................... 14
5.1 List of Option Byte Settings ................................................................................................................... 14
5.2 List of Constants .................................................................................................................................... 14
5.3 List of Variables ..................................................................................................................................... 15
5.4 List of Functions .................................................................................................................................... 16
5.5 Function Specifications ......................................................................................................................... 16
5.6 Flowcharts ............................................................................................................................................. 22
5.6.1 Initialization process ............................................................................................................................ 22
5.6.2 Reset source reading .......................................................................................................................... 22
5.6.3 CPU clock Configuration ..................................................................................................................... 23
5.6.4 Port Configuration ............................................................................................................................... 23
5.6.5 SAU Configuration ............................................................................................................................... 24
5.6.6 CSI00 Configuration ............................................................................................................................ 25
5.6.7 TAU0 Configuration ............................................................................................................................. 26
5.6.8 Flowchart of Main Processing ............................................................................................................. 27
5.6.9 User Main Initialization ........................................................................................................................ 28
5.6.10 TAU0 channel 3 upper 8 bits start operation ....................................................................................... 29
5.6.11 CSI00 start operation .......................................................................................................................... 29
5.6.12 CSI00 Transmit/Receive Processing .................................................................................................. 30
5.6.13 INICSI00 interrupt processing ............................................................................................................. 31
5.6.14 Flowchart of CSI Status Check ........................................................................................................... 32
5.6.15 Flowchart of CSI Transmission/Reception .......................................................................................... 33
5.6.16 Flowchart of CSI Transmission ........................................................................................................... 34
5.6.17 Flowchart of CSI Reception ................................................................................................................. 35
5.6.18 Flowchart of Wait for Slave Response ................................................................................................ 36
6. Sample Code ......................................................................................................................... 37
7. Reference Documents ........................................................................................................... 37

Other manuals for Renesas RL78/G13

Related product manuals