Pin Configuration; Register Configuration - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

7.2.4

Pin Configuration

The flash memory is controlled by means of the pins shown in table 7.1.
Table 7.1
Flash Memory Pins
Pin Name
Reset
Flash write enable
Mode 0
Port 12
Port 13
Port 14
Transmit data
Receive data
7.2.5

Register Configuration

Table 7.2 shows the registers used to control the flash memory when enabled.
In order for these registers to be accessed, the FLSHE bit must be set to 1 in STCR.
Table 7.2
Flash Memory Registers
Register Name
Flash memory control register 1
Flash memory control register 2
Erase block register 1
Erase block register 2
Serial timer control register
Notes: 1. Lower 16 bits of the address.
2. When the FWE bit in FLMCR1 is not set at 1, writes are disabled.
3. When a high level is input to the FWE pin, the initial value is H'80.
4. When a low level is input to the FWE pin, or if a high level is input and the SWE bit in
FLMCR1 is not set, these registers are initialized to H'00.
5. FLMCR1, FLMCR2, EBR1, and EBR2 are 8-bit registers. Only byte accesses are valid
for these registers, the access requiring 2 states.
Rev. 1.0, 02/00, page 130 of 1141
Abbreviation
I/O
5(6
Input
FWE
Input
MD0
Input
P12
Input
P13
Input
P14
Input
SO1
Output
SI1
Input
Abbreviation
FLMCR1
FLMCR2
*5
EBR1
*5
EBR2
STCR
Function
Reset
Flash program/erase protection by hardware
Sets this LSI operating mode
Sets this LSI operating mode when MD0 = 0
Sets this LSI operating mode when MD0 = 0
Sets this LSI operating mode when MD0 = 0
Serial transmit data output
Serial receive data input
R/W
*5
*2
R/W
*5
*2
R/W
*2
R/W
*2
R/W
R/W
Initial Value
Address
*3
H'00
H'FFF8
*4
H'00
H'FFF9
*4
H'00
H'FFFA
*4
H'00
H'FFFB
H'00
H'FFEE
*1

Advertisement

Table of Contents
loading

Table of Contents