
viii
3.12 Clock Generation Control ............................................................................................................... 103
3.12.1 PLL Controls .............................................................................................................................. 104
3.12.2 Oscillation Stabilization Wait Time and PLL Lock Wait Time .................................................... 105
3.12.3 Clock Distribution ....................................................................................................................... 106
3.12.4 Clock Division ............................................................................................................................ 108
3.12.5 Block Diagram of Clock Generation Controller .......................................................................... 109
3.12.6 Register of Clock Generation Controller .................................................................................... 110
3.12.7 Peripheral Circuits of Clock Controller ....................................................................................... 125
3.12.8 Smooth Startup and Stop of Clock ............................................................................................ 128
3.13 Device State Control ....................................................................................................................... 131
3.13.1 Device States and State Transitions ......................................................................................... 133
3.13.2 Low-power Modes ..................................................................................................................... 136
3.14 Operating Modes ............................................................................................................................ 140
CHAPTER 4 EXTERNAL BUS INTERFACE ................................................................ 143
4.1 Overview of the External Bus Interface .......................................................................................... 144
4.2 External Bus Interface Registers .................................................................................................... 149
4.2.1 Area Select Registers 0 to 7(ASR0 to ASR7) ............................................................................ 150
4.2.2 Area Configuration Registers 0 to 7 (ACR0 to ACR7) ............................................................... 152
4.2.3 Area Wait Register (AWR0 to AWR7) ....................................................................................... 158
4.2.4 Memory setting register (MCRA for SDRAM/FCRAM auto-precharge OFF mode) ................... 167
4.2.5 Memory setting register (MCRB for FCRAM auto-precharge ON mode) .................................. 169
4.2.6 I/O Wait Registers for DMAC (IOWR0, IOWR1) ........................................................................ 170
4.2.7 Chip Select Enable Register (CSER) ........................................................................................ 172
4.2.8 Cache Enable Register (CHER) ................................................................................................ 174
4.2.9 Pin/Timing Control Register (TCR) ............................................................................................ 175
4.2.10 Refresh Control Register (RCR) ................................................................................................ 177
4.3 Setting Example of the Chip Select Area ........................................................................................ 181
4.4 Endian and Bus Access .................................................................................................................. 182
4.4.1 Big Endian Bus Access ............................................................................................................. 184
4.4.2 Little Endian Bus Access ........................................................................................................... 191
4.4.3 Comparison of Big Endian and Little Endian External Access .................................................. 196
4.5 Operation of the Ordinary Bus Interface ......................................................................................... 202
4.5.1 Basic Timing .............................................................................................................................. 203
4.5.2 Operation of WRn + Byte Control Type ..................................................................................... 204
4.5.3 Read -> Write Operation ............................................................................................................ 206
4.5.4 Write -> Write Operation ............................................................................................................ 207
4.5.5 Auto-Wait Cycle ......................................................................................................................... 208
4.5.6 External Wait Cycle ................................................................................................................... 209
4.5.7 Synchronous Write Enable Output ............................................................................................ 210
4.5.8 CSn Delay Setting ..................................................................................................................... 212
4.5.9 CSn -> RD/WRn Setup and RD/WRn -> CSn Hold Setting ....................................................... 213
4.5.10 DMA Fly-By Transfer (I/O -> Memory) ....................................................................................... 214
4.5.11 DMA Fly-By Transfer (Memory -> I/O) ....................................................................................... 215
4.6 Burst Access Operation .................................................................................................................. 216
4.7 Address/data Multiplex Interface .................................................................................................... 218
4.8 Prefetch Operation .......................................................................................................................... 221