IBM EM78P809N manual Ta= 25 C, VDD= 3.0V ± 5%, VSS=

Page 69

EM78P809N

8-Bit Microcontroller

(Ta= 25 °C, VDD= 3.0V ± 5%, VSS= 0V)

Symbol

Parameter

 

Condition

 

Min.

 

Typ.

Max.

Unit

 

Fc

XTAL: 2.5V to VDD

 

Two cyclea with two clocks

 

1

 

 

4

MHz

ERC

ERC: VDD = 3V

 

R: 5.1KΩ, C: 100 pF

 

600

 

850

1100

kHz

VIHRC

Input High Threshold

 

OSCI in RC mode

 

1.6

 

2.3

2.8

V

Voltage (Schmitt trigger)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IRC1

Sink current

 

VI from low to high , VI=5V

 

7

 

9.5

12

uA

VILRC

Input Low Threshold

 

OSCI in RC mode

 

0.7

 

1

1.3

V

Voltage (Schmitt trigger)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IRC2

Sink current

 

VI from high to low , VI=2V

 

6

 

8.5

11

uA

IIL

Input Leakage Current for

 

VIN = VDD, VSS

 

-1

 

0

1

μA

input pins

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VIH1

Input High Voltage

 

Ports 6,7,8,9,A

 

0.7VDD

 

 

VDD+0.3V

V

(Schmitt trigger)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VIL1

Input Low Voltage

 

Ports 6,7,8,9,A

 

-0.3V

 

 

0.3VDD

V

(Schmitt trigger)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VIHT2

Input High Threshold

 

/RESET, TCC

 

0.7 VDD

 

 

VDD +0.3V

V

Voltage (Schmitt trigger)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VILT2

Input Low Threshold

 

/RESET, TCC

 

-0.3V

 

 

0.3 VDD

V

Voltage (Schmitt trigger)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VIHX1

Clock Input High Voltage

 

LOSCI,OSCI in crystal mode

 

0.7 VDD

 

 

VDD +0.3V

V

VILX1

Clock Input Low Voltage

 

LOSCI,OSCI in crystal mode

 

-0.3V

 

 

0.3 VDD

V

IOH1

Output High Voltage

 

VOH = VDD-0.4V

 

-2

 

-3.5

-5

mA

(Ports 6, 7, 8, 9)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IOL1

Output Low Voltage

 

VOL = VSS+0.4V

 

2

 

3.5

5

mA

(Ports9)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IOL2

Output Low Voltage

 

VOL = VSS+0.4V

 

10

 

13

16

mA

