Preliminary User’s Manual U16846EJ1V0UD
13
CHAPTER 17 CLOCK MONITOR ........................................................................................................ 311
17.1 Functions of Clock Monitor .................................................................................................... 311
17.2 Configuration of Clock Monitor .............................................................................................. 311
17.3 Register Controlling Clock Monitor ....................................................................................... 312
17.4 Operation of Clock Monitor..................................................................................................... 313
CHAPTER 18 POWER-ON-CLEAR CIRCUIT ..................................................................................... 318
18.1 Functions of Power-on-Clear Circuit ..................................................................................... 318
18.2 Configuration of Power-on-Clear Circuit............................................................................... 319
18.3 Operation of Power-on-Clear Circuit ..................................................................................... 319
18.4 Cautions for Power-on-Clear Circuit...................................................................................... 320
CHAPTER 19 LOW-VOLTAGE DETECTOR ....................................................................................... 322
19.1 Functions of Low-Voltage Detector ....................................................................................... 322
19.2 Configuration of Low-Voltage Detector ................................................................................. 322
19.3 Registers Controlling Low-Voltage Detector ........................................................................ 323
19.4 Operation of Low-Voltage Detector........................................................................................ 325
19.5 Cautions for Low-Voltage Detector........................................................................................ 329
CHAPTER 20 OPTION BYTE............................................................................................................... 332
CHAPTER 21 FLASH MEMORY........................................................................................................... 333
21.1 Internal Memory Size Switching Register ............................................................................. 334
21.2 Writing with Flash Programmer.............................................................................................. 335
21.3 Programming Environment..................................................................................................... 339
21.4 Communication Mode ............................................................................................................. 339
21.5 Handling of Pins on Board...................................................................................................... 342
21.5.1 FLMD0 pin .....................................................................................................................................342
21.5.2 FLMD1 pin .....................................................................................................................................342
21.5.3 Serial interface pins........................................................................................................................343
21.5.4 RESET pin .....................................................................................................................................345
21.5.5 Port pins .........................................................................................................................................345
21.5.6 Other signal pins ............................................................................................................................345
21.5.7 Power supply..................................................................................................................................345
21.6 Programming Method.............................................................................................................. 346
21.6.1 Controlling flash memory ...............................................................................................................346
21.6.2 Flash memory programming mode ................................................................................................346
21.6.3 Selecting communication mode .....................................................................................................347
21.6.4 Communication commands............................................................................................................348
21.7 Flash Memory Programming by Self-Writing........................................................................ 349
21.7.1 Registers used for self-programming function................................................................................350
21.8 Boot Swap Function ................................................................................................................ 354
21.8.1 Outline of boot swap function .........................................................................................................354
21.8.2 Memory map and boot area ...........................................................................................................355
CHAPTER 22 INSTRUCTION SET ...................................................................................................... 358
22.1 Conventions Used in Operation List...................................................................................... 358
22.1.1 Operand identifiers and specification methods ..............................................................................358