A-5
20.4 Standard Serial I/O Mode ......................................................................................................................259
20.4.1 ID Code Check Function ................................................................................................................259
20.4.2 Example of Circuit Application in Standard Serial I/O Mode .......................................................... 263
20.5 Parallel I/O Mode ................................................................................................................................... 264
20.5.1 User ROM and Boot ROM Areas ................................................................................................... 264
20.5.2 ROM Code Protect Function ..........................................................................................................264
20.6 CAN I/O Mode ........................................................................................................................................265
20.6.1 ID Code Check Function ................................................................................................................265
20.6.2 Example of Circuit Application in CAN I/O Mode ...........................................................................268
21. Electrical Characteristics ................................................................................................. 269
22. Usage Precaution............................................................................................................ 279
22.1 SFR ........................................................................................................................................................ 279
22.2 External Clock ........................................................................................................................................ 280
22.3 PLL Frequency Synthesizer ................................................................................................................... 281
22.4 Power Control ........................................................................................................................................ 282
22.5 Oscillation Stop, Re-oscillation Detection Function ............................................................................... 284
22.6 Protection ............................................................................................................................................... 285
22.7 Interrupt.................................................................................................................................................. 286
22.7.1 Reading Address 00000h............................................................................................................... 286
22.7.2 Setting SP ...................................................................................................................................... 286
_______
22.7.3 NMI Interrupt .................................................................................................................................. 286
22.7.4 Changing Interrupt Generate Factor .............................................................................................. 287
_____
22.7.5 INT Interrupt ...................................................................................................................................287
22.7.6 Rewrite Interrupt Control Register ................................................................................................. 288
22.7.7 Watchdog Timer Interrupt .............................................................................................................. 288
22.8 DMAC ....................................................................................................................................................289
22.8.1 Write to DMAE Bit in DMiCON Registe.......................................................................................... 289
22.9 Timers ....................................................................................................................................................290
22.9.1 Timer A ...........................................................................................................................................290
22.9.2 Timer B........................................................................................................................................... 294
22.10 Thee-Phase Motor Control Timer Function .......................................................................................... 296
22.11 Serial I/O .............................................................................................................................................. 297
22.11.1 Clock Synchronous Serial I/O Mode ............................................................................................297
22.11.2 Special Modes..............................................................................................................................298
22.11.3 SI/Oi .............................................................................................................................................299
22.12 A/D Converter ......................................................................................................................................300
22.13 CAN Module .........................................................................................................................................302
22.13.1 Reading CiSTR Register..............................................................................................................302
22.13.2 Performing CAN Configuration .................................................................................................... 304
22.13.3 Suggestions to Reduce Power Consumption .............................................................................. 305
22.13.4 CAN Transceiver in Boot Mode.................................................................................................... 306
22.14 Programmable I/O Ports ...................................................................................................................... 307
22.15 Dedicated Input Pin ..............................................................................................................................308
22.16 Electrical Characteristic Differences Between Mask ROM and Flash Memory Version Microcomputers ...... 309
22.17 Mask ROM Version ............................................................................................................................. 310