English
Language : 

UPD784938 Datasheet, PDF (18/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
16.3
16.4
16.5
16.6
A/D Current Cut Select Register (IEAD) ............................................................................... 410
Operation .................................................................................................................................. 411
16.4.1 Basic A/D converter operation ..................................................................................................... 411
16.4.2 Select mode ................................................................................................................................. 415
16.4.3 Scan mode ................................................................................................................................... 416
16.4.4 A/D conversion operation start by software ................................................................................ 418
16.4.5 A/D conversion operation start by hardware .............................................................................. 420
External Circuit of A/D Converter .......................................................................................... 423
Cautions .................................................................................................................................... 423
CHAPTER 17 OUTLINE OF SERIAL INTERFACE ............................................................................ 425
CHAPTER 18 ASYNCHRONOUS SERIAL INTERFACE/3-WIRE SERIAL I/O ............................... 427
18.1 Switching between Asynchronous Serial Interface Mode and 3-Wire Serial I/O Mode . 428
18.2 Asynchronous Serial Interface Mode ................................................................................... 429
18.2.1 Configuration in asynchronous serial interface mode ................................................................ 429
18.2.2 Asynchronous serial interface control registers ......................................................................... 432
18.2.3 Data format ................................................................................................................................... 435
18.2.4 Parity types and operations ......................................................................................................... 436
18.2.5 Transmission ................................................................................................................................ 437
18.2.6 Reception ..................................................................................................................................... 438
18.2.7 Receive errors .............................................................................................................................. 439
18.3 3-Wire Serial I/O Mode ............................................................................................................ 440
18.3.1 Configuration in 3-wire serial I/O mode ...................................................................................... 440
18.3.2 Clocked serial interface mode registers (CSIM1, CSIM2) ......................................................... 443
18.3.3 Basic operation timing ................................................................................................................. 444
18.3.4 Operation when transmission only is enabled ............................................................................ 446
18.3.5 Operation when reception only is enabled ................................................................................. 446
18.3.6 Operation when transmission/reception is enabled ................................................................... 447
18.3.7 Corrective action in case of slippage of serial clock and shift operations ................................ 447
18.4 Baud Rate Generator ............................................................................................................... 448
18.4.1 Baud rate generator configuration .............................................................................................. 448
18.4.2 Baud rate generator control register (BRGC, BRGC2) .............................................................. 450
18.4.3 Baud rate generator operation .................................................................................................... 452
18.4.4 Baud rate setting in asynchronous serial interface mode .......................................................... 454
18.5 Cautions .................................................................................................................................... 456
CHAPTER 19 3-WIRE SERIAL I/O MODE ......................................................................................... 457
19.1 Function .................................................................................................................................... 457
19.2 Configuration ............................................................................................................................ 458
19.3 Control Registers ..................................................................................................................... 459
19.3.1 Clocked serial interface mode register (CSIM, CSIM3) ............................................................. 459
19.4 3-Wire Serial I/O Mode ............................................................................................................ 461
19.4.1 Basic operation timing ................................................................................................................. 462
19.4.2 Operation when transmission only is enabled ............................................................................ 464
19.4.3 Operation when reception only is enabled ................................................................................. 465
19.4.4 Operation when transmission/reception is enabled ................................................................... 465
19.4.5 Corrective action in case of slippage of serial clock and shift operations ................................ 465
18
Preliminary User’s Manual U13987EJ1V0UM00