i
Contents
Section 1
1.1
SH7040 Series Overview
.............................................................................
SH7040 Series Overview...................................................................................................
1.1.1
SH7040 Series Features........................................................................................
Block Diagram...................................................................................................................
Pin Arrangement and Pin Functions.................................................................................. 13
1.3.1
Pin Arrangment.....................................................................................................
1.3.2
Pin Arrangement by Mode ...................................................................................
1.3.3
Pin Functions........................................................................................................ 37
The F-ZTAT Version Onboard Programming...................................................................
1
1
1
1.2
1.3
11
13
16
1.4
42
Section 2
2.1
CPU
.....................................................................................................................
Register Configuration.......................................................................................................
2.1.1
General Registers (Rn).........................................................................................
2.1.2
Control Registers.................................................................................................. 46
2.1.3
System Registers...................................................................................................
2.1.4 Initial Values of Registers .................................................................................... 47
Data Formats...................................................................................................................... 48
2.2.1
Data Format in Registers...................................................................................... 48
2.2.2
Data Format in Memory.......................................................................................
2.2.3
Immediate Data Format........................................................................................ 48
Instruction Features ...........................................................................................................
2.3.1
RISC-Type Instruction Set...................................................................................
2.3.2
Addressing Modes................................................................................................ 52
2.3.3
Instruction Format ................................................................................................ 56
Instruction Set by Classification........................................................................................ 59
Processing States ...............................................................................................................
2.5.1
State Transitions...................................................................................................
2.5.2
Power-Down State................................................................................................ 74
45
45
45
47
2.2
48
2.3
49
49
2.4
2.5
72
72
Section 3
3.1
3.2
3.3
Operating Modes
.............................................................................................
Operating Modes, Types, and Selection............................................................................ 77
Explanation of Operating Modes.......................................................................................
Pin Configuration...............................................................................................................
77
78
79
Section 4
4.1
Clock Pulse Generator (CPG)
.....................................................................
Overview............................................................................................................................ 81
4.1.1
Block Diagram...................................................................................................... 81
Oscillator............................................................................................................................ 81
4.2.1
Connecting a Crystal Oscillator............................................................................ 81
81
4.2