3 MEMORY MAP, BUS CONTROL
3-4
EPSON
S1C17704 TECHNICAL MANUAL
3.2.4 Access Control for the Flash Controller
The S1C17704 on-chip Flash memory is accessed via the exclusive Flash controller. A MISC register is used to set
the access condition for the Flash controller.
Setting number of read access cycles for the Flash controller
In order to read data from the Flash memory properly, set the appropriate number of read access cycles
according to the CCLK frequency using the FLCYC[2:0] bits (D[2:0]/MISC_FL register).
0x5320: FLASHC Control Register (MISC_FL)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
FLASHC
Control Register
(MISC_FL)
0x5320
(8 bits)
D7–3
–
reserved
–
–
–
0 when being read.
D2–0
FLCYC[2:0]
FLASHC read access cycle
FLCYC[2:0]
Read cycle
0x3
R/W
0x7–0x5
0x4
0x3
0x2
0x1
0x0
reserved
1 cycles
5 cycles
4 cycles
3 cycles
2 cycles
D[7:3] Reserved
D[2:0]
FLCYC[2:0]: FLASHC Read Access Cycle Setup Bits
Sets the number of read access cycles for the Flash controller.
Table 3.2.4.1 Setting Read Access Cycles for the Flash Controller
FLCYC[2:0]
Number of read access cycles
CCLK frequency
0x7–0x5
Reserved
–
0x4
1 cycles
6 MHz max.
0x3
5 cycles
8.2 MHz max.
0x2
4 cycles
8.2 MHz max.
0x1
3 cycles
8.2 MHz max.
0x0
2 cycles
8.2 MHz max.
(Default: 0x3)
Note
: Be sure to avoid setting a number of read access cycles that exceeds the maximum allowable
CCLK frequency, as it may cause a malfunction.
Summary of Contents for S1C17704
Page 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Page 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...