(Ports 6,Port7, Port8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IPH

Pull-high current

 

Pull-high active, input pin at VSS

 

-15

 

-23

-31

uA

IPL

Pull-low current

 

Pull-low active, input pin at VDD

 

15

 

23

30

uA

ISB1

Sleep mode

 

All input and I/O

WDT disabled

 

 

 

0.4

0.8

μA

Power down current

 

 

 

 

 

 

pins at VDD,

 

 

 

 

 

 

 

 

 

Sleep mode

 

 

 

 

 

 

 

 

 

ISB2

 

output pin floating

WDT enabled

 

 

 

1.5

3

μA

Power down current

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Idle mode

 

 

 

 

 

 

 

 

 

 

ICC3

Operating supply current

 

VDD=3V, /RESET= 'High',

 

 

 

0.3

0.5

mA

 

at two clocks

 

 

 

 

 

 

 

 

 

 

Fc=4MHz, CLKS="0", output pin

 

 

 

 

 

 

 

 

Normal mode

 

 

 

 

 

 

 

 

 

 

floating, WDT enabled

 

 

 

 

 

 

 

ICC4

Operating supply current at

 

 

 

 

1.1

1.5

mA

 

 

 

 

 

 

 

two clocks

 

 

 

 

 

 

 

 

 

 

*The typical value is based on characterization results at 25°C

Product Specification (V1.0) 07.26.2005

65

(This specification is subject to change without further notice)

Image 69
Contents DOC. Version EM78P809NElan Microelectronics Corporation Contents Specification Revision History Bit Microcontroller CPU„ General purpose ApplicationsPin Assignment OTP Programming Pins Function Description Functional Block DiagramTbktc Operating RegistersR2/PC − Program Counter & Stack Address 02h R1/TCC − Time Clock /Counter Address 01hBit 7 ~ Bit 6 RBS1 ~ RBS0 R-Register page select R3/SR − Status Register Address 03hBit 5 Not used RBS1 RBS0Bit 0 C Carry flag R4/RSR − RAM Select Register Address 04h GRBS1 GRBS0General Purpose Register Bank Address 20H ~ 3FH PORT6 − Port 6 I/O Data Register Address 06h SIS = 0 Idle mode SIS = 1 Sleep modePORT7 Port 7 I/O Data Register Address 07h PORT8 − Port 8 I/O Data Register Address 08hTC4S = 1 Start TC4CR Timer/Counter 4 Control Register Address 0BhTC4FF1 TC4FF0 TC4CK2 TC4CK1 TC4CK0ISFR1 − Interrupt Status Flag Register 1 Address 0Eh Bit Microcontroller TC4D − Timer 4 Data Buffer Address 0ChTC3CAP = Bit 7 TC3CAP Software capture controlTC3S = 1 Start TC3CAP TC3S TC3CK1 TC3CK0 TC3MTC2M = 1 Window mode TC3DB − Timer 3 Data Buffer B Address 07hBit 7 ~ Bit 6 ADD1 ~ ADD0 AD low 2-bit data buffer TC2S = 1 StartTC2DH − Timer 2 Data Buffer High Byte Address 09h TC2DL − Timer 2 Data Buffer Low Byte Address 0AhAdcr − AD Control Register Address 0Bh Bit 7 ~ Bit 0 ADE7 ~ ADE0 AD input pin enable control Bit 3 ADP AD power controlAdic − AD Input Pin Control Address 0Ch Addh − AD High 8-bit Data Buffer Address 0DhTEN = 0 Disable TEN = 1 Enable Bit 7 TEN Keytone enable controlBit 3 Tbten Time Base Timer Enable Control Bit Microcontroller Tbktc − TBT/Keytone Control Address 0EhUinven = 0 Disable TXD and RXD port inverse output Bit 3 Uinven Enable Uart TXD and RXD port inverse outputUinven = 1 Enable TXD and RXD port inverse output Bit 4 ~ Bit 2 BRATE2 ~ BRATE1 Transmit Baud Rate SelectBit 5 PRE Enable parity addition Bit Microcontroller URS − Uart Status Register Address 07hEven = 0 Odd parity Even = 1 Even parity EDS = 0 Rising edge EDS = 1 Falling edge Bit 2 EDS Data shift out edge selectSMP Dcol BRS2 BRS1 EDS Dord WBESPIC2 − SPI Control Register 2 Address 06h Transfer ModeSpid SPI Data Buffer Address 07h SPID7 SPID6 SPID5 SPID4 SPID3 SPID2 SPID1 SPID0PLC1 Pull Low Control Register 1 Address 0Bh PLE7x = 1 Disable P7x pull lowPHC2 − Pull High Control Register 2 Address 0Ch PLC2 − Pull Low Control 2 Address 0DhAccumulator Special Purpose RegistersControl Register Bit 7 Wdto WDT output selectIntcr − INT Control Register Address 0Bh Bit Microcontroller IOC6 ~ IOC9 − I/O Port Control RegisterBit 2 Reserved INT1ES = 0 Rising edge INT1ES = 1 Falling edgeExternal Interrupt INT Pin Secondary Enable Condition Function PinAdoscr − AD Offset Control Register Address 0Ch EdgeUerrie Urie Utie Tbie EXIE1 TCIE0 IMR2 − Interrupt Mask Register 2 Address 0FhRegisters for CPU operation mode CPU Operation ModeRbank Register Bank bits 7, 6 of R3, R/W Read/Write RbankMode Switching Control Operation ModeNormal AD Converter → Don’t care → Interrupt request flag will be recordedRegisters for AD Converter Circuit ADC Data Register Sampling TimeConversion Time Time Base Timer and Keytone Generator ADCK10Max. Frequency Max. Conversion Rate per Bit Tone Output Pin Timing Chart Uart Universal Asynchronous Receiver/Transmitter Registers for Uart CircuitRbank Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit Data Format in Uart Uart ModeReceiving TransmittingSPI Serial Peripheral Interface Baud Rate GeneratorRegisters for the SPI Circuit Transfer Mode Shift Direction and Sample PhaseBit Transmit Mode Serial ClockBit Transmit/Receive Mode Bit Microcontroller Bit Receive ModeMultiple Device Connect /SS SCK pinTimer/Counter Registers for Timer/Counter 2 CircuitRbank Address Name Bit 7 Bit 6 Bit Timer Mode Counter ModeWindow Mode Registers for Timer/Counter 3 Circuit Window Mode Timing ChartConfiguration of Timer/Counter3 Capture modeTCIF4 Registers for Timer 4 CircuitTCR4 PDO ModePWM Mode 12 TCC/WDT & PrescalerTC4 Interrupt Reset and Wake-up Reset13 I/O Ports Wake-up from Sleep Mode Wake-up from Idle modeAll interrupt Summary of the Initialized Values for Registers Address Name Reset Type BitSCR Bit Microcontroller Register BankTC2D9 TC2D8 Register Bank Reset Type Previous value before resetStatus of RST, T, and P of Status Register Bit Microcontroller General Purpose RegistersInterrupt Controller Reset Block DiagramOscillator Modes OscillatorCrystal Oscillator/Ceramic Resonators Crystal Summary of Maximum Operating SpeedsEM78P809N Oscillator Type Frequency Mode C1 pF C2 pFExt. Clock 740Crystal/Resonator-Parallel Mode Circuit External RC Oscillator ModeCode Option Register Enwdtb = 0 Enable Enwdtb = 1 DisableCode Option Register Word For design reference onlyExternal Power-on Reset Circuit Power-on ConsiderationsCustomer ID Register Cyes = 0 One cycle Cyes = 1 Two cyclesVdd Residue-Voltage ProtectionEM78P809N Rin Vdd EM78P809NVdd 40KR2 Instruction SetDEC Binary Instruction Hex Mnemonic Operation Status AffectedAbsolute Maximum Ratings Symbol Parameter Condition Min Typ Max UnitRecommended Operating Conditions Vss =DC Electrical Characteristics Ta= 25 C, VDD= 5.0V ± 5%, VSS=Typical value is based on characterization results at 25C Ta= 25 C, VDD= 3.0V ± 5%, VSS= Varef Symbol Parameter Conditions Min Typ Max Unit AC Electrical CharacteristicTa=- 40C ~ 85 C, VDD=5V ± 5%, VSS=0V = selected prescaler ratioAC Test Input/Output Waveform Timing DiagramPackage Types OTP MCUPin Count Package Size Contents III EM78P809N