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