Part Number Hot Search : 
P80N0 BZX84C HD74LV2 SE8000 E000498 LF580 GM5621 CA3183
Product Description
Full Text Search
 

To Download EM78910 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 EM78910/910A
8-BIT MICRO-CONTROLLER
Version 1.0
ELAN MICROELECTRONICS CORP. No. 12, Innovation 1st RD., Science-Based Industrial Park Hsin Chu City, Taiwan, R.O.C. TEL: (03) 5639977 FAX: (03)5782037(SL) 5780617 (SA2)
Version History
Specification Revision History
Version Content EM78910/910A 1.0 Initial version Release Date 2001/1/12
EM78910/910A 8-bit Micro-controller
I.General Description
The EM78910/910A is an 8-bit CID (Call Identification) RISC type microprocessor with low power, high speed CMOS technology. This integrated single chip has on_chip watchdog (WDT), RAM, ROM, programmable real time clock/counter, internal interrupt, power down mode, FSK decoder, Call waiting decoder, SDT (Stuttered dial tone) decoder, DTMF generator, MEI (Multiple Extension Internetworking) function, RTF (Request To Flash) function and tri-state I/O. The EM78910/910A provides a single chip solution to design a CID of calling message_display.
II. Feature
CPU *Operating voltage range : 2.5V5.5V *16K x 13 Read Only Memory *1.1Kx 8 on chip RAM *Up to 28 bi-directional tri-state I/O ports *8 level stack for subroutine nesting *8-bit real time clock/counter (TCC) *Two sets of 8 bit counters can be interrupt sources *Selective signal sources and trigger edges , and with overflow interrupt *Programmable free running on chip watchdog timer *99.9 single instruction cycle commands *Four modes (Main clock 3.579MHz or 1.79MHz) Set code option bit0(MCLK) : 0/1 ! 3.579MHz/1.79MHz Mode CPU status Main clock 32.768kHz clock status Sleep mode Turn off Turn off Turn off Idle mode Turn off Turn off Turn on Green mode Turn on Turn off Turn on Normal mode Turn on Turn on Turn on *Ring on voltage detector * Universal Low battery detector *Input port wake up function *9 interrupt source , 4 external , 5 internal *Port key scan function *Clock frequency 32.768KHz *Eight R-option pins CID *Bell 202 , V.23 FSK demodulator *DTMF generator *Ring detector on chip CALL WAITING *Compatible with Bellcore special report SR-TSV-002476 *Call-Waiting (2130Hz plus 2750Hz) alert signal detection *Good talkdown and talkoff performance * Sensitivity compensated by adjusting input OP gain SDT * Stuttered Dial Tone (350Hz plus 440Hz) signal detection MEI/RTF *Compatible with TIA/EIA-777(TIA SP-4078) *MEI(Multiplex Extension Internetworking) and RTF(Request To Flash) functions PACKAGE *45-pin die form without MEI/RTF (EM78910AH, POVD disable)(EM78910BH, POVD enable) *47-pin die form with MEI/RTF (EM78910AAH, POVD disable)(EM78910ABH, POVD enable)
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 1~
2001/01/12
EM78910/910A 8-bit Micro-controller
III. Application
1. Adjunct units 2. Answering machines 3. Feature phones
IV. Pin Configuration
AVSS DTMF PLLC NC NC /RINGTIME RDET1 RING TIP CWGS CWTIP AVDD XIN XOUT
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
AVSS DTMF PLLC RTF MEI /RINGTIME RDET1 RING TIP CWGS CWTIP AVDD XIN XOUT
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 2~
DVSS TEST P60 P61 P62 P63 P64 P65 P66 P67 P54 P55 P56 P57 P90 P91 VDD1 P92 P93 P94 P95 P96 P97 P70/INT0 P71/INT1 P72/INT2 P73/INT3 P74 P75 P76 LBD/P77 /RESET VDD
DVSS TEST P60 P61 P62 P63 P64 P65 P66 P67 P54 P55 P56 P57 P90 P91 VDD1 P92 P93 P94 P95 P96 P97 P70/INT0 P71/INT1 P72/INT2 P73/INT3 P74 P75 P76 LBD/P77 /RESET VDD
45-pin die EM78910AH, EM78910BH
47-pin die EM78910AAH, EM78910ABH
Fig.1 Pin Assignment
2001/01/12
EM78910/910A 8-bit Micro-controller
V. Functional Block Diagram
CPU CPU
RAM RAM
TIMING CONTROL TIMING CONTROL IO PORT IO PORT TIMER TIMER FSK FSK DTMF DTMF CALL WAITING CALL WAITING SDT MEI&RTF I/O
ROM ROM
Fig.2 Block diagram1
Xin Xout WDT timer Oscillator timing control R1(TCC) Interruption GENERAL Control sleep and wake-up on I/O port R4 RAM Instruction decoder control prescalar Instruction register R3 R5 ALU ROM R2 STACK
ACC
DATA & CONTROL BUS
1.0k CID RAM PORT5 FSK DTMF CALL WAITING SDT MEI&RTF P54~P57 P60~P67 P70~P77 P90~P97 IOC5 R5 PORT6 IOC6 R6 PORT7 IOC7 R7 PORT9 IOC9 R9
Fig.3 Block diagram2
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 3~
2001/01/12
EM78910/910A 8-bit Micro-controller
VI. Pin Descriptions
PIN VDD, VDD1 AVDD VSS AVSS XIN XOUT PLLC RTF MEI TIP RING CWTIP CWGS RDET1 I/O POWER DESCRIPTION Digital power Analog power Digital ground Analog ground Input pin for 32.768 kHz oscillator Output pin for 32.768 kHz oscillator Phase loop lock capacitor, connect a capacitor 0.01u to 0.047u with AVSS Request to flash input. Detect line DC voltage changed Multiple extension internetworking input. 1.2 DC voltage detection can be used as on-hook/off-hook detection. It should be connected with TIP side of twisted pair lines for FSK. It should be connected with RING side of twisted pair lines for FSK. It should be connected with TIP side of twisted pair lines for CW. The input OP output pin for gain adjustment of CW. It detect the energy on the twisted pair lines. This pin is coupled to the twisted pair lines through an attenuating network for ring signal detect. Determine if the incoming ring is valid. A RC network may be connected to the pin. PORT7(0)~PORT7(3) signal can be interrupt signals. INT2 and INT3 has the same interrupt flag.
POWER I O I I I I I I I I
/RINGTIME INT0 INT1 INT2 INT3 P5.4 ~P5.7 P6.0 ~P6.7 P7.0 ~P7.7
I PORT7(0) PORT7(1) PORT7(2) PORT7(3) PORT7(4:7) PORT5 PORT6 PORT7
P9.0 ~P9.7 TEST DTMF /RESET
PORT9 I O I
IO port PORT 5 can be INPUT or OUTPUT port each bit. PORT 6 can be INPUT or OUTPUT port each bit. PORT 7 can be INPUT or OUTPUT port each bit. Internal Pull high function. Key scan function. PORT 9 can be INPUT or OUTPUT port each bit. And can be set to wake up watchdog timer. Test pin into test mode , normal low DTMF tone output reset
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 4~
2001/01/12
EM78910/910A 8-bit Micro-controller
VII. Functional Descriptions VII.1 Operational Registers
1. R0 (Indirect Addressing Register) * R0 is not a physically implemented register. It is useful as indirect addressing pointer. Any instruction using R0 as register actually accesses data pointed by the RAM Select Register (R4). 2. R1 (TCC) * Increased by an external signal edge applied to TCC, or by the instruction cycle clock. * Written and read by the program as any other register. 3. R2 (Program Counter) * The structure is depicted in Fig.4. * Generates 16K x 13 on-chip ROM addresses to the relative programming instruction codes. * "JMP" instruction allows the direct loading of the low 10 program counter bits. * "CALL" instruction loads the low 10 bits of the PC, PC+1, and then push into the stack. * "RET'' ("RETL k", "RETI") instruction loads the program counter with the contents at the top of stack. * "MOV R2,A" allows the loading of an address from the A register to the PC, and the ninth and tenth bits are cleared to "0''. * "ADD R2,A" allows a relative address be added to the current PC, and contents of the ninth and tenth bits are cleared to "0''. * "TBL" allows a relative address be added to the current PC, and contents of the ninth and tenth bits don't change. The most significant bit (A10~A13) will be loaded with the content of bit PS0~PS2 in the status register (R5) upon the execution of a "JMP'', "CALL'', "ADD R2,A'', or "MOV R2,A'' instruction.
CALL
PC
A13 A12 A11 A10
A9 A8
A7~A0 RET RETL RETI
0000 PAGE0 0000~03FF 0001 PAGE1 0400~07FF 0010 PAGE3 0800~0BFF
STACK1 STACK2 STACK3 STACK4 STACK5 STACK6 STACK7 STACK8
1110 PAGE14 3800~3BFF 1111 PAGE15 3C00~3FFF
Fig.4 Program counter organization
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 5~
2001/01/12
EM78910/910A 8-bit Micro-controller
ADDRESS 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 : 1F
REGISTER R0 R1(TCC) R2(PC) R3(STATUS) R4(RSR) R5(PORT5,ROM PAGE) R6(PORT6) R7(PORT7) R8(general purpose register) R9(PORT9) RA(CLK,FSK) RB(DTMF) RC(1.0K RAM ADDRESS) RD(1.0K RAM DATA) RE(WDT) RF(INT FLAG) 16 X8 COMMON REGISTER BANK0 ~BANK3 32X8 ~32X8 REGISTER
CONTROL REGISTER (PAGE0)
CONTROL REGISTER (PAGE1)
page0 IOC5 IOC6 IOC7 IOC8 = 00000000 IOC9 IOCA IOCB = 00000000 IOCC = 00000000 IOCD(PULL HIGH) IOCE = 00000000 IOCF(INT CONTROL) page1 IOCB(COUNTER1) IOCC(COUNTER2) IOCD(R-OPTION)
RC(ADDRESS) RD(DATA)
20 : 3F
0 : 255
BANK1 BANK2 BANK3 BANK4 256X8 256X8 256X8 256X8
Fig.5 Data memory configuration
4. R3 (CW and SDT output, CPU power control, Register page selection, Status flags) 7 6 5 4 3 2 1 0 CAS PAGE /SDT T P Z DC C * Bit 0 (C) : Carry flag * Bit 1 (DC) : Auxiliary carry flag * Bit 2 (Z) : Zero flag * Bit 3 (P) : Power down bit. Set to 1 during power on or by a "WDTC" command and reset to 0 by a "SLEP" command. * Bit 4 (T) : Time-out bit. Set to 1 by the "SLEP" and "WDTC" command, or during power up and reset to 0 by WDT timeout.
EVENT WDT wake up from sleep mode WDT time out (not sleep mode /RESET wake up from sleep power up Low pulse on /RESET T 0 0 1 1 x P 0 1 0 1 X X : don't care REMARK
* Bit 5 (/SDT) : (Read Only) Stuttered dial tone signal detection output, 0/1 => SDT signal valid/SDT signal invalid * Bit 6 (PAGE) : Change IOCB ~ IOCE to another page, 0/1 ! PAGE0/PAGE1 * Bit 7 (CAS) : (Read Only) Call waiting signal detection output, 0/1 ! CW signal valid/signal invalid 5. R4 (RAM address selection) * Bits 0 ~ 5 are used to select up to 64 registers in the indirect addressing mode. * Bits 6 ~ 7 determine which bank is activated among the 4 banks. * See the configuration of the data memory in Fig.5. 6. R5 (PORT5(7:4) I/O registers, Program page selection) 7 R57 6 R56 5 R55 4 R54 3 PS3 2 PS2 1 PS1 0 PS0 2001/01/12
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 6~
EM78910/910A 8-bit Micro-controller
* Bit 3~0 (PS3~PS0) : Program page selection bits Program page select bits PS3 PS2 PS1 PS0 Program memory page (Address) 0 0 0 0 Page 0 0 0 0 1 Page 1 0 0 1 0 Page 2 0 0 1 1 Page 3 0 1 0 0 Page 4 0 1 0 1 Page 5 0 1 1 0 Page 6 0 1 1 1 Page 7 1 0 0 0 Page 8 1 0 0 1 Page 9 1 0 1 0 Page 10 1 0 1 1 Page 11 1 1 0 0 Page 12 1 1 0 1 Page 13 1 1 1 0 Page 14 1 1 1 1 Page 15 User can use PAGE instruction to change page and maintain program page by user. Otherwise, user can use far jump (FJMP) or far call (FCALL) instructions to program user's code. The program page is maintained by EMC's complier. It will change user's program by inserting instructions within program. * Bit 7~4 (R57 ~ R54) : 4-bit I/O register for PORT57~PORT53 I/O 7. R6,R7 and R9 (I/O registers for PORT6, PORT7 and PORT9) * R6, R7 and R9 are four 8-bit I/O registers for PORT6, PORT7 and PORT9. 8. R8 (General-purpose) * R8 is a general-purpose register. 9. RA (CPU mode selection, Low battery detection, FSK power and output status, Ring detection output) 7 6 5 4 3 2 1 0 IDLE ENPLL /LPD /LOW_BAT /FSKPWR DATA /CD /RD * Bit 0 (/RD) : (Read Only) Ring signal detection output, 0/1 ! Ring signal valid/Ring signal invalid * Bit 1 (/CD) : (Read Only) FSK carrier signal detection output, 0/1 ! Carrier signal valid/Carrier signal invalid * Bit 2 (DATA) : (Read Only)(FSK demodulator output signal) Fsk data transmitted in a baud rate 1200 Hz. * Bit 3 (/FSKPWR) : Power up/down FSK block, 1/0 ! power up FSK block/power down FSK block When FSK is powered on, PLL is also enabled regardless of RA bit 6 (ENPLL). When FSK is powered off, PLL status is depended on RA bit 6 (ENPLL) setting. The relation between Bit 0 to Bit 3 is shown in Fig.6.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 7~
2001/01/12
EM78910/910A 8-bit Micro-controller
SLEEP MODE Begin set /FSKPWR='0' sleep mode /RINGTIME ='0' or external keys pressed
No
/RD and /CD ='1' /RD and /CD ='1' and nothing to do for 30 sec , /FSKPWR='0' wake up mode
/RINGTIME ='0' or external keys pressed Yes WAKE UP MODE 8-bit wake up and set /FSKPWR='1' accept data from FSK decoder
/FSKPWR='1' FSK decoder begin its work
DATA transfer to Micro Yes /RD and /CD ='1' data end and 30 sec nothing to do. No
STATE Diagram between 8-bit and FSK decoder
Flow Diagram between 8-bit and FSK decoder
Fig.6 The relation between Bit0 to Bit3.
* Bit 4 (/LOW-BAT) : (Read Only) Low battery detection output, 0/1 ! Battery voltage is low/Normal. Low battery detection level is set by external resisters R1 and R2. The detection level VbL = 0.87V*(1+ R1/R2). If Vbattery is under VbL, then send a `0' signal to /LOW_BAT bit; othwise a `1' signal to this bit. Select pin P77/LBD as LBD by setting IOCE PAGE0 bit1 to `0'. LBD pin is used as low battery detection input. * Bit 5 (/LPD) : Power control of low battery detector, 0/1 ! Power on low battery detector/power off low battery detector The relation between /LPD, /POVD(see code option) and /LOW_BAT can see Fig7
VDD
s2 1 on 0 off 1 on 1 on 2.2V
/POVD
0 enable
+ /LPD
0 on
To reset
Vbattery R1 R2 LBD/P77
LBD/P77 SW
Vref
0.87V
+ -
/LOW_BAT
P77
Fig.7 Universal low battery detector with /LPD, /POVD and /LOW_BAT
* Bit 6 (ENPLL) : PLL enable/disable control, 1/0 ! enable/disable When ENPLL is enabled, CPU is in the normal mode The relation between 32.768kHz and 3.579MHz can see Fig8.
PLL 3 .5 7 9 M H z S u b -c lo c k 3 2 .7 6 8 K H z 1 R A b it6 s w itc h 0 T o s y s te m c lo c k
Fig.8 The relation between 32.768kHz and 3.579MHz .
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 8~
2001/01/12
EM78910/910A 8-bit Micro-controller
* Bit 7 (IDLE) : CPU power saving mode selection bit, 0/1 ! select sleep mode/select IDLE mode. This bit will decide which CPU power saving mode is selected for SLEP instruction. These two modes can be waken up by TCC clock or WatchDog or PORT9 and run from "SLEP" next instruction. Wakeup signal SLEEP mode IDLE mode GREEN mode NORMAL mode RA(7,6)=(0,0) RA(7,6)=(1,0) RA(7,6)=(x,0) RA(7,6)=(x,1) + SLEP + SLEP no SLEP no SLEP TCC time out X Wakeup Interrupt Interrupt + Interrupt + Next instruction WDT time out RESET Wakeup RESET RESET + Next instruction PORT9 RESET Wakeup X X /RINGTIME pin + Next instruction PORT70~73 X Wakeup Interrupt Interrupt + Interrupt + Next instruction P70 ~ P73 's wakeup functions are controlled by IOCF(1,2,3) and ENI instruction. P70 's wakeup signal is a rising or falling signal defined by CONT REGISTER bit7. /RINGTIME pin, Port9, Port71, Port72 and Port73 's wakeup signal is a falling edge signal. 10. RB (DTMF row-freq. and column-freq tone selections)(write/write) 7 6 5 4 3 2 1 0 C3 C2 C1 C0 R3 R2 R1 R0 * Bit 3~0 (R3~R0) : DTMF row-frequency tone selection bits. * Bit 7~4 (C3~C0) : DTMF column-frequency tone selection bits. When bit 7~0 of RB are all "1", DTMF generator is power off. Bit 7~4 (column freq.) Bit 3~0 (row freq.) 1110 (1203.0Hz) 1101 (1331.8Hz) 1011 (1472Hz) 1110 (699.2Hz) 1 2 3 1101 (771.6Hz) 4 5 6 1011 (854.0Hz) 7 8 9 0111 (940.1Hz) * 0 # 11. RC (Caller ID RAM address selection)(read/write) 7 6 5 4 3 2 1 CIDA7 CIDA6 CIDA5 CIDA4 CIDA3 CIDA2 CIDA1 * Bit 7~0 (CIDA7~CIDA0) : Caller ID RAM address selection bits User can select Caller ID RAM address up to 256. 12. RD (Caller ID RAM data)(read/write) * Bit 8 ~ Bit 0 are Caller ID RAM data transfer register. User can see IOCA register how to select CID RAM banks. 13. RE (CW power control, WDT control, Wakeup control)(read/write) 7 6 5 4 3 2 1 0 CWPWR /WDTE /WUP9H /WUP9L /WURING 0 0 0 * Bit 0~2 = 0 : unused * Bit 3 (/WURING) : Ring wakeup control, 1/0 ! enable/disable It is used to enable the wakeup function of /RINGTIME input pin. * Bit 4 (/WUP9L) : PORT9's low nibble wakeup control, 1/0 ! enable/disable It is used to enable the wakeup function of low nibble for PORT9.
__________________________________________________________________________________________________________________________________________________________________
0111 (1645.2Hz) A B C D
0 CIDA0
* This specification are subject to be changed without notice. ~ 9~
2001/01/12
EM78910/910A 8-bit Micro-controller
* Bit 5 (/WUP9H) : PORT9's high nibble wakeup control, 1/0 ! enable/disable It is used to enable the wakeup function of high nibble for PORT9. * Bit 6 (/WDTE) : Watchdog timer control, 1/0 ! enable/disable It is used to enable/disable Watchdog timer. The relation between Bit3 to Bit6 can see the diagram 9. * Bit 7(CWPWR) : Power control of Call waiting circuit, 1/0 ! power up circuit /power down circuit When Call waiting circuit is powered on, PLL is also enabled regardless of RA bit 6(ENPLL). When Call waiting circuit is powered off, PLL status is depended on RA bit 6 (ENPLL) setting.
/WURING /RINGTIME /WUP9L PORT9(3:0) /WUP9H PORT9(7:4) /WDTE /WDTEN 0/1=enable/disable
Fig.9 Wake up function and control signal
14. RF (Interrupt status register) 7 6 5 4 3 2 1 0 INT3 FSK/CW C8_2 C8_1 INT2 INT1 INT0 TCIF * Bit 0 (TCIF) : TCC timer overflow interrupt flag. Set when TCC timer overflows. * Bit 1 (INT0) : External INT0 pin interrupt flag * Bit 2 (INT1) : External INT1 pin interrupt flag * Bit 3 (INT2) : External INT2 pin interrupt flag * Bit 4 (C8_1) : Internal 8 bit counter interrupt flag * Bit 5 (C8_2) : Internal 8 bit counter interrupt flag * Bit 6 ( FSK/CW ) : FSK data or Call waiting data interrupt flag * Bit 7 (INT3) : External INT3 pin interrupt flag. High to low edge trigger. Refer to the Interrupt subsection. IOCF is the interrupt mask register. User can read and clear. "1" means interrupt request, "0" means non-interrupt 15. R10~R3F (General Purpose Register) * R10~R3F (Banks 0~3) are all general-purpose registers.
VII.2 Special Purpose Registers
1. A (Accumulator) Internal data transfer, or instruction operand holding It's not an addressable register. 2. CONT (Control Register : P70 interrupt edge, INT flag, TCC edge, precaler rate selection for TCC or WDT ) 7 6 5 4 3 2 1 0 INT_EDGE INT TS TE PAB PSR2 PSR1 PSR0 * Bit 2~0 (PSR2~PSR0) : TCC/WDT prescaler bits.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 10 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
PSR2 PSR1 PSR0 TCC Rate WDT Rate 0 0 0 1:2 1:1 0 0 1 1:4 1:2 0 1 0 1:8 1:4 0 1 1 1:16 1:8 1 0 0 1:32 1:16 1 0 1 1:64 1:32 1 1 0 1:128 1:64 1 1 1 1:256 1:128 * Bit 3 (PAB) : Prescaler assignment bit, 0/1 ! prescaler for TCC/prescaler for WDT * Bit 4 (TE) : TCC signal edge 0 ! increment from low to high transition on TCC 1 ! increment from high to low transition on TCC * Bit 4 : unused * Bit 5 (TS) : TCC signal source, 0/1 ! internal instruction cycle clock/16.384kHz * Bit 6 (INT) : INT enable flag 0 ! interrupt masked by DISI or hardware interrupt 1 ! interrupt enable by ENI/RETI instructions * Bit 7 (INT_EDGE) : Interrupt edge control of P70, 0/1 ! rising edge interrupt/falling interrupt CONT register is readable and writable. 3. IOC5 (PORT5(7:4) I/O control, MEI and RTF output, RTF power control) 7 6 5 4 3 2 1 0 IOC57 IOC56 IOC55 IOC54 MEIO RTFO RTFPWR 0 * Bit 0 = 0 : unused * Bit 1 (RTFPWR) : Power control of RTF circuit, 1/0 ! power on/power off * Bit 2 (RTFO) : (Read Only) RTF line DC voltage change detect output. When line DC voltage is not changed, RTFO is high. * Bit3 (MEIO) : (Read Only) MEI line high or line in-use detect output When input voltage of MEI pin is below 1.2V, MEIO is low; when input voltage of MEI pin is over 1.3V, MEIO is high. * Bit 4 ~7 (IOC54 ~ IOC57) : PORT5 I/O direction control registers. "1" put the relative I/O pin into high impedance, while "0" put the relative I/O pin as output. 4. IOC6, IOC7 and IOC9 (I/O port control register for PORT6, PORT7 and PORT9) IOC6, IOC7 and IOC9 are four I/O direction control registers for PORT6, PORT7 and PORT9. "1" put the relative I/O pin into high impedance, while "0" put the relative I/O pin as output. User can see IOCB register how to switch to normal I/O port. 5. IOC8 (unused) IOC8 is unused and always "00000000". 6. IOCA (CALLER ID RAM,IO ,PAGE Control Register)(read/write,initial "00000000") 7 6 5 4 3 2 1 0 0 0 SDTPW/0 0 0 CALL_2 CALL_1 MEIPWR * Bit 0(MEIPWR) : power control of MEI circuit, 1/0 ! power on/power off * Bit 2,1 (CALL_2,CALL_1) : Bank selections for Caller ID RAM 00 to 11 are four blocks of CALLER ID RAM area. User can use 1.0K RAM by RC register. * Bit 3~4 = 0 : unused * Bit 5 (SDTPW/0) : Power control of Stuttered dial tone circuit/disable SDT ps. When code option bit2(/SDTEN) is "1", SDT is disabled and IOCA bit5 is always "0". User cannot use SDT function. When code option bit2(/SDTEN) is "0", SDT is enabled and IOCA bit5 is SDTPW. At this time, setting SDTPW 1/0 ! power on SDT circuit /power down SDT circuit.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 11 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
* Bit 6~7 = 0 : unused 7. IOCB (Preset and readout for COUNTER1) PAGE0 (unused) It is unused and always "00000000". PAGE1 (COUNTER1 preset and readout) It is 8 bit up-counter (COUNTER1) preset and read out register. (write = preset) will count from "00". 8. IOCC (Preset and readout for COUNTER2) PAGE0 (unused) It is unused and always "00000000". PAGE1 (COUNTER2 preset and readout) It is 8 bit up-counter (COUNTER2) preset and read out register. (write = preset) will count from "00".
After an interruption, it
After an interruption, it
9. IOCD (Internal pull-high control for PORT7, R-option control for PORT9) PAGE0 (Internal pull-high control for P77~P70 pins) 7 6 5 4 3 2 1 0 PH7 PH6 PH5 PH4 PH3 PH2 PH1 PH0 * Bit 7~0 (PH7~PH0) : PORT7's internal pull-high control for P77~P70 pins, 1/0 ! enable/disable PAGE1 (R-option control for P97~P90) 7 6 5 4 3 2 1 0 RO7 RO6 RO5 RO4 RO3 RO2 RO1 RO0 * Bit 7~0 (RO7~RO0) : R-option control bits for P97~P90 pins, 1/0 ! enable /disable RO is used for R-option. Setting RO to `1' will enable the status of R-option pin (P90 ~ P97) to read by controller. Clearing RO will disable R-option function. If the R-option function is used, user must connect PORT9 pins to GND by 560K external register. If the register is connected/disconnected, the R9 will read as " 0/1" when RO is set to `1'. 10. IOCE (PORT7's P77 switch, COUNTER1 and COUNTER2 source, COUNTER1's prescaler, FSK output data type) PAGE0 (PORT7's P77 switch) 7 6 5 4 3 2 1 0 0 0 0 0 0 0 LBD/P77 0 * Bit 0 = 0 : unused * Bit 1 (LBD/P77) : PORT7's P77 switch, 0/1 ! low battery detect input/ normal IO port P77 * Bit 2~7 = 0 : unused PAGE1 (P77's and P76's open-drain control, COUNTER1 and COUNTER2 source, COUNTER1's prescaler, FSK output data type) 7 6 5 4 3 2 1 0 OP77 OP76 C2S C1S PSC1 PSC0 CDRD 0 * Bit 0 = 0 : unused * Bit 1 (CDRD) : FSK output data type selection bit, 0/1 ! FSK cooked data/FSK raw data * Bit 3,2 (PSC1,PSC0) : COUNTER1's prescaler, reset = (0,0) (PSC1,PSC0) = (0,0) ! 1:1, (0,1) ! 1:4, (1,0)! 1:8, (1,1) ! reserved * Bit 4 : COUNTER1 source, 0/1 ! 32.768KHz/3.579MHz if enable * Bit 5 : COUNTER2 source, 0/1 ! 32.768KHz/3.579MHz if enable prescale=1:1 * Bit 6 : P76's open-drain control, 0/1 ! disable/enable * Bit 7 : P77's open-drain control, 0/1 ! disable/enable
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 12 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
11. IOCF (Interrupt Mask Register) 7 6 5 4 3 2 1 INT3 FSK/CW C8_2 C8_1 INT2 INT1 INT0 * Bit 0 ~ Bit 7 are interrupt enable bits, 0/1 ! disable/enable interrupt IOCF Register is readable and writable.
0 TCIF
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 13 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
VII.3 TCC/WDT Prescaler
There is an 8-bit counter available as prescaler for the TCC or WDT. The prescaler is available for the TCC only or WDT only at the same time. * An 8-bit counter is available for TCC or WDT determined by the status of the bit 3 (PAB) of the CONT register. * See the prescaler ratio in CONT register. * Fig. 10 depicts the circuit diagram of TCC/WDT. * Both TCC and prescaler will be cleared by instructions which write to TCC each time. * The prescaler will be cleared by the WDTC and SLEP instructions, when assigned to WDT mode. * The prescaler will not be cleared by SLEP instructions, when assigned to TCC mode.
16.38KHz
Fig.10 Block diagram of TCC WDT
VII.4 I/O Ports
The I/O registers, PORT5 ~ PORT7 and PORT9, are bi-directional tri-state I/O ports. PORT7 can be pulled-high internally by software control. The I/O ports can be defined as "input" or "output" pins by the I/O control registers (IOC5 ~ IOC7 and IOC9 ) under program control. The I/O registers and I/O control registers are both readable and writable. The I/O interface circuit is shown in Fig.11.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 14 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
Fig.11 The circuit of I/O port and I/O control register
VII.5 RESET and Wake-up
The RESET can be caused by (1) Power on reset, or Voltage detector (2) WDT timeout. (if enabled and in GREEN or NORMAL mode) Note that only Power on reset, or only Voltage detector in Case (1) is enabled in the system by CODE-Option bit. If Voltage detector is disabled, Power on reset is selected in Case (1). Refer to Fig.12.
Fig.12 Block diagram of Reset of controller
Once the RESET occurs, the following functions are performed. * The oscillator is running, or will be started. * The Program Counter (R2) is set to all "0". * When power on, the upper 3 bits of R3 and the upper 2 bits of R4 are cleared. * The Watchdog timer and prescaler are cleared. * The Watchdog timer is disabled. * The CONT register is set to all "1" * The other register (bit7..bit0)
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 15 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
R5 = PORT"0000" IOC5 = "1111xx00" R6 = PORT IOC6 = "11111111" R7 = PORT IOC7 = "11111111" R8 = "xxxxxxxx" IOC8 = "00000000" R9 = PORT IOC9 = "11111111" RA = "000x0xxx IOCA = "00000000" RB = "11111111" Page0 IOCB = "00000000" Page1 IOCB = "00000000" RC = "00000000" Page0 IOCC = "00000000" Page1 IOCC = "00000000" RD = "xxxxxxxx" Page0 IOCD = "00000000" Page1 IOCD = "00000000" RE = "00000000" Page0 IOCE = "00000010" Page1 IOCE = "00000000" RF = "00000000" IOCF = "00000000" The controller can be awakened from SLEEP mode or IDLE mode (execution of "SLEP" instruction, named as SLEEP mode or IDLE mode) by (1) TCC time out (IDLE mode only) (2) WDT time-out (if enabled) (3) external input at PORT9. The three cases will cause the controller to be wake-up and run from next instruction in IDLE mode, reset in SLEEP mode. After CPU is wake-up, user should control Watchdog in case of reset in GREEN mode or NORMAL mode. The last two should be open RE register before into SLEEP mode or IDLE mode. The first one case will set a flag in RF bit 0. But will go to address 0x08.
VII.6 Interrupt
The CALLER ID IC has internal interrupts which are falling edge triggered, as follows : TCC timer overflow interrupt (internal) , two 8-bit counters overflow interrupt . If these interrupt sources change signal from high to low , then RF register will generate '1' flag to corresponding register if you enable IOCF register. RF is the interrupt status register which records the interrupt request in flag bit. IOCF is the interrupt mask register. Global interrupt is enabled by ENI instruction and is disabled by DISI instruction. When one of the interrupts (when enabled) generated, will cause the next instruction to be fetched from address 008H. Once in the interrupt service routine the source of the interrupt can be determined by polling the flag bits in the RF register. The interrupt flag bit must be cleared in software before leaving the interrupt service routine and enabling interrupts to avoid recursive interrupts. There are four external interrupt pins including INT0, INT1, INT2 and INT3. And four internal counters interrupt available. Internal signals include TCC, CNT1, CNT2, FSK and CALL WAITING data. The last two will generate an interrupt when the data transient from high to low. External interrupt INT0, INT1, INT2 and INT3 signals are from PORT7 bit0 to bit3 . If IOCF is enable then these signal will cause interrupt , or these signals will be treated as general input data . After reset, the next instruction will be fetched from address 000H and the instruction interrupt is 001H and the hardware interrupt is 008H. TCC will go to address 0x08 in GREEN mode or NORMAL mode after time out. And it will run next instruction from "SLEP" instruction and then go to address 0x08 in IDLE mode. These two cases will set a RF flag. It is very important to save ACC, R3 and R5 when processing an interruption. Address Instruction Note 0x08 DISI ;Disable interrupt 0x09 MOV A_BUFFER,A ;Save ACC 0x0A SWAP A_BUFFER 0x0B SWAPA 0x03 ;Save R3 status 0x0C MOV R3_BUFFER,A 0x0D MOV A,0x05 ;Save ROM page register 0x0E MOV R5_BUFFER,A : : : : : MOV A,R5_BUFFER ;Return R5
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 16 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
: : : : :
MOV 0X05,A SWAPA R3_BUFFER MOV 0X03,A SWAPA A_BUFFER RETI
;Return R3 ;Return ACC
VII.7 Instruction Set
Instruction set has the following features: (1) Every bit of any register can be set, cleared, or tested directly. (2) The I/O register can be regarded as general register. That is, the same instruction can operate on I/O register. The symbol "R" represents a register designator which specifies which one of the 64 registers (including operational registers and general purpose registers) is to be utilized by the instruction. Bits 6 and 7 in R4 determine the selected register bank. "b'' represents a bit field designator which selects the number of the bit, located in the register "R'', affected by the operation. "k'' represents an 8 or 10-bit constant or literal value. INSTRUCTION BINARY 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 0001 0001 0001 0010 0010 0010 0010 0011 0011 0011 0011 0100 0100 0100 0000 0000 0000 0000 0000 0000 0001 0001 0001 0001 0001 0001 0010 01rr 1000 11rr 00rr 01rr 10rr 11rr 00rr 01rr 10rr 11rr 00rr 01rr 10rr 11rr 00rr 01rr 10rr 0000 0001 0010 0011 0100 rrrr 0000 0001 0010 0011 0100 rrrr 0000 rrrr 0000 rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr HEX 0000 0001 0002 0003 0004 000r 0010 0011 0012 0013 0014 001r 0020 00rr 0080 00rr 01rr 01rr 01rr 01rr 02rr 02rr 02rr 02rr 03rr 03rr 03rr 03rr 04rr 04rr 04rr MNEMONIC NOP DAA CONTW SLEP WDTC IOW R ENI DISI RET RETI CONTR IOR R TBL MOV R,A CLRA CLR R SUB A,R SUB R,A DECA R DEC R OR A,R OR R,A AND A,R AND R,A XOR A,R XOR R,A ADD A,R ADD R,A MOV A,R MOV R,R COMA R OPERATION No Operation Decimal Adjust A A CONT 0 WDT, Stop oscillator 0 WDT A IOCR Enable Interrupt Disable Interrupt [Top of Stack] PC [Top of Stack] PC Enable Interrupt CONT A IOCR A R2+A R2 bits 9,10 do not clear AR 0A 0R R-A A R-A R R-1 A R-1 R ARA ARR A&RA A&RR ARA ARR A+RA A+RR RA RR /R A STATUS AFFECTED None C None T,P T,P None None None None None None None Z,C,DC None Z Z Z,C,DC Z,C,DC Z Z Z Z Z Z Z Z Z,C,DC Z,C,DC Z Z Z
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 17 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
/R R R+1 A R+1 R R-1 A, skip if zero R-1 R, skip if zero R(n) A(n-1) R(0) C, C A(7) R(n) R(n-1) R(0) C, C R(7) R(n) A(n+1) R(7) C, C A(0) R(n) R(n+1) R(7) C, C R(0) R(0-3) A(4-7) R(4-7) A(0-3) R(0-3) R(4-7) R+1 A, skip if zero R+1 R, skip if zero 0 R(b) 1 R(b) if R(b)=0, skip if R(b)=1, skip PC+1 [SP] (Page, k) PC (Page, k) PC kA AkA A&kA AkA k A, [Top of Stack] PC k-A A PC+1 [SP] 001H PC K->R5(3:0) k+A A
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1
0100 0101 0101 0101 0101 0110 0110 0110 0110 0111
11rr 00rr 01rr 10rr 11rr 00rr 01rr 10rr 11rr 00rr
rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr rrrr kkkk kkkk kkkk kkkk kkkk kkkk kkkk kkkk 0001
04rr 05rr 05rr 05rr 05rr 06rr 06rr 06rr 06rr 07rr 07rr 07rr 07rr 0xxx 0xxx 0xxx 0xxx 1kkk 1kkk 18kk 19kk 1Akk 1Bkk 1Ckk 1Dkk 1E01 1E8k 1Fkk
COM R INCA R INC R DJZA R DJZ R RRCA R RRC R RLCA R RLC R SWAPA R SWAP R JZA R JZ R BC R,b BS R,b JBC R,b JBS R,b CALL k JMP k MOV A,k OR A,k AND A,k XOR A,k RETL k SUB A,k INT PAGE k ADD A,k
Z Z Z None None C C C C None None None None None None None None None None None Z Z Z None Z,C,DC None None Z,C,DC
0111 01rr 0111 10rr 0111 11rr 100b bbrr 101b bbrr 110b bbrr 111b bbrr 00kk kkkk 01kk kkkk 1000 kkkk 1001 kkkk 1010 kkkk 1011 kkkk 1100 kkkk 1101 kkkk 1110 0000 1110 1111
1000 kkkk kkkk kkkk
VII.8 CODE Option Register
The CALLER ID IC has one CODE option register that is not part of the normal program memory. The option bits cannot be accessed during normal program execution. 7 6 5 4 3 2 1 0 /RTFEN /MEIEN /SDTEN /POVD MCLK * Bit 0 (MCLK) : Main clock selection, 0/1 ! 3.58MHz /1.79MHz * Bit 1 (/POVD) : Power on voltage detector control, 0/1 ! enable/disable /POVD 2.2V POVD 1.8V power on sleep mode reset reset current 1 No Yes 1uA typical 0 Yes Yes 15uA typical * Bit 2 (/SDTEN) : Stuttered dial tone function control, 0/1 ! enable/disable * Bit 3 (/MEIEN) : MEI function control, 0/1 ! enable/disable MEI function When MEI function is disabled, MEI is always powered down and user cannot use this function.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 18 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
* Bit 4 (/RTFEN) : RTF function control, 0/1 ! enable/disable RTF function When RTF function is disabled, RTF is always powered down and user cannot use this function. * Bits 5~7 : unused, must be "0"s.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 19 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
VII.9 FSK FUNCTION VII.9.1 Functional Block Diagram
Tip Ring XIN XOUT RDET1 /RINGTIME Band pass filter FSK demod
Data valid and Energy detect
DATA /CD
Clock Gen&PLL
Ring detect circuit /RD
Power up
/FSKPWR
Fig.13 FSK Block Diagram
VII.9.2 Function Descriptions
The CALLER ID IC is a CMOS device designed to support the Caller Number Deliver feature which is offered by the Regional Bell Operating Companies.The FSK block comprises two paths: the signal path and the ring indicator path. The signal path consists of an input differential buffer, a band pass filter, an FSK demodulator and a data valid with carrier detect circuit. The ring detector path includes a clock generator, a ring detect circuit. In a typical application, the ring detector maintains the line continuously while all other functions of the chip are inhibited. If a ring signal is sent, the /RINGTIME pin will has a low signal. User can use this signal to wake up whole chip or read /RD signal from RA register. A /FSKPWR input is provided to activate the block regardless of the presence of a power ring signal. If /FSKPWR is sent low, the FSK block will power down whenever it detects a valid ring signal, it will power on when /FSKPWR is high. The input buffer accepts a differential AC coupled input signal through the TIP and RING input and feeds this signal to a band pass filter. Once the signal is filtered, the FSK demodulator decodes the information and sends it to a post filter. The output data is then made available at DATA OUT pin. This data, as sent by the central office, includes the header information (alternate "1" and "0") and 150 ms of marking which precedes the date, time and calling number. If no data is present, the DATA OUT pin is held in a high state. This is accomplished by a carrier detect circuit which determines if the in-band energy is high enough. If the incoming signal is valid and thus the demodulated data is transferred to DATA OUT pin. If it is not, then the FSK demodulator is blocked.
VII.9.3 Ring detect circuit
When Vdd is applied to the circuit, the RC network will charge cap C1 to Vdd holding /RING TIME off. The resistor network R2 to R3 attenuates the incoming power ring applied to the top of R2. The values given have been chosen to provide a sufficient voltage at DET1 pin, to turn on the Schmitt trigger input. When Vt+ of the Schmitt is exceeded, cap C1 will discharge.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 20 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
The value of R1 and C1 must be chosen to hold the /RING TIME pin voltage below the Vt+ of the Schmitt between the individual cycle of the power ring. With /RINGTIME enabled, this signal will be a /RD signal in RA through a buffer.
VDD
R1
C1
/RINGTIME
/RD RDET1 R2
R3
Fig.14 ring detect circuit
VII.10 DTMF ( Dual Tone Multi Frequency ) Tone Generator
Built-in DTMF generator can generate dialing tone signals for telephone of dialing tone type. There are two kinds of DTMF tone. One is the group of row frequency, the other is the group of column frequency, each group has 4 kinds of frequency, and user can get 16 kinds of DTMF frequency totally. DTMF generator contains a row frequency sine wave generator for generating the DTMF signal, which selected by low order 4 bits of RB and a column frequency sine wave generator for generating the DTMF signal, which selected by high order 4 bits of RB. This block can generate single tone by filling one bit zero to this register. If all the values are high, the power of DTMF will turn off until one or two low values. Either high or low 4 bits must be set by an effective value, otherwise, if any ineffective value or both 4 bits are load effective value, tone output will be disable. Recommend value refer to table as follow please :
SYSTEM CLOCK Row-register bits Row-frequency generator DTMF row(low)-freq. selection Sine wave generator TONE
DTMF column(high)-freq. selection Column-register bits
Sine wave generator
Column-frequency generator
Fig.15 DTMF Block Diagram
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 21 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
* RB ( DTMF Register ) . Bit 0 - Bit 3 are row-frequency tones. . Bit 4 - Bit 7 are column-frequency tones. . Initial RB is equal to HIGH. . Except below values of RB, the other values of RB are not effect. If RB is set by ineffective value, the DTMF output will be disable and there is no tone output. . Bit 7 ~ 0 are all "1" turn off DTMF power. Bit 7~4 (column freq.) Bit 3~0 (row freq.) 1110 (1203.0Hz) 1101 (1331.8Hz) 1011 (1472Hz) 0111 (1645.2Hz) 1110 (699.2Hz) 1 2 3 A 1101 (771.6Hz) 4 5 6 B 1011 (854.0Hz) 7 8 9 C 0111 (940.1Hz) * 0 # D
VII.11 CALL WAITING Function Description
TIP RING CWGS CWTIP
FSK block and SDT block
DATA /SDT Clock Gen&PLL
XIN XOUT
Band pass filter
Vdd/2
Level detect
Digital detection algorithm
CAS
Voltage reference
Power up CWPWR
Fig.16 Call Waiting Block Diagram
Call Waiting service works by alerting a customer engaged in a telephone call to a new incoming call. This way the customer can still receive important calls while engaged in a current call. The CALL WAITING DECODER can detect CAS (Call-Waiting Alerting Signal 2130Hz plus 2750Hz) and generate a valid signal on the data pins. The call waiting decoder is designed to support the Caller Number Deliver feature, which is offered by regional Bell Operating Companies. The call waiting decoder has four blocks, including pre-amplifier, band pass filter, level detect and digital detection algorithm. In a typical application, after enabling CW circuit (by RE BIT7 CWPWR) this IC receives Tip and Ring signals from twisted pairs. The signals as inputs of pre-amplifier, and the amplifier sends input signal to a band pass filter. Once the signal is filtered, the digital detection block decodes the information and sends it to R3 register bit7. The output data made available at R3 CAS bit. The data is CAS signals. The CAS is normal high. When this IC detects 2130Hz and 2750Hz frequency, then CAS pin goes to low.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 22 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
VII.12 Stuttered dial tone (SDT) Function Description
TIP RING FSK block
DATA /CD
Stuttered Dial Tone detection block
/SDT
Fig.17 Stuttered dial tone block diagram
SDT (Stuttered dial tone) circuit and FSK circuit use the same input OP Amp. When SDTPW bit (IOCA bit5) is set, SDT circuit is powered on and SDT detection is enabled. SDT detection enabled means it is powered on and detects 350Hz plus 440Hz dual tone frequency. And SDT signal detection output is sent to /SDT bit (R3 bit5) with low enable. If SDT circuit works, it consists of high-band and low-band band pass tone filters, level detect, frequency counting and digital algorithm to qualify correct timing.
VII.13 MEI and RTF Function Description
VDD 20M
MEI MEIO
1.2V
VDD
1.2M
105
220k
RTF
RTF
RTFO
330k
3.3M
333
Fig.18 MEI & RTF
Based on TIA/EIA-777 (or TIA SP-4078) protocol, MEI (Multiple Extension Internetworking) allows Type 2 (and 3) CPE to dynamically arbitrate responsibility for completing the CAS-ACK handshake. Also, RTF (Request to Flash) allows Type 2 (and 3) CPE to synchronize line flash signal after CAS-ACK handshaking. For MEI part, protocol shows line voltage below 19V as line-in use (phone off-hook status) and voltage above 21V as line high (phone on-hook status). MEI circuits works as on-hook/off-hook detection and internal transition voltage is 1.2V. Use two external resistors to reduce line DC voltage into MEI input pin. These has a little voltage transition hysteresis to complete the rule. For RTF part, protocol shows 0.5V line DC voltage change detection and timing to be followed (see the protocol for details). RTF circuit can detect this little DC voltage change and complete the same timing as protocol shown.
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 23 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
VIII. Absolute Operation Maximum Ratings
RATING DC SUPPLY VOLTAGE INPUT VOLTAGE OPERATING TEMPERATURE RANGE SYMBOL Vdd Vin Ta VALUE -0.3 To 6 -0.5 TO Vdd +0.5 0 TO 70 UNIT V V
IX. DC Electrical Characteristic
(Ta=0C ~ 70C, VDD=5.0V5%, VSS=0V) (VDD=2.5V to 6V for CPU, DTMF ; VDD=3.5V to 6V for FSK, VDD=3.0V to 6V for CW, SDT) Parameter Symbol Condition Min Typ Max Unit Input Leakage Current for IIL1 VIN = VDD, VSS 1 A input pins Input Leakage Current for biIIL2 VIN = VDD, VSS 1 A directional pins Input High Voltage VIH 2.5 V Input Low Voltage VIL 0.8 V Input High Threshold Voltage VIHT /RESET, TCC, RDET1 2.0 V Input Low Threshold Voltage VILT /RESET, TCC,RDET1 0.8 V Clock Input High Voltage VIHX OSCI 3.5 V Clock Input Low Voltage VILX OSCI 1.5 V Key scan Input High Voltage VHscan Port6 for key scan 3.5 V Key scan Input Low Voltage VLscan Port6 for key scan 1.5 V Output High Voltage VOH1 IOH = -1.6mA 2.4 V (port5,6,7) (port9) IOH = -6.0mA 2.4 V Output Low Voltage VOL1 IOL = 1.6mA 0.4 V (port5,6,7) (port9) IOL = 6.0mA 0.4 V Pull-high current IPH Pull-high active input pin at -10 -15 A VSS Power down current ISB1 All input and I/O pin at VDD, 1 4 A (SLEEP mode) output pin floating, WDT POVD disable disabled 12 20 uA Power down current (SLEEP mode) POVD enable Low clock current ISB2 CLK=32.768KHz, FSK, 65 80 A (GREEN mode) DTMF, CW, SDT block POVD disable disable , All input and I/O pin at VDD, output pin 75 95 uA Low clock current floating, WDT disabled (GREEN mode) POVD enable Low clock current ISB3 CLK=32.768KHz, FSK, 45 60 A (IDLE mode) DTMF, CW, SDT block POVD disable disable , All input and I/O 55 75 uA pin at VDD, output pin Low clock current floating, WDT disabled,CPU (IDLE mode) disable POVD enable Operating supply current ICC1 /RESET=High, 1.5 1.8 mA
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 24 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
(CPU enable)
CLK=3.579MHz, output pin floating, FSK, DTMF, CW, SDT block disable Tone1 signal strength V1rms Root mean square voltage 130 155 180 V Tone2 signal strength V2rms Root mean square voltage 1.259V1rms V Ps. V1rms and V2rms has 2 dB difference. It means 20log(V2rms/V1rms) = 20log1.259 = 2 (dB)
IX. AC Electrical Characteristic
(Ta=0C ~ 70C, VDD=5.0V, VSS=0V) Parameter Conditions Symbol Input CLK duty cycle Dclk Instruction cycle time 32.768kHz Tins 3.579MHz Device delay hold time Tdrh TCC input period Note 1 Ttcc Watchdog timer period Twdt Ta = 25C Note 1: N= selected prescaler ratio. Min 45 Typ 50 60 550 18 18 Max 55 Unit % us ns ms ns ms
(Tins+20)/N
(FSK Band Pass Filter AC Characteristic)(Vdd=+5.0V,Ta=+25) CHARACTERISTIC Min Typ Max Unit input sensitivity TIP and RING pin1 and pin2 Vdd=+5V -40 -48 -dBm (Call waiting Band Pass Filter AC Characteristic) (VDD=+5.0V,Ta=+25C) CHARACTERISTIC Min Typ Max Unit input sensitivity TIP and RING pins ,Vdd=+5V, Input G=1 -38 dBm (Stuttered dial tone AC Characteristic) (VDD=+5.0V,Ta=+25C) CHARACTERISTIC Min Typ Max Unit input sensitivity TIP and RING pins ,Vdd=+5V -38 dBm Input frequency tolerance % 2.0 Description (FSK AC Characteristics) OSC start up(32.768KHz) (3.579MHz PLL) (FSK AC Characteristic) Carrier detect low Data out to Carrier det low Power up to FSK(setup time) /RD low to /RINGTIME low End of FSK to Carrier Detect high (Call waiting AC Characteristics) CAS input signal length (2130 ,2750 Hz @ -20dBm ) Data detect delay time Data release time (Stuttered dial tone AC characteristics) Stuttered dial tone signal detect delay time Stuttered dial tone signal release time Symbol Tosc Min -Typ 300 Max 400 10 14 20 20 50 -Unit ms
Tcdl Tdoc Tsup Trd Tcdh Tcasi Td Tr Tstdd Tstdr
----
10 10 15
ms ns ms ms ms ms ms ms ms ms
8
-80 42 26 30 30
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 25 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
XI. Timing Diagrams
LQ V
Fig.19 AC timing
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 26 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
FIRST RING 2 SECONDS TIP/ RING /RINGTIME
0.5 SEC
0.5 SEC
SECOND RING 2 SECONDS
Tcdl /CD Tdoc DATA (internal clock) Tsup /358E 3.579 MHz DATA
Tcdh
Fig.20 FSK Timing Diagram
plug in on hook events normal in use
CAS Tcasi
Td CAS Tr
PCW Power on/off
power off
power on
Fig.21 Call Waiting Timing Diagram
7,3 5,1*
tsdtd
SDT signal tsdtr
SDT signal
SDT signal
SDT signal
6'7
Fig.22 Stuttered dial tone detect. timing diagram
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 27 ~
2001/01/12
EM78910/910A 8-bit Micro-controller
XII. Application Circuit
1000p 30K TIP AVDD 30K RING 270K 0.22u VDD1 VDD 0.1u VDD 1000p 0.1u 250V VDD /RINGTIME
TIP
FUSE
RING
470K AVSS VSS RDET1 0.1u 250V 33K TEST XOUT PLLC XIN
0.01u 27p 32.768kHz 27p VDD
TO PHONE
COMMON /RESET SEGMENT NPN
470K 0.1u 100K
LCD display
100K
Fig.23a APPLICATION CIRCUIT for EM78910
1000p 30K TIP AVDD 30K RING VDD1 VDD 0.1u VDD
1000p 0.1u 250V
TIP
FUSE
VDD
270K 0.22u
/RINGTIME
RING
470K AVSS VSS RDET1 TEST XOUT PLLC XIN
0.01u 27p 32.768kHz 27p 470K 20M MEI /RESET 100K 1.2M VDD HOOK Switch 105 220k RTF 100K NPN 0.1u VDD
0.1u 250V 33K VDD
330k
3.3M
333 COMMON SEGMENT
LCD display
Fig.23b APPLICATION CIRCUIT for EM78910A
__________________________________________________________________________________________________________________________________________________________________
* This specification are subject to be changed without notice. ~ 28 ~
2001/01/12


▲Up To Search▲   

 
Price & Availability of EM78910

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X