EasyManuals Logo
Home>Renesas>Computer Hardware>RL78/G13

Renesas RL78/G13 Application Note

Renesas RL78/G13
40 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #14 background imageLoading...
Page #14 background image
RL78/G13 Handshake-based SPI Master Transmission/Reception
R01AN6883EJ0100 Rev.1.00 Page 14 of 38
June.15.23
5. Description of the Software
5.1 List of Option Byte Settings
Table 5-1 summarizes the settings of the option bytes.
Table 5-1 Option Byte Settings
5.2 List of Constants
Table 5-2 lists the constants that are used in the sample code.
Table 5-2 Constants Used in the Sample Code
Constant
Name
Definition
location
Setting Value
Description
CS1_pin
r_cg_userdefine.h
P5_bit.no2
Port register to control the
CS1
signal
CS2_pin
r_cg_userdefine.h
P5_bit.no3
Port register to control the
CS2
signal
BUSYIN
r_cg_userdefine.h
P5_bit.no4
Port register to detect the BUSY signal
TX_NUM
r_main.c
32
Number of data characters to be transmitted
RX_NUM
r_main.c
32
Number of data characters to be received
TX_RX_NUM
r_main.c
32
Number of data characters to be
transmitted/received
data_length
r_main.c
1
Data length
MODE[]
r_main.c
*
1
Command format
TX_DATA[]
r_main.c
*
2
Stores 63 characters of transmit data, the
maximum number of characters transferred.
Notes: 1. For details, see Table 1-4.
2. In this application note, ASCII codes from 0x20 to 0x5F are stored.
Address
Setting Value
Description
000C0H
1110 1111B (EFH)
Stops the watchdog timer operation.
(Stops counting after the release of the reset state.)
000C1H
0011 1111B (3FH)
LVD reset mode
Detection Voltage:
On the rising edge: TYP. 1.88 V
On the falling edge: TYP. 1.84 V
000C2H
11101000B (E8H)
HS mode, HOCO: 32 MHz
000C3H
10000101B (85H)
Enables the on-chip debugging function.

Other manuals for Renesas RL78/G13

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G13 and is the answer not in the manual?

Renesas RL78/G13 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G13
CategoryComputer Hardware
LanguageEnglish

Related product manuals