W79E825_824_823A_822A_SC6.PDF

Size: px
Start display at page:

Download "W79E825_824_823A_822A_SC6.PDF"

Transcription

1 8- W79E825/824/823A/822A (RoHS) Flash EPROM I/O (UART) CPU ALU (ACC) B (PSW) RAM MANAGEMENT SC6

2 (POR) / / 0& NVM (UART) (KBI) I/O

3 RC CPU (PWM) ADC I2C SIO I2C : , I2ADDR , I2DAT , I2CON I2C, I2CLK , I2STATUS I2C GC ICP( ) FLASH CONFIG CONFIG DC/ADC / DC ADC DC AC SC6

4 32. AC pin SOP pin DIP pin SOP

5 1. W79E82X 51 (ICP) Flash EPROM W79E82X K/8K/4K/2K Flash EPROM 256/128 NVM Flash EPROM 256/128 RAM I/O / 4 10 AD 4 10 PWM 2 1 I2C W79E82X FLASH EPROM W79E82X (ICE) JTAG 2.? 8 CMOS 51 20MHZ VDD=4.5V~5.5V 20MHZ VDD=2.7V~ 5.5V 12MHz? 16K/8K/4K/2K (ICP) Flash EPROM (AP Flash EPROM)? 256/128 RAM? 256/128 NVM FLASH EPROM? MCS-51? JTAG? I/O? /? 13 4?? 4 I/O TTL/?? 4 10 PWM? 4 10 ADC? 1 I2C ( / )? 8??? LED (20mA)?? : JTAG ICE( ) ICP ( )? Lead Free (RoHS) DIP 20: W79E825ADG Lead Free (RoHS) SOP 20: W79E825ASG Lead Free (RoHS) DIP 20: W79E824ADG SC6

6 Lead Free (RoHS) SOP 20: W79E824ASG Lead Free (RoHS) DIP 20: W79E823ADG Lead Free (RoHS) SOP 20: W79E823ASG Lead Free (RoHS) DIP 20: W79E822ADG Lead Free (RoHS) SOP 20: W79E822ASG (RoHS) PART NO. EPROM FLASH SIZE RAM NVM FLASH EPROM ADC PWM PACKAGE REMARK W79E825ADG 16KB 256B 256B 4x10Bit 4x10Bit DIP-20 Pin W79E825ASG 16KB 256B 256B 4x10Bit 4x10Bit SOP-20 Pin W79E824ADG 8KB 256B 256B 4x10Bit 4x10Bit DIP-20 Pin W79E824ASG 8KB 256B 256B 4x10Bit 4x10Bit SOP-20 Pin W79E823ADG 4KB 128B 128B 4x10Bit 4x10Bit DIP-20 Pin W79E823ASG 4KB 128B 128B 4x10Bit 4x10Bit SOP-20 Pin W79E822ADG 2KB 128B 128B 4x10Bit 4x10Bit DIP-20 Pin W79E822ASG 2KB 128B 128B 4x10Bit 4x10Bit SOP-20 Pin - 6 -

7 4. 20 PIN DIP PWM3/CMP2/P P0.1/CIN2B/PWM0 PWM2/P P0.2/CIN2A/BRAKE PWM1/P P0.3/CIN1B/AD0 RST/P P0.4/CIN1A/AD1 VSS 5 16 P0.5/CMPREF/AD2 XTAL1/P VDD XTAL2/CLKOUT/P P0.6/CMP1/AD3 INT1/P P0.7/T1 SDA/INT0/P P1.0/TXD SCL/T0/P P1.1/RXD 20 PIN SOP PWM3/CMP2/P P0.1/CIN2B/PWM0 PWM2/P P0.2/CIN2A/BRAKE PWM1/P P0.3/CIN1B/AD0 RST/P P0.4/CIN1A/AD1 VSS 5 16 P0.5/CMPREF/AD2 XTAL1/P VDD XTAL2/CLKOUT/P P0.6/CMP1/AD3 INT1/P P0.7/T1 SDA/INT0/P P1.0/TXD SCL/T0/P P1.1/RXD SC6

8 5. R ST (P1.5) XTAL1(P2.1) XTAL2(P2.0) VSS P I 2 I/O 1: I/O I/O 2: XTAL1 I/O VDD P P0.0?P0.7 P1.0?P1.7 I/O P0.3~P0.6 ADC I/O P1.2(SCL) P1.3(SDA) P1.5 P: I O I/O - 8 -

9 6. W79E82X K/8K/4K/2K Flash EPROM, 256/128 RAM, 256/128 NVM FLASH EPROM I/O / 4 10 AD 4 10 PWM 1 I2C 1 FLASH EPROM ICP 6.1 Flash EPROM W79E82X 16K/8K/4K/2K ICP 16K/8K/4K/2K Flash EPROM ICP / IC 6.2 I/O W79E82X I/O I/O 18 I/O PxM1.y PxM I/O I/O I/O 6.3 (UART) W79E82X 8052 W79E82X 6.4 W79E82X W79E82X SC6

10 W79E82X MCU 16 (DPTR) AUXR1 DPS W79E82X CPU 6.8 CPU W79E82X ALU W79E82X ALU ALU W79E82X MCU ALU ALU ACC B ALU (PSW) (ACC) W79E82X MCU (ACC) CPU B B 8 / B

11 6.8.4 (PSW) PSW 8 ALU RAM W79E82X 256/128 RAM W79E82X 8- RAM RAM SC6

12 7. W79E82X W79E82X 16K/8K/4K/2K MOVC 7.2 W79E82X 256/128 NVM MOVC A,@A+DPTR NVMADDR, NVMDAT NVMCON FFFFH FCFFH FC00H FBFFH Unused Code Memory 256 Bytes NVM Data Memory Unused Code Memory Page 3 64 bytes Page 2 64 bytes Page 1 64 bytes Page 0 64 bytes FCFFH FCC0H FCBFH FC80H FC7FH FC40H FC3FH FC00H NVM Data Memory Area Unused Data Memory FFFFH 4000H 3FFFH 0000H 16K/8K Bytes On-Chip Code Memory On-Chip Code Memory Space CONFIG 2 CONFIG H External Data Memory Space W79E825/W79E824 Memory Map

13 FFFFH FFFFH Unused Code Memory FC7FH FC00H 128 Bytes NVM Data Memory Unused Code Memory Page 1 64 bytes Page 0 64 bytes FC7FH FC40H FC3FH FC00H NVM Data Memory area Unused Data Memory 1000H 0FFFH 0000H 4K/2K/1K Bytes On-Chip Code Memory On-Chip Code Memory Space CONFIG 2 CONFIG H External Data Memory Space W79E823/W79E822/W79E821 Memory Map 7.3 W79E82X 256/128 RAM ( ) SFR RAM SC6

14 W79E825/W79E824 RAM and SFR Memory Map FFH 80H 7FH 00H Unused Indirect RAM Direct & Indirect RAM Addressing SFR Direct Addressing Only RAM and SFR Data Memory Space W79E823/W79E822 RAM and SFR Memory Map RAM 256/

15 FFH 80H 7FH Indirect RAM Direct RAM 30H 2FH 7F 7E 7D 7C 7B 7A EH DH 6F 6E 6D 6C 6B 6A CH BH 5F 5E 5D 5C 5B 5A AH H 4F 4E 4D 4C 4B 4A H H 3F 3E 3D 3C 3B 3A H H 2F 2E 2D 2C 2B 2A H H 1F 1E 1D 1C 1B 1A H H 0F 0E 0D 0C 0B 0A H 1FH 18H 17H 10H 0FH 08H 07H 00H Bank 3 Bank 2 Bank 1 Bank SC6

16 R0 R1 R2 R3 R4 R5 R6 R7 PSW RS0 RS1 R0 R1 7.5 RAM 20h 2Fh RAM (SP) RAM 07h SP SP 1 SP

17 8. W79E82X MCU ( ) 80H-FFH 0 8 W79E82X W79E82X 1 F8 IP1 F0 B P0IDS IP1H E8 IE1 E0 ACC ADCCON ADCH D8 WDCON PWMPL PWM0L PWM1L PWMCON1 PWM2L PWM3L PWMCON2 D0 PSW PWMPH PWM0H PWM1H PWM2H PWM3H PWMCON3 C8 NVMCON NVMDAT C0 I2CON I2ADDR NVMADDR TA B8 IP0 SADEN I2DATA I2STATUS I2CLK I2TIMER B0 P0M1 P0M2 P1M1 P1M2 P2M1 P2M2 IP0H A8 IE SADDR CMP1 CMP2 A0 P2 KBI AUXR1 98 SCON SBUF 90 P1 DIVM 88 TCON TMOD TL0 TL1 TH0 TH1 CKCON 80 P0 SP DPL DPH PCON 1 2 W79E82X SC6

18 0 P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0 0 I/O : P0 : 80h SP.7 SP.6 SP.5 SP.4 SP.3 SP.2 SP.1 SP.0 : SP : 81h RAM DPL.7 DPL.6 DPL.5 DPL.4 DPL.3 DPL.2 DPL.1 DPL.0 16 : DPL : 82h DPH.7 DPH.6 DPH.5 DPH.4 DPH.3 DPH.2 DPH.1 DPH.0 16 : DPH : 83h SMOD SMOD0 BOF POR GF1 GF0 PD IDL : PCON : 87h

19 7 SMOD SMOD0 5 BOF 4 POR 0: SCON.7 FE 1: SCON SCON.7. 0: 1: 0: 1: 3 GF1 2 GF0 1 PD 1 0 IDL 1 CPU TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 : TCON : 88h TF1 0 6 TR1 1 5 TF TR0 0 3 IE1 1 int 1 1 IE IT IE0 0 INT0 1 IE0 0 0 IT SC6

20 GATE C/ T M1 M0 GATE C/ T M1 M0 : TMOD : 89h 7 GATE 1, / TRx int n TRx int n 1 / 0 TRx 6 C/ T / 0 1 TX 5 M1 4 M0 3 GATE 1, / TRx int n TRx int n 1 / 0 TRx 2 C/ T / 0 1 TX 1 M1 0 M0 M1, M0: : M1 M : : : 8 THx 1 1 3: T0 TL0 0 8 / TH0 1 8 / 1 0 TL0.7-0: 0 TL0.7 TL0.6 TL0.5 TL0.4 TL0.3 TL0.2 TL0.1 TL0.0 : TL0 : 8Ah

21 1 TL1.7-0: 1 TL1.7 TL1.6 TL1.5 TL1.4 TL1.3 TL1.2 TL1.1 TL1.0 : TL1 : 8Bh 0 TH0.7-0: 0 TH0.7 TH0.6 TH0.5 TH0.4 TH0.3 TH0.2 TH0.1 TH0.0 : TH0 : 8Ch 1 TH1.7-0: 1 TH1.7 TH1.6 TH1.5 TH1.4 TH1.3 TH1.2 TH1.1 TH1.0 : TH1 : 8Dh T1M T0M : CKCON : 8Eh 7~5 4 T1M 3 T0M 2~0 1 0: 1 1/12 1: 1 1/4 0 : 0: 0 1/12 1: 0 1/ SC6

22 1 P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 : P1 : 90h P1.7?0 / P1.7 PWM2 6 P1.6 PWM 1 5 P1.5 RST 4 P1.4 INT1 3 P1.3 INT0 I 2 C SDA 2 P1.2 0 I 2 C SCL 1 P1.1 RXD 0 P1.0 TXD DIVM.7 DIVM.6 DIVM.5 DIVM.4 DIVM.3 DIVM.2 DIVM.1 DIVM.0 : DIVM : 95h DIVM uc SM0/FE SM1 SM2 REN TB8 RB8 TI RI : SCON : 98h

23 7 SM0/FE 6 SM1 5 SM2 0 0 PCON SMOD0 SM0 1 SM0 SM SM2 1 RB8 0 RI 1 SM2 1 RI 0 SM REN 1 3 TB RB8 1 TI 0 RI SM2=0 RB SBUF.7 SBUF.6 SBUF.5 SBUF.4 SBUF.3 SBUF.2 SBUF.1 SBUF.0 : SBUF : 99h 7~0 SBUF P2.1 P2.0 : P2 : A0h SC6

24 7~2-1 P2.1 XTAL2 CLK 0 P2.0 XTAL1. KBI.7 KBI.6 KBI.5 KBI.4 KBI.3 KBI.2 KBI.1 KBI.0 : KBI : A1h 7 KBI.7 1: P KBI.6 1: P KBI.5 1: P KBI.4 1: P KBI.3 1: P KBI.2 1: P KBI.1 1: P KBI.0 1: P KBF BOD BOI LPBOV SRST ADCEN 0 DPS : AUXR1 : A2h

25 7 KBF 6 BOD 5 BOI 4 LPBOV 3 SRST 2 ADCEN DPS : 1: 0. : 0:. 1:. : 0:. 1:. : 0: BOD 1: BOD MCU BOD RC (2MHz~0.5MHZ) 1/16 : 1: 0: ADC. 1: ADC. Dual 0: 8051 DPTR. 1: DPTR1 EA EADC EBO ES ET1 EX1 ET0 EX0 : IE : A8h SC6

26 7 EA. /. 6 EADC ADC. 5 EBO. 4 ES. 3 ET EX ET EX0 0. SADDR.7 SADDR.6 SADDR.5 SADDR.4 SADDR.3 SADDR.2 SADDR.1 SADDR.0 : SADDR : A9h 7 SADDR SADDR CE1 CP1 CN1 OE1 CO1 CMF1 : CMP1 : Ach

27 CE1 4 CP1 3 CN1 2 OE1 1 CO1 0 CMF1 : 0: 1: CE1 1 10uS : 0: CIN1A 1: CIN1B : 0: CMPREF 1: Vref : 1: (CE1 = 1) CMP1 CPU : CPU (CE1 = 0) : CO1 MCU (CE1 = 0) CE2 CP2 CN2 OE2 CO2 CMF2 : CMP2 : ADh SC6

28 CE2 4 CP2 3 CN2 2 OE2 1 CO2 0 CMF2 : 0: 1: CE2 1 10uS : 0: CIN2A 1: CIN2B : 0: CMPREF 1: Vref : 1: (CE2 = 1) CMP2 CPU : CPU (CE2 = 0) : CO2 MCU (CE2 = 0) P0M1.7 P0M1.6 P0M1.5 P0M1.4 P0M1.3 P0M1.2 P0M1.1 P0M1.0 : P0M1 : B1h 1 1 P0M2.7 P0M2.6 P0M2.5 P0M2.4 P0M2.3 P0M2.2 P0M2.1 P0M2.0 : P0M2 : B2h P1M1.7 P1M1.6 - P1M P1M1.1 P1M1.0 : P1M1 : B3h

29 P1M2.7 P1M2.6 - P1M P1M2.1 P1M2.0 : P1M2 : B4h 2 2 P2S P1S P0S ENCLK T1OE T0OE P2M1.1 P2M1.0 : P2M1 : B5h P2M2.1 P2M2.0 : P2M2 : B6h 7 P2S =1: 2 6 P1S =1: 1 5 P0S =1: 0 4 ENCLK =1: RC XTAL2 (P2.0) 3 T1OE =1: 1 P0.7 P T0OE =1: 0 P1.2 P P2M1.1 P2.1 0 P2M1.0 P2.0 PXM1.Y PXM2.Y ( ) SC6

30 - PADCH PBOH PSH PT1H PX1H PT0H PX0H : IP0H : B7h 7-6 PADCH 1: ADC 5 PBOH 1: 4 PSH 1: 0 3 PT1H 1: 1 2 PX1H 1: 1 1 PT0H 1: 0 0 PX0H 1: PADC PBO PS PT1 PX1 PT0 PX0 : IP0 : B8h PADC 1: ADC. 5 PBO 1:. 4 PS 1:. 3 PT1 1: 1. 2 PX1 1: 1. 1 PT0 1: 0. 0 PX0 1:

31 : SADEN : B9h 0 SADEN 1 SADDR 7~0 SADEN SADEN.n 0 SADEN 0 I2C I2DAT.7 I2DAT.6 I2DAT.5 I2DAT.4 I2DAT.3 I2DAT.2 I2DAT.1 I2DAT.0 : I2DAT : BCh 0~7 I2DAT I2C I2C : I2STATUS : BDh I2C I2STATUS F8H I2STATUS I2C 0~7 I2STATUS (SI=1) SI 1 I2STATUS SI 0 I2STATUS 00H SC6

32 I2C I2CLK.7 I2CLK.6 I2CLK.5 I2CLK.4 I2CLK.3 I2CLK.2 I2CLK.1 I2CLK.0 : I2CLK : BEh 7~ 0 I2CLK I2C I2C / ENTI DIV4 TIF : I2TIMER : BFh 7~ ENTI 1 DIV4 0 TIF I2C14- / : 0: 14- /. 1: 14- / 14-0 I2C SI 1 I2C / 0: 14- / Fosc 1: 14- / Fosc/4 I2C / : 0: 14- /. 1: 14- / I2C (ENTI) SI 0 I2C 0 I2C - ENS1 STA STO SI AA - - : I2CON : C0h

33 ENS1 I2C 5 STA I2C START 4 STO I2C STOP 3 SI I2C 2 AA I2C I2C I2ADDR. 7 I2ADDR. 6 I2ADDR. 5 I2ADDR. 4 I2ADDR. 3 I2ADDR. 2 : I2ADDR : C1h 7~1 I2ADDR.7 ~ I2ADDR1 0 GC NVM I2C : I2ADDR. 1 I2ADDR uc 8- / 7 MCU. 0:. 1:. NVMAD DR.7 NVMAD DR.6 NVMAD DR.5 NVMAD DR.4 NVMAD DR.3 NVMAD DR.2 NVMAD DR.1 : NVMADDR : C6h 7~0 NVMADDR.7 ~ NVMADDR.0 NVM : NVMAD DR.0 NVM SC6

34 TA.7 TA.6 TA.5 TA.4 TA.3 TA.2 TA.1 TA.0 : TA : C7h 7~0 TA : TA AAH 55H 3 NVM 7 EER 6 EWR 5~0 - EER EWR : NVMCON : CEh NVM 0: NVM 1: 1 NVM FFH NVM 4 64 NVMADDR NVM NVM 0: NVM. 1: 1 NVM NVM 0 00H 3FH 1 40H 7FH 2 80H BFH 3 C0H FFH W79E823 W79E822 W79E

35 NVM NVMDA T.7 NVMDA T.6 NVMDA T.5 NVMDA T.4 NVMDA T.3 NVMDA T.2 NVMDA T.1 : NVM : CFh NVMDA T.0 7~0 NVMDAT.7 ~ NVMDAT.0 NVM NVM MOVC. CY AC F0 RS1 RS0 OV F1 P : PSW : D0h 7 CY ALU 6 AC 5 F0 0 4 RS1 3 RS0 2 OV : 1 F1 1: 0 P 1 RS.1-0: : RS1 RS h Fh h Fh SC6

36 PWM PWMP.9 PWMP.8 : PWMPH : D1h 7~2-1~0 PWMP.9 ~PWMP.8 PWM 9~8. PWM PWM0.9 PWM0.8 : PWM0H : D2h 7~2-1~0 PWM0.9 ~PWM0.8 PWM 0 9~8. PWM PWM1.9 PWM1.8 : PWM1H : D3h 7~2-1~0 PWM1.9 ~PWM1.8 PWM1 9~8. PWM PWM2.9 PWM2.8 : PWM2H : D5h 7~2-1~0 PWM2.9 ~PWM2.8 PWM2 9~

37 PWM PWM3.9 PWM3.8 : PWM3H : D6h 7~2-1~0 PWM3.9 ~PWM3.8 PWM3 9~8. PWM BKF : PWMCON3 : D7h 7~1-0 BKF. 0: PWM. 1: WM 0 WDRUN - WD1 WD0 WDIF WTRF EWRST WDCLR : WDCON : D8h 7 WDRUN 6-0: 1:. 5 WDI. 4 WD0. 3 WDIF SC6

38 2 WTRF 1 EWRST 0 WDCLR EWT 0 0:. 1:. 0 WDCON WDCON 0x0000x0B WTRF (WDCON.2) 1 0 WDIF (WDCON.3) POR 1 EWRST (WDCON.1) 0 WDCON EWRST, WDIF WDCLR TA TA TA REG C7H WDCON REG D8H CKCON REG 8EH MOV TA, #AAH MOV TA, #55H SETB WDCON.0 ; ORL CKCON, # B ; 26 MOV TA, #AAH MOV TA, #55H ORL WDCON, # B ; PWM PWMP.7 PWMP.6 PWMP.5 PWMP.4 PWMP.3 PWMP.2 PWMP.1 PWMP.0 : PWMPL : D9h 7~0 PWMP.7 ~PWMP.0 PWM

39 PWM0 PWM0.7 PWM0.6 PWM0.5 PWM0.4 PWM0.3 PWM0.2 PWM0.1 PWM0.0 : PWM0L : DAh 7~0 PWM0.7 ~PWM0.0 PWM0. PWM1 PWM1.7 PWM1.6 PWM1.5 PWM1.4 PWM1.3 PWM1.2 PWM1.1 PWM1.0 : PWM1l : DBh 7~0 PWM1.7 ~PWM1.0 PWM 1. PWM 1 PWMRUN Load CF CLRPWM PWM3I PWM2I PWM1I PWM0I : PWMCON1 : DCh 7 PWMRUN 6 Load 5 CF 0: PWM. 1: PWM. 0: PWMP 1: PWMP 0 0: : CLRPWM 1: 10- PWM 000H. 3 PWM3I 2 PWM2I 0: PWM3 1: PWM3 0: PWM2 1: PWM SC6

40 1 PWM1I 0: PWM1 1: PWM1 0 PWM0I 0: PWM0 1: PWM0 PWM2 PWM2.7 PWM2.6 PWM2.5 PWM2.4 PWM2.3 PWM2.2 PWM2.1 PWM2.0 : PWM2L : DDh 7~0 PWM2.7 ~PWM2.0 PWM2. PWM3 PWM3.7 PWM3.6 PWM3.5 PWM3.4 PWM3.3 PWM3.2 PWM3.1 PWM3.0 : PWM3L : DEh 7~0 PWM3.7 ~PWM3.0 PWM 3 PWM 2 BKCH BKPS BPEN BKEN PWM3B PWM2B PWM1B PWM0B : PWMCON2 : DFh

41 7 BKCH 6 BKPS 0: P0.2=0 PWM 1: P0.2=1 PWM 5 BPEN 4 BKEN 3 PWM3B 0:. 1: 0: PWM3 1: PWM3 2 PWM2B 1 PWM1B 0 PWM0B 0: PWM2 1: PWM2 0: PWM1 1: PWM1 0: PWM0 1: PWM0 BPEN BKCH 0 0 BKEN PWM (PWMRUN=0) PWMnB PWM PWM (PWMRUN=1) PWM PWMRUN BKF 0. ACC.7 ACC.6 ACC.5 ACC.4 ACC.3 ACC.2 ACC.1 ACC.0 : ACC : E0h ACC.7-0: The A ( ACC) SC6

42 ADC ADC.1 ADC.0 ADCEX ADCI ADCS RCCLK AADR1 AADR0 : ADCCON : E1h 7 ADC.1 ADC 1 6 ADC.0 ADC 0 5 ADCEX 4 ADCI 3 ADCS 2 RCCLK = 0 ADCS 1 ADC = 1 ADCS 1 STADC 1.4 ADC ADC ADCI 1 ADC ADC ADC ADC ADCS 1 ADC STADC 1 ADC ADCS= 1 ADCI ADCS= 0 ADCS= 1 ADCI = 1 ADC ADCI ADCS ADC ADC ADC ADCI=0 ADCI=0 ADCI=0 ADCS=1 A/D ADCI=0 ADCS=1 0: CPU ADC. 1: RC ADC. 1 AADR1 0 AADR0 AADR1, AADR0: ADC : ADC ADCI=0 ADCS=0 AADR1 AADR0 0 0 AD0 (P0.3) 0 1 AD1 (P0.4) 1 0 AD2 (P0.5) 1 1 AD3 (P0.6)

43 ADC ADC.9 ADC.8 ADC.7 ADC.6 ADC.5 ADC.4 ADC.3 ADC.2 : ADCH : E2h 7~0 ADC.9 ~ADC.2 ADC EPWM EWDI EC2 EC1 EKB EI2 : IE1 : E8h EPWM 4 EWDI 3 EC2 2 EC1 1 EKB 0 EI2 0: PWM 1: PWM 0:. 1:. 0: 2. 1: 2. 0: 1. 1: 1. 0:. 1:. 0: I2C. 1: I2C. B B.7 B.6 B.5 B.4 B.3 B.2 B.1 B.0 : B : F0h B.7-0: B SC6

44 0 P0ID.7 P0ID.6 P0ID.5 P0ID.4 P0ID.3 P0ID.2 P0ID.1 P0ID.0 : P0ID : F6h 7~0 P0ID.7 ~P0ID.0 / 0. 0: 0 1: PPWMH PWDIH PC2H PC1H PKBH PI2H : IP1H : F7h PPWMH 1: PWM 4 PWDIH 1: 3 PC2H 1: 2 2 PC1H 1: 1 1 PKBH 1: 0 PI2H 1: I2C

45 1 - - PPWM PWDI PC2 PC1 PKB PI2 : IP1 : F8h PPWM 1: PWM 4 PWDI 1: 3 PC2 1: 2 2 PC1 1: 1 1 PKB 1: 0 PI2 1: I2C SC6

46 9. W79E82X W79E82X W79E82X W79E82X W79E82X CARRY AUXILIARY CARRY : ADD X X X CLR C 0 ADDC X X X CPL C X SUBB X X X ANL C, X MUL 0 X ANL C, X DIV 0 X ORL C, X DA A X ORL C, X RRC A X MOV C, X RLC A X CJNE X SETB C 1 "X" CARRY AUXILIARY CARRY 9.1 W79E82X W79E82X 8032 W79E82X 4 4 C1 C2 C3 C4 2 50% W79E82X W79E82X MOVX W79E82X 2-9 RD WR W79E82X W79E82X W79E82X

47 Single Cycle C1 C2 C3 C4 CPU CLK ALE PSEN AD<7:0> Address <15:0> A7-0 Data_ in D7-0 Address A15-8 Instruction Fetch Operand Fetch CPU CLK C1 C2 C3 C4 C1 C2 C3 C4 ALE PSEN AD<7:0> PC OP-CODE PC+1 OPERAND Address<15:0> Address A15-8 Address A SC6

48 Instruction Fetch Operand Fetch Operand Fetch C1 C2 C3 C4 C1 C2 C3 C4 C1 C2 C3 C4 CPU CLK ALE PSEN AD<7:0> A7-0 OP-CODE A7-0 OPERAND A7-0 OPERAND Address<15:0> Address A15-8 Address A15-8 Address A Instruction Fetch Operand Fetch Operand Fetch Operand Fetch C1 C2 C3 C4 C1 C2 C3 C4 C1 C2 C3 C4 C1 C2 C3 C4 CPU CLK ALE PSEN AD<7:0> A7-0 OP-CODE A7-0 OPERAND A7-0 OPERAND A7-0 OPERAND Address<15:0> Address A15-8 Address A15-8 Address A15-8 Address A

49 Instruction Fetch Operand Fetch Operand Fetch Operand Fetch Operand Fetch C1 C2 C3 C4 C1 C2 C3 C4 C1 C2 C3 C4 C1 C2 C3 C4 C1 C2 C3 C4 CPU CLK ALE PSEN AD<7:0> A7-0 OP-CODE A7-0 OPERAND A7-0 OPERAND A7-0 OPERAND A7-0 OPERAND Address<15:0> Address A15-8 Address A15-8 Address A15-8 Address A15-8 Address A SC6

50 10. W79E82X PCON.0 CPU CPU ALE PSEN 2 RST H SFR 512 W79E82X PCON.1 SFR RST 0000H EA=1 ISR

51 11. W79E82X C4 RST 2 RST RST RST H (POR) POR VDD Vrst, POR H 11.4 SFR 0000H 0000H RAM RAM 07H VDD 2V RAM RAM RAM 2V RAM SFR FF P SC6

52 VALUE VALUE P B I2DAT xxxxxxxxb SP B I2STATUS 00000xxxB DPL B I B DPH B I2CLK B PCON 00xx0000B I2CON B TCON B I2ADDR xxxxxxxxb TMOD B TA B TL B PSW B TL B PWMP1 xxxxxx00b TH B PWM0H xxxxxx00b TH B PWM1H xxxxxx00b CKCON B PWM2H xxxxxx00b P1 1111xx11B PWM3H xxxxxx00b DIVM B WDCON 0x000000B SCON B PWMP B SBUF xxxxxxxxb PWM0L B P2 xxxxx11b PWM1L B KBI B PWMCON B AUXR B PWM2L B IE B PWM3L B SADDR B PWMCON B CMP B ACC B CMP B ADCCON xx000x00b P0M B ADCH xxxxxxxxb P0M B IE1 xx000000b P1M B B B P1M B P0IDS B P2M B IPH xx000000b P2M2 xxxxxx00b IP1 xx000000b IP0H IP0 SADEN x b x b B

53 WDCON / 0 WDCON 0x0x0xx0b 0x0x01x0b b POR WDCON.6 PFI WDCON WTRF WDCON.2 1, 0 EWT WDCON SC6

54 12. W79E82X INT0 INT1 IT0 IT1 TCON IE0 IE1 2 INTx IEx IEx IEx TF0 TF1 0 1 WDIF WDCON.3 EIE.4=1 SCON RI TI 1 0 / IE IE ADC ADC ADCCON ADCI 0 CMF1 CMF2 0 I2C SI SI 1 I2C I2C 0 PWM BKF

55 0 IE0 1( ) BOF 2 WDIF 3 0 TF0 4 I2C SI 5 ADC ADCI 6 1 IE1 7 KBI KBF 8 1 CMF1 9 1 TF CMF2 11 RI + TI 12 PWM BKF 13 ( ) LCALL LCALL IE IE1 IP0 IP0H IP1 IPH1 RETI. LCALL 1 LCALL TF0 TF1 INT0 INT1 WDIF PSW PC SC6

56 0 0003h 0 000Bh h 1 001Bh 0023h 002Bh I2C 0033h KBI 003Bh h - 004Bh 0053h ADC 005Bh h - 006Bh PWM 0073h - 007Bh IPXH IPX ( ) ( ) RETI RETI PC CPU PC W79E82X 4 W79E82X W79E82X 13. IEN0 IEN1 IEN0 EA 4 IP0, IP0H, IP1 IP1H

57 CPU 0 IE0 0003H EX0 (IE0.0) IP0H.0, IP0.0 1( ) BOF 002BH EBO (IE.5) IP0H.5, IP0.5 2 WDIF 0053H EWDI (IE1.4) IP1H.4, IP TF0 000BH ET0 (IE.1) IP0H.1, IP0.1 4 I2C SI 0033H EI2 (IE1.0) IP1H.0, IP1.0 5 ADC ADCI 005BH EAD (IE.6) IP0H.6, IP IE1 0013H EX1 (IE.2) IP0H.2, IP0.2 7 KBI KBF 003BH 1 CMF1 0063H EKB (IE1.1) EC1 (IE1.2) IP1H.1, IP1.1 8 IP1H.2, IP TF1 001BH ET1 (IE.3) IP0H.3, IP CMF2 0043H EC2 (IE1.3) IP1H.3, IP Tx Rx TI & RI 0023H ES (IE.4) IP0H.4, IP PWM BKF 0073H EPWM (IE1.5) IP1H.5, IP ( ) RC ADC 12.2 INT0 RI+TI C3 IEx 0 1 C ( ) W79E82X IE, IE1, IP0, IP0H, IP1 IP1H MUL DIV 12 1 IE, IE1, IP0, IP0H, IP1 IP1H 2 MUL DIV 5 LCALL SC6

58 % 12.3 W79E82X 13 IE0,IE1, BOF, KBF, WDT, ADC, CMF1 CMF2 IF0, IF1, RI+TI,SI BKF. 2 80C51 W79E82X CPU IE0 EX0 IE1 EX1 BOF EBO KBF EKB ADCI EADC WDT EWDI CM1 EC1 CM2 EC2 EA Wakeup (If in Power Down) Interrupt To CPU

59 TF0 ET0 TF1 ET1 RI+TI ES Interrupt To CPU SI EI2 EA BKF EPWM SC6

60 13. / W79E82X 2 16 / / 0&1 W79E82X 2 16 / TH0 8 TL0 8 1 TH1 TL T0 0 T1 1 T0 T1 C C3 T0 T1 1 TMOD C / T / TMOD 2 / 0 6 / 1 / 4 TMOD M0 M W79E82X / W79E82X 1/4 3 CKCON T0M T1M / 8 THx TLx 5 TLx 3 TLx TLx 1 0 THx THx FF 00 TCON TFx TRx GATE 0 INTx 1 C / T =0 / C / T =1 P1.2(T0) P0.7 T FFFH 0000H 1/12 1/4-60 -

61 Fcpu T0=P1.2 T1=(P0.7) TR0=TCON.4 TR1=TCON.6 GATE=TMOD.3 (GATE=TMOD.7) INT0=P1.3 (INT1=P1.4) 1/4 1/12 T0M=CKCON.3 (T1M=CKCON.4) 1 0 C/T=TMOD.2 (C/T=TMOD.6) 0 1 Timer 0/1 Mode 0 TL0 (TL1) TFx TH0 (TH1) TF0 (TF1) Interrupt T0OE (T1OE) P1.2 / / THx TLx 16 FFFFH 0000H Fcpu T0=P1.2 T1=(P0.7) TR0=TCON.4 TR1=TCON.6 GATE=TMOD.3 (GATE=TMOD.7) INT0=P1.3 (INT1=P1.4) 1/4 1/12 T0M=CKCON.3 (T1M= CKCON.4) 1 0 C/T=TMOD.2 (C/T=TMOD.6) 0 1 Timer 0/1 Mode 1 TL0 (TL1) TFx TH0 (TH1) TF0 (TF1) Interrupt T0OE (T1OE) P1.2 (P0.7) / SC6

62 / TLx 8 THx TLx FFH 00H TCON TFx THx TLx THx TRx GATE 0 INTx /12 1/4 Tn Fcpu T0=P1.2 T1=(P0.7) TR0=TCON.4 TR1=TCON.6 GATE=TMOD.3 (GATE=TMOD.7) INT0=P1.3 (INT1=P1.4) 1/4 1/12 T0M=CKCON.3 (T1M= CKCON.4) 1 0 C/T=TMOD.2 (C/T=TMOD.6) 0 1 TL0 (TL1) TH0 (TH1) TF0 (TF1) TFx Interrupt T0OE (T1OE) P1.2 (P0.7) Timer 0/1 Mode 2 : 8-bit Auto-reload Mode /

63 / 1 3 / 0 3 TL0 TH TL0 0 C / T, GATE, TR0, INT0 TF0 TL0 1/12 1/4 T0 1 0 TH0 / 1 TR1 TF TF1 TR1 1 GATE INT1 3 Fcpu 1/4 1/12 T0M=CKCON.3 (T1M=CKCON.4) 1 0 C/T=TMOD TL0 0 7 TF0 Interrupt T0=P1.2 TR0=TCON.4 T0OE P1.2 GATE=TMOD.3 INT0=P1.3 TH0 0 7 TR1=TCON.6 TF1 Interrupt Timer 0/1 Mode 3 : Two 8-bit Counters T1OE P0.7 / SC6

64 14. NVM W79E82X 256/128 NVM 256/128 NVM 4/ FC00h ~ FC3Fh 1 FC40h ~ FC7Fh 2 FC80h ~ FCBFh 3 FCC0h ~ FCFFh. NVM NVM MOVC A,@A+DPTR NVMADDR NVMDAT NVMCON NVMADDR NVMCON.7 EER ( ) PC 5ms. NVM NVMADDR NVMDA T EWR(NVMCON.6) uc 50us FFFFH FCFFH FC00H FBFFH Unused Code Memory 256 Bytes NVM Data Memory Unused Code Memory Page 3 64 bytes Page 2 64 bytes Page 1 64 bytes Page 0 64 bytes FCFFH FCC0H FCBFH FC80H FC7FH FC40H FC3FH FC00H NVM Data Memory Area Unused Data Memory FFFFH 4000H 3FFFH 0000H 16K/8K Bytes On-Chip Code Memory On-Chip Code Memory Space CONFIG 2 CONFIG H External Data Memory Space W79E825/W79E824 Memory Map

65 7~0 NVMADDR.7 ~ NVMADDR.0 NVM : NVM : NVMADDR : C6h 7 EER 6 EWR 5~0-0: NVM NVM 1: 1 NVM FFH NVM 4 64 NVMADDR NVM 0: NVM. NVM 1: 1 NVM : NVMCON : CEh NVM : PAGE 0 00H 3FH 1 40H 7FH 2 80H BFH 3 C0H FFH : W79E823, W79E822 W79E ~0 NVMDAT.7 ~NVMDAT.0 NVM NVM MOVC. : NVM : CFh SC6

66 15. 2 (Security Bit) WDTE uc clock 500KHz RC Oscillator /Enable WDRUN (WDCON.7) 0 Time-Out 26-bits Counter Selector (WDCON.3) WDIF Interrupt EWDI MUX (IE1.4) (WDCON.2) 11 WDRF WDCLR (Reset Watchdog) (WDCON.0) WD 1,WD0 (WDCON.5/4) 512 clock delay EWRST (WDCON.1) Reset WDCLR WDCLR RWT 1 WD1 WD0 WDCON.5 WDCON.4 WDIF(WDCON.3) 512 EWRST (WDCON.1) =1 WDCLR WTRF(WDCON.2) WDIF WDIF RWT EA=

67 WD1 WD0 INTERVAL NUMBER 10 MHZ ms ms ms ms 15.1 WDIF WDCON.3-1 (IE1.4)= 1 ( 1 ) 0 WDRF WDCON.2 1 EWDRST = 0 EWRST: WDCON WDCLR WDCON WD1, WD0: CKCON.5, CKCON EWT,WDIF RWT SC6

68 16. (UART) W79E82X W79E82X SBUF SBUF SBUF RXD TXD TXD W79E82X 8 1/12 1/4 SM2 SCON.5 SM2=0 1/12 SM2=1 1/ W79E82X 0 RXD TXD W79E82X / SBUF RXD 8 SM2=1 TXD RXD 1 TXD 2 TXD SM2=0 RXD TXD 3 TXD 6 TXD TXD Fcpu 1/12 Write to SBUF TX START Internal Data Bus TX SHIFT Transmit Shift Register PARIN LOAD CLOCK SOUT RXD P1.1 Alternate Output Function SM2 0 TX CLOCK TI Serial Interrupt RI REN RXD P1.1 Alternate Input Function RI RX CLOCK SHIFT CLOCK LOAD SBUF TX START RX SHIFT Serial Controllor CLOCK SIN PAROUT SBUF TXD P1.0 Alternate Output Function Read SBUF Internal Data Bus Serial Port Mode

69 TI C1 1 REN=1 RI=0 8 RI TXD 1 RI RXD TXD SCON RB8 1 1/16 1/32 1 SBUF 16 C1 TXD 16 C1 TXD 16 SBUF 9 TXD TI C1 SBUF REN=1 16 RXD REN= 1 RXD 1-0 RXD RXD 3 2 RXD RXD RB8 RI RI 1 RI=0 SM2=0 1 RB8 8 SBUF RI SC6

70 Timer 1 Overflow 1/2 Write to SBUF Internal Data Bus 1 0 Transmit Shift Register STOP PARIN START SOUT LOAD CLOCK TXD SMOD 0 1 TX START TX SHIFT 1/16 TX CLOCK 1/16 Serial Controllor TI Serial Interrupt SAMPLE 1-To-0 DETECTOR RX CLOCK TX START RI LOAD SBUF RX SHIFT Read SBUF RXD BIT DETECTOR CLOCK SIN PAROUT D8 Receive Shift Register SBUF RB8 Internal Data Bus Serial Port Mode TB8 (0) 9 RB8 1/32 1/64 PCON SMOD SBUF 16 C1 TXD 16 C1 TXD 16 SBUF 9 TXD TI C1 SBUF REN= 1 RXD 1-0 RXD RXD 3 2 RXD RXD

71 Transmit Shift Register Clock/2 1/2 Write to SBUF 1 TB8 Internal Data Bus 0 STOP D8 PARIN START LOAD CLOCK SOUT TXD SMOD 0 1 TX START TX SHIFT 1/16 TX CLOCK 1/16 Serial Controllor TI Serial Interrupt SAMPLE 1-To-0 DETECTOR RX CLOCK TX START RI LOAD SBUF RX SHIFT Read SBUF RXD BIT DETECTOR CLOCK PAROUT SIN D8 Receive Shift Register SBUF RB8 Internal Data Bus Serial Port Mode RB8 RI RI 1 RI=0 SM2=0 1 RB8 8 SBUF RI SFR SBUF 0 RI=0 REN=1 TXD RXD 8 REN= SC6

72 Transmit Shift Register Timer 1 Overflow 1/2 Write to SBUF 1 TB8 Internal Data Bus 0 STOP D8 PARIN START LOAD CLOCK SOUT TXD SMOD 0 1 TX START TX SHIFT 1/16 TX CLOCK 1/16 Serial Controllor TI Serial Interrupt SAMPLE 1-To-0 DETECTOR RX CLOCK TX START RI LOAD SBUF RX SHIFT Read SBUF RXD BIT DETECTOR CLOCK PAROUT SIN D8 Receive Shift Register SBUF RB8 Internal Data Bus Serial Port Mode 3 3 SM1 SM TCLKS TCLKS , , W79E82X SCON.7 FE FE_1) 8051 SM0 W79E82X SM0/FE FE SMOD0 PCON.6 SMOD0=1 FE SMOD0=0 SM0-72 -

73 FE 0 FE SMOD0 1 FE W79E82X RI 9 1 SM2 SM2 SM2=0 1 1 SM2=1 RI 1 SADDR SADEN SADDR 8 SADEN 0 SADDR SADEN 1 SADDR 1: SADDR SADEN Given x0x 2: SADDR SADEN Given xx =1 1=0 3 SADDR SADEN 0 FFH X SADDR SADEN A9h B9h SC6

74 17. W79E82X ROM / W79E82X 3 3 TA AAH 55H TA C7H TA REG 0C7h ; C7H TA MOV TA, #0AAh MOV TA, #055h TA AAh 3 55h; 3 55h, 3 1 MOV TA, #0AAh 3 M/C : M/C = MOV TA, #055h 3 M/C MOV WDCON, #00h 3 M/C 2 MOV TA, #0AAh 3 M/C MOV TA, #055h 3 M/C NOP 1M/C SETB EWT 2 M/C 3 MOV TA, #0Aah 3 M/C MOV TA, #055h 3 M/C ORL WDCON, # B 3M/C

75 4 MOV TA, #0AAh 3 M/C MOV TA, #055h 3 M/C NOP 1 M/C NOP 1 M/C CLR POR 2 M/C 5 MOV TA, #0AAh 3 M/C NOP 1 M/C MOV TA, #055h 3 M/C SETB EWT 2 M/C SC6

76 18. (KBI) W79E82X 8 W79E82X CPU P0 P0 KBI KBI0 ~ KBI7 KBI ( 1 ) AUXR1 (KBF) 1 KB 0 KBI P0 P0.7 KBI.7 P0.6 KBI.6 P0.5 KBI.5 P0.4 KBI.4 KBF (KBI Interrupt) P0.3 KBI.3 EKB (From IEN1 Register) P0.2 KBI.2 P0.1 KBI.1 P0.0 KBI

77 19. W79E82X MCU (CMP1 CMP2) CINnA, CINnB, CMPREF OEn 1 CMP1 CMP2 OEn 1 (Vref) 1.19V +/- 10%. (P0.4) CIN1A (P0.3) CIN1B (P0.5) CMPREF Enable CMP1 Vref CP1 CMP1 Analog Circuit Comparator 1 + CO1 - OE1 CMP1(P0.6) CE1 CE2 (P0.2) CIN2A (P0.1) CIN2B En Enable CMP2 Vref CN1 CP2 CMP2 Analog Circuit Comparator 2 + CO2 - Change Detect OE2 CMF1 Interrupt CMP2(P0.0) CN2 Change Detect CMF2 Interrupt SC6

78 20. I/O W79E82X MCU 3 I/O P0 P1 P2 I/O 4 P1.5 1 RPD=0 W79E82X MCU 15 I/O RC P1.5 W79E82X MCU 18 I/O I/O I/O PXM1.Y PXM2.Y ( ) 1 1 CONFIG1 PRHI P1.5 P2M1 ENT0 ENT W79E82X I/O P2M1 P(n)S TTL n P(n)S 1 RC P2.0(XTAL2) RC 1/ MCU CPU

79 VDD 2 CPU Clock Delay P P Very P Strong Weak Weak Port Pin Port Latch Data N Input Data Quasi-Bidirection Output 20.2 Port Pin Port Latch Data N Input Data Open Drain Output SC6

80 W79E82X MCU 3 P1.2, P1.3, P1.5 P1.2 P1.3 VDD P Port Pin Port Latch Data N Input Data Push-Pull Output 20.4 W79E82X PxM1.y PxM2.y TTL

81 21. W79E82X 3 CONFIG (CONFIG1) RC 4MHz 20MHz Crystal Oscillator 00H Internal RC Oscillator External Clock input 01H 11H 16 bits Ripple Counter FOSC1 FOSC0 Divide-By-M (DIVM Register ) CPU Clock Power Monitor Reset Power Down 21.1 RC RC 6MHz +/- 25% FOSC1 FOSC0 = 10H RC P2.0 (XTAL2) 21.2 FOSC1, FOSC0 = 11H (XTAL1) 0Hz 20MHz P2.0 (XTAL2) W79E82X MCU RC W79E82X P2M1 ENCLK XTAL2/CLK 1/4 CPU 21.3 CPU W79E82X CPU DIVM DIVM = 00H CPU 4CPU / (Fosc) DIVM N CPU 2(DVIM+1) CPU CPU CPU CPU (Fcpu) SC6

82 22. W79E82X POF (PCON.4) 1 POF 22.2 W79E82X 2 BOV ( 1.4) BOV =0 3.8V BOV = 1 2.5V VDD Brownout Detect Circuit BOF 0 1 To Reset To Brownout interrupt BOD (Enable Brownout Detect ) BOI Drownout Detect Block BOD (AUXR.6) BOF (PCON.5) BOF BOI (AUXR1.5) 1 EA (IE.7) EBO (IE.5) 1. VDD 50mV/us 2mV/us

83 23. (PWM) W79E82X 4 PWM PWM PWM0(P0.1) PWM1(P1.6) PWM2(P1.7) PWM3(P0.0) PRHI 1 PWM 1 PRHI 0 PWM 0 PWM 1 PWM 1 W79E82X 10- PWM PWM CPU F CPU = F OSC PWM f = FCPU / (PWMP+1), PWMP 10- PWMPH.1 PWMPH.0 PWMPL.7~PWMPL.0 PWMP PWMRUN CF 10- CF PWMP PWM PWMP CLRPWM H CF PWMRUN PWM PWM PWM0L PWM3L PWM0H PWM3H PWM 10- PWM PWMn 1 PWMn t HI = (PWMP PWMn+1) 000H PWMn 3FFH PWMn SC6

84 PWMP Register Counter Register load BKCH BPEN BKEN Brake Control Block Brake Flag BKF Enable External Brake Pin (BPEN,BKCH) = (1,0) 0 1 BKPS P0.2=0 P0.2=1 Brake Pin (P0.2) CF PWMRUN 10-bits Counter X + F Clear CPU Counter CLRPWM > Y -- Compare Register PWM0I PWM0B 0 1 P0.1 Bit PWM0 Pin P0.1 PWM0 register Compare Register X + > Y - PWM1I PWM1B 0 1 P1.6 Bit PWM1 Pin P1.6 PWM1 register Compare Register X + Y > - PWM2I PWM2B 0 1 P1.7 Bit PWM2 Pin P1.7 PWM2 register Compare Register X + Y > - PWM3I PWM3B 0 1 P0.0 Bit PWM3 Pin P0.0 PWM3 register

85 PWM PWMCON1, PWMCON2, PWMCON3 PWM PWMPL(D9H) 7~0 PWMP.7 ~PWMP.0 PWM 7~0 PWM PWMPH(D1H) 7~2-1~0 PWMP.9 ~PWMP.8 PWM 9~8 PWM 0 PWM0L(DAH) 7~0 PWM0.7 ~PWM0.0 PWM 0 7~0 PWM 1 PWM1L(DBH) 7~0 PWM1.7 ~PWM1.0 PWM 1 7~0 PWM 2 PWM2L(DDH) 7~0 PWM2.7 ~PWM2.0 PWM 2 7~0 PWM 3 PWM3L(DEH) 7~0 PWM3.7 ~PWM3.0 PWM3 7~0 PWM 0 PWM0H(D2H) 7~ SC6

86 1~0 PWM0.9 ~PWM0.8 PWM0 9~8 PWM1 PWM1H(D3H) 7~2-1~0 PWM1.9 ~PWM1.8 PWM 1 9~8 PWM2 PWM2H(D5H) 7~2-1~0 PWM2.9 ~PWM2.8 PWM 2 9~8 PWM3 PWM3H(D6H) 7~2-1~0 PWM3.9 ~PWM3.8 PWM3 9~8 PWM 1 PWMCON1(DCH) 7 PWMRUN 6 Load 5 CF 0: PWM. 1: PWM. 0: PWMP PWMn 1: PWMP PWMn PWMP PWMn 0 0: : CLRPWM 1: 10- PWM 000H. 3 PWM3I 2 PWM2I 0: PWM3 1: PWM3 0: PWM2 1: PWM2-86 -

87 1 PWM1I 0 PWM0I 0: PWM1 1: PWM1 0: PWM0 1: PWM0 PWM 2 PWMCON2(DFH) 7 BKCH 6 BKPS 0: P0.2=0 PWM 1: P0.2=1 PWM 5 BPEN 4 BKEN 3 PWM3B 2 PWM2B 1 PWM1B 0 PWM0B 0:. 1: 0: PWM3 1: PWM3 0: PWM2 1: PWM2 0: PWM1 1: PWM1 0: PWM0 1: PWM0 BPEN BKCH 0 0 BKEN 0 1 PWM (PWMRUN=0) PWMnB PWM PWM PWMRUN BKF SC6

88 PWM 3 PWMCON3 (D7H) 7~1-0 BKF. 0: PWM. 1: PWM

89 W79E82X (P0.2) PWMCON2 PWM PWMnB BKEN 1 BPEN BKCH (BPEN, BKCH) = (0,0) (BPEN, BKCH) = (0,1) PWM PWMRUN PWM PWMRUN=0 PWM PWMnB PWM PWMRUN = 1 PWM W79E82X (P0.2) PWM (BKF) PWM P0.2 BKPS = 0 BKF(PWMCON3.0) 1 PWNRUN PWM PWM PWMnB BKF(PWMCON3.0) 1 PWMCON1.7 PWM PWM PWM PWM PWM Start To change external pin to S/W Brake To set PWM Comparator output to High (1) or Low (0), The output high is 000H, output low is 3FFH or given output brake pattern To clear BKF flag, that will release PWMnB brake Polling external brake pin. If brake pin is not active Yes To decide PWM output frequency and width by PWMP and PWM[3:0] registers No Clear 10-bits Counter to 000H by CLRPWM bit Start PWM running, that set PWMRUN and load to 1. End SC6

90 24. W79E82X ADC DAC (VDAC) (Vin) (V DAC) ADCCON ADCS 1 ADCS ADC ADCCEX 1 ADCCON.5 (ADCEX) =0 ADCCON.3 (ADCS) 1 ADC ADCCON.5 =1 ADCCON.3 (ADCS) 1 STADC (P2.0) ADC STADC (P2.0) ADC STADC. ADCCON.4 (ADCI) ADCH ADCCON.7 (ADC.1) ADCCON.6 (ADC.0) ADCCON 8- ADC ( 8 ADCH ) 50 ADC ADCS ADCCON.0 ADCCON ADC ADCI = 1 ADC (ADCI = 1) DAC MSB Successive Approximation Register LSB Successive Approximation Control Logic Start Ready (Stop) VDAC Comparator - Vin + The Successive Approximation ADC ADC

91 24.1 ADC ADC (AVDD and AVSS ) (Vref+) DAC 1023 AVss 0.5XR Vref+ 0.5XR 1024XR DAC AVss [(Vref+ ) + ½ LSB] 10- ADC b = 000H [(Vref+) 3/2 LSB] Vref+ 10- ADC B = 3FFH AVref+ AVSS AVDD + 0.2V AVSS 0.2 V Avref+ AVSS (Vin) AVref+ AVSS Result = 1024? Vin Result = AVref? 1024? VDD VSS ADC SC6

92 25. I2C 2 (SDA SCL)I2C 2 ( ) I2C W79E82X I2C I2C ( ) I2C (I2STA) I2C CPU I2C 4 : I2CON (SIO1 ), I2STA (SIO1 ), I2DAT (SIO1 ), I2ADR (SIO1 ) SIO1 I2C P1 P1.2/SCL ( ) P1.3/SDA ( ) 25.1 SIO1 SIO1 I/O I2C SIO1 I2CON ENS1 '1' CPU SIO1 6 I2CON (I2C, C0H), I2STATUS (, BDH), I2DAT (, BCH), I2ADDR (, C1H), I2CLK ( BEH) I2 (, BFH). SIO1 I2C 2 SDA (P1.3, ) SCL (P1.2, ) SIO1 P1.2 P I2C : W79E82X I2C , I2ADDR SIO1 I2ADDR CPU 8-8- SIO1 SIO1 I2ADDR.7 I2ADDR.6 I2ADDR.5 I2ADDR.4 I2ADDR. 3 : I2ADDR : C1h I2ADDR.2 I2ADDR. 1 GC

93 25.2.2, I2DAT CPU 8- SIO1 (SI) 1 SI= 1 I2DAT I2DAT I2DAT I2DAT.7 I2DAT.6 I2DAT.5 I2DAT.4 I2DAT.3 I2DAT.2 I2DAT.1 I2DAT.0 : I2DAT : BCh I2DAT 9- SIO1 CPU I2DAT SCL I2DAT I2DAT (ACK NACK) 9 (SCL ) I2DAT (SCL ) I2DAT , I2CON CPU 8- SI SIO1 STO SI 1 ENS1 = "0" STO - ENS1 STA STO SI AA - - : I2CON : C ENS1 5 STA 0: I2C SDA SCL SDA SCL I2C I2CON STO 0 P1.0(SCL) P1.1(SDA) I/O 1: I2C P1.0 P :STA 1:STA 1 I2C I2C I2C I2C STOP I2C STA 1 I2C STA 1 STA I2C SC6

94 4 STO 3 SI 2 AA I2C STO 1 I2C STOP STOP I2C STO STO 1 STOP I2C I2C STOP STO I2C ( I2C STOP ) STA STO 1 STOP I2C I2C 0: SI SCL 1: SI 1 0 EA ES ( IE ) 1 SI 1 SCL SI 0: SCL (SDA ) 1) SIO1 2) SIO1 1: SCL (SDA ) 1) 2) SIO1 3) SIO I2C, I2CLK SIO1 I2C I2CLK SIO1 I2C 400 KHz I2C I2C = Fcpu / (I2CLK+1) Fcpu=Fosc/4 Fosc = 16MHz I2CLK = 40(28H) I2C I2C = 16MHz /(4X (40 +1)) = 97.56K / I2CLK.7 I2CLK.6 I2CLK.5 I2CLK.4 I2CLK.3 I2CLK.2 I2CLK.1 I2CLK.0 : I2CLK : BEh 7 ~ 0 I2CLK

95 Fosc 0 1/ bits Counter Clear Counter TIF To I2C Interrupt DIV4 ENTI SI SI I2C Timer Count Block Diagram , I2STATUS I2STATUS I2STATUS F8H I2STATUS SIO1 (SI = 1) SI 1 1 SI I2STATUS 00H START STOP 25.3 I2C 4 / / / I2CON STA STO AA SI SIO1 I2STATUS SI 1 ( SI ) Last state Last action is done Expected next action 08H A START has been transmitted. (STA,STO,SI,AA)=(0,0,0,X) SLA+W will be transmitted ; ACK bit will be received. (1) Data byte will be transmitted : Software should load the data byte (to be transmitted ) into S 1DAT before new S1CON setting is done. (2) SLA+W (R) will be transmitted : Software should load the SLA+W/R (to be transmitted ) into S 1DAT before new S1CON setting is done. (3) Data byte will be received: Software can read the received data byte from S 1DAT while a new state is entered. New state next action is done 18H SLA+W has been transmitted; ACK has been received SC6

96 Set STA to generate a START. From Slave Mode (C) 08H A START has been transmitted. ( STA,STO,SI,AA)=(0,0,0,X) SLA+W will be transmitted; ACK bit will be received. From Master/Receiver (B) 18 H SLA+W will be transmitted; ACK bit will be received. or 20 H SLA+W will be transmitted; NOT ACK bit will be received. ( STA,STO,SI,AA )=( 0,0,0,X ) Data byte will be transmitted; ACK will be received. (STA,STO,SI,AA)=(1,0,0,X) A repeated START will be transmitted ; (STA,STO,SI,AA )=(0,1,0,X ) A STOP will be transmitted; STO flag will be reset. (STA,STO,SI,AA )=(1,1,0,X) A STOP followed by a START will be transmitted; STO flag will be reset. 28 H Data byte in S1DAT has been transmitted; ACK has been received. or 10 H A repeated START has been transmitted. Send a STOP Send a STOP followed by a START 30 H Data byte in S1DAT has been transmitted; NOT ACK has been received. (STA,STO,SI,AA )=(0,0,0,X ) SLA+R will be transmitted; ACK bit will be transmitted; SIO 1 will be switched to MST/REC mode. 38 H Arbitration lost in SLA+R/W or Data byte. To Master/Receiver (A) ( STA,STO,SI,AA)=(0,0,0,X) I 2C bus will be release; Not address SLV mode will be entered. (STA,STO,SI,AA)=( 1,0,0,X ) A START will be transmitted when the bus becomes free. Enter NAslave Send a START when bus becomes free

97 Set STA to generate a START. From Slave Mode (C) 08H A START has been transmitted. From Master/Transmitter (A) ( STA, STO, SI, AA)=(0,0, 0, X) SLA+ R will be transmitted; ACK bit will be received. 48H SLA+ R has been transmitted; NOT ACK has been received. 40H SLA +R has been transmitted; ACK has been received. (STA,STO, SI,AA )=(0,0,0,0) Data byte will be received; NOT ACK will be returned. (STA, STO,SI, AA)=(0,0,0, 1) Data byte will be received; ACK will be returned. 58H Data byte has been received; NOT ACK has been returned. 50H Data byte has been received; ACK has been returned. (STA,STO,SI,AA )=(1,1,0,X ) A STOP followed by a START will be transmitted; STO flag will be reset. (STA, STO,SI, AA)=( 0, 1, 0, X) A STOP will be transmitted; STO flag will be reset. (STA, STO,SI, AA)=(1, 0, 0, X) A repeated START will be transmitted; Send a STOP followed by a START Send a STOP 10H A repeated START has been transmitted. 38H Arbitration lost in NOT ACK bit. (STA, STO,SI, AA)=(0,0, 0,X) SLA+ R will be transmitted; ACK bit will be transmitted; SIO1 will be switched to MST/REC mode. (STA,STO,SI, AA)=(1,0, 0,X) A START will be transmitted ; when the bus becomes free ( STA, STO, SI,AA )=(0,0, 0, X) I 2C bus will be release; Not address SLV mode will be entered. To Master/Transmitter (B) Send a START when bus becomes free Enter NAslave SC6

98 Set AA A8H Own SLA+R has been received; ACK has been return. or B0 H Arbitration lost SLA+R/W as master ; Own SLA+R has been received; ACK has been return. (STA,STO,SI,AA)=(0,0,0,0) Last data byte will be transmitted ; ACK will be received. (STA,STO,SI,AA)=(0,0,0,1) Data byte will be transmitted; ACK will be received. C8H Last data byte in S1DAT has been transmitted; ACK has been received. C0 H Data byte or Last data byte in 1SDAT has been transmitted; NOT ACK has been received. B8H Data byte in S1 DAT has been transmitted; ACK has been received. (STA,STO,SI,AA)=(0,0,0,0) Last data will be transmitted; ACK will be received. (STA,STO,SI,AA)=(0,0,0,1 ) Data byte will be transmitted; ACK will be received. A0 H A STOP or repeated START has been received while still addressed as SLV/REC. ( STA,STO,SI,AA)=( 1,0,0,1) Switch to not address SLV mode ; Own SLA will be recognized; A START will be transmitted when the bus becomes free. (STA,STO,SI,AA)=(1,0,0,0) Switch to not addressed SLV mode; No recognition of own SLA; A START will be transmitted when the becomes free. (STA,STO,SI,AA)=(0,0,0,1) Switch to not addressed SLV mode ; Own SLA will be recognized. (STA,STO,SI,AA)=(0,0,0,0 ) Switch to not addressed SLV mode ; No recognition of own SLA. Send a START when bus becomes free Enter NAslave To Master Mode (C)

99 Set AA 60 H Own SLA+W has been received; ACK has been return. or 68 H Arbitration lost SLA+R/W as master; Own SLA+W has been received; ACK has been return. (STA,STO,SI,AA)=(0,0,0,0) Data byte will be received; NOT ACK will be returned. (STA,STO,SI,AA)=(0,0,0,1) Data byte will be received; ACK will be returned. 88H Previously addressed with own SLA address ; NOT ACK has been returned. 80H Previously addressed with own SLA address ; Data has been received; ACK has been returned. A0H A STOP or repeated START has been received while still addressed as SLV/REC. ( STA,STO,SI,AA)=( 0,0,0,0) Data will be received; NOT ACK will be returned. ( STA,STO,SI,AA)=(0,0,0,1) Data will be received; ACK will be returned. (STA,STO,SI,AA)=(1,0,0,1) Switch to not address SLV mode ; Own SLA will be recognized; A START will be transmitted when the bus becomes free. (STA,STO,SI,AA)=( 1,0,0,0 ) Switch to not addressed SLV mode ; No recognition of own SLA; A START will be transmitted when the becomes free. ( STA,STO,SI,AA)=( 0,0,0,1) Switch to not addressed SLV mode ; Own SLA will be recognized. (STA,STO,SI,AA)=(0,0,0,0) Switch to not addressed SLV mode ; No recognition of own SLA. Send a START when bus becomes free Enter NAslave To Master Mode (C) SC6

100 GC Set AA 70 H Reception of the general call address and one or more data bytes; ACK has been return. or 78 H Arbitration lost SLA+R/W as master; and address as SLA by general call ; ACK has been return. ( STA,STO,SI,AA)=(X,0,0,0) Data byte will be received; NOT ACK will be returned. (STA,STO,SI,AA)=(X,0,0,1) Data byte will be received; ACK will be returned. 98H Previously addressed with General Call ; Data byte has been received; NOT ACK has been returned. 90H Previously addressed with General Call ; Data has been received; ACK has been returned. A0H A STOP or repeated START has been received while still addressed as SLV/REC. ( STA,STO,SI,AA)=(X,0,0,0) Data will be received; NOT ACK will be returned. (STA,STO,SI,AA)=(X,0,0,1 ) Data will be received; ACK will be returned. (STA,STO,SI,AA)=(1,0,0,1) Switch to not address SLV mode ; Own SLA will be recognized; A START will be transmitted when the bus becomes free. (STA,STO,SI,AA)=(1,0,0,0 ) Switch to not addressed SLV mode ; No recognition of own SLA; A START will be transmitted when the becomes free. ( STA,STO,SI,AA)=(0,0, 0,1) Switch to not addressed SLV mode ; Own SLA will be recognized. (STA,STO,SI,AA)=(0,0,0,0) Switch to not addressed SLV mode ; No recognition of own SLA. Send a START when bus becomes free Enter NAslave To Master Mode (C)

101 26. ICP( ) FLASH W79E82X ICP( ) ICP P1.5 P0.4 P0.5 ICP ICP ( ~10.5V) P1.5 ICP ICP 1 W79E82X Flash EPROM 16K/8K/4K/2K/1K AP Flash EPROM 256/128 NVM ICP AP Flash EPROM 256/128 NVM Vcc ICP Power Jumper Vdd ICP Connector Vdd Jumper Vpp Data Clock P1.5 P0.4 P0.5 To Reset or Input Pin To I/O pin To I/O pin Vss Vss Vss ICP Program Tool W79E82X Chip System Board : 1 P1.5, P0.4 P0.5 2 ICP ICP SC6

102 27. W79E82X 2 (CONFIG1 CONFIG2) 2 2 flash EPROM 2 flash EPROM 2 MOVC 27.1 CONFIG1 7 WDTE : 0: RC 1: CPU 6 RPD : 0: P1.5. 1: P1.5 5 PRHI : 0:. 1:. 4 BOV : 0: 3.8V. 1: 2.5V Fosc1 CPU 1 0 Fosc0 CPU

103 : FOSC1 FOSC MHz ~ 20MHz 0 1 RC CONFIG2 C7: 16K/8K/4K/2K Flash EPROM W79E82X 0 Flash EPROM C6: 256/128 Flash EPROM W79E82X 256/128 0 Flash EPROM K/8K/4K/2K 256/128 ICP K/8K/4K/2K ICP 256/ K/8K/4K/2K 256/128 ICP SC6

104 28. DC VDD?VSS V VIN VSS-0.3 VDD+0.3 V TA ?C Tst ?C

105 29. DC/ADC / 29.1 DC (TA = -40~85?C, unless otherwise specified.) MIN. TYP. MAX. UNIT V DD V I DD I IDLE I PWDN ma V DD =4.5V ~ 20MHz V DD =2.7V ~ 12MHz V DD = 20MHz, No load, RST = V ss 6 8 ma V DD = 12MHz, No load, RST = V ss ma V DD = 5.5V, 20 MHz, no load ma V DD = 3.0V, 12 MHz, no load 1 10?A 1 10?A V DD = 5.5V, no BOV V DD = 3.0V, no BOV P0, P1, P2 I IN ?A V DD = 5.5V, V IN = 0V<V IN<V DD P1.5(RST pin) [1] I IN ?A V DD = 5.5V, V IN = 0.45V P0, P1, P2 ( ) ILK ?A VDD = 5.5V, 0<VIN<VDD [*3] P0, P1, P2 1 0 I TL P0, P1, P2 (TTL ) V IL1 P0, P1, P2 (TTL ) V IH1 XTAL1 [*2] XTAL1 [*2] V IL3 VIH ?A V DD = 5.5V, V IN<2.0V V DD = 4.5V V V DD = 2.7V V DD +0.2 V DD = 5.5V V VDD +0.2 VDD =3.0V V DD = 4.5V V V DD = 3.0V V DD +0.2 V DD = 5.5V V V DD +0.2 V DD = 3.0V ( ) VILS VDD V ( ) V IHS 0.7V DD - V DD+0.5 V V HY 0.2V DD V P0, P1, P2 I SR ?A V DD = 4.5V, V S = 2.4V ( ) P0, P1, P2 I SK ma V DD = 4.5V, V S = 0.45V ( ) P0, P1, P2 ( ) V OL V V DD = 4.5V, I OL = 20 ma V V DD = 2.7V, I OL = 3.2 ma SC6

106 P0, P1, P2 ( ) V OH V V DD = 4.5V, I OH = -16mA V DD = 2.7V, I OH = -3.2mA BOV=1 V BO V BOV=0 V BO V Vref V : *1. RST. *2. XTAL1 CMOS. *3. P2 P3 VIN 2V 29.2 ADC DC (VDD?VSS = 3.0~5V, TA = -40~85?C, Fosc = 20MHz,.) MIN. TYP. MAX. UNIT AVin V SS -0.2 V DD +0.2 V ADC ADCCLK 200KHz - 5MHz Hz ADC t C 52t ADC 1 DNL LSB INL LSB Ofe LSB Ge % Ae LSB : 1. tadc: ADC us

107 29.3 (VDD?VSS = 3.0~5V, TA = -40~85?C, Fosc = 20MHz, ) MIN. TYP. MAX. UNIT V CR 0 VDD-0.3 V CMRR -50 db t RS ns t EN us IIL ua 0< VIN <VDD 30. AC tclcl tclch tclcx tchcl tchcx : 50%. 31. TYP. t CHCX ns t CLCX ns Rise t CLCH ns Fall tchcl ns SC6

108 32. AC 1/t CLCL 0 20 MHz 33. C1 C2 R 4MHz ~ 20 MHz C1 XTAL1 R C2 XTAL2 W79E825 W79E

109 pin SOP 20L SOP-300mil E 1 10 Control demensions are in milmeters. E? SC6

110 pin DIP 20L PDIP 300mil 20 D 11 1 E 1 10 S E A 2 A 1 A Base Plane c L Seating Plane B B 1 e 1 a ea Symbol A A A B c D E e L a e S 1 2 B 1 E1 1 A Dimension in inch Min Nom Max Min Nom Max Dimension in mm

111 pin SOP 24L SOP-300mil E 1 12 Control demensions are in milmeters. E? SC6

112 35. SC SC ,6 SC ~91 W79E823 W79E822 W79E821 4 SC SC ~ SC6 2007/2/ PWM 4. CLRPWM DC 6. JTAG 1. ROM ICP Important Notice Winbond products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. Further more, Winbond products are not intended for applications wherein failure of Winbond products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur. Winbond customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Winbond for any damages resulting from such improper use or sales. Headquarters No. 4, Creation Rd. III, Science-Based Industrial Park, Hsinchu, Taiwan TEL: FAX: Taipei Office 9F, No.480, Rueiguang Rd., Neihu District, Taipei, 114, Taiwan, R.O.C. TEL: FAX: Winbond Electronics Corporation America 2727 North First Street, San Jose, CA 95134, U.S.A. TEL: FAX: Winbond Electronics Corporation Japan 7F Daini-ueno BLDG, Shinyokohama Kohoku-ku, Yokohama, TEL: FAX: Winbond Electronics (Shanghai) Ltd. 27F, 2299 Yan An W. Rd. Shanghai, China TEL: FAX: Winbond Electronics (H.K.) Ltd. Unit 9-15, 22F, Millennium City, No. 378 Kwun Tong Rd., Kowloon, Hong Kong TEL: FAX: Please note that all data and specifications are subject to change without notice. All the trademarks of products and companies mentioned in this datasheet belong to their respective owners

5. P0.0 P0.7 P0 4 2 P0.3~P0.6 ADC P1.0 P P1.2(SCL) P1.3(SDA) P1.5 RST P1.5 2 XTAL1(P2.1) 1 XTAL0(P2.0) 2 XTAL1 I/O VDD VSS 6. H5815 4T 16K Flas

5. P0.0 P0.7 P0 4 2 P0.3~P0.6 ADC P1.0 P P1.2(SCL) P1.3(SDA) P1.5 RST P1.5 2 XTAL1(P2.1) 1 XTAL0(P2.0) 2 XTAL1 I/O VDD VSS 6. H5815 4T 16K Flas H5815 1. H5815 H5815 3 H5815 8052 16K Flash EPROM 256 NVM Flash EPROM 256 RAM 2 8 1 2 I/O 16-2 / 4 10 AD 4 10 PWM 1 I2C 1 UART 13 4 H5815 2. 4T 51 20MHZVDD=2.7V~ 16K Flash EPROM 256 RAM 256 NVM FLASH EPROM

More information

W77E58中文手册

W77E58中文手册 W77E58 77E58 8051 8051 8051 77E58 8051 1.5 3 COMS 32K EEPROM 1K SRAM 1 8 2 40M 4 3 8051 4 8051 5 4 8 I/O 6 4 I/O 44 PLCC QFP 7 16 / 8 12 9 10 11 1K 12 13 16 DPTR 14 15 DIP40 W77E58 25/40 PLCC44 W77E58P

More information

DPJJX1.DOC

DPJJX1.DOC 8051 111 2K 1 2 3 ' ' 1 CPU RAM ROM / A/D D/A PC CPU 40 68 10 20 8 51 PIII 8051 2 MCS51 8051 8031 89C51 8051 8031 89C51? MCS51 INTEL INTEL 8031 8051 8751 8032 8052 8752 8051 8051 8051 MCS51 8031 8031

More information

1-1 SH79F6431 A. 2( ) 9~15V ( 12V) U2 U3 3.3V SH79F B. 1(VCC/GND) SH79F6431 C. VDDIO SH79F6431 P4 P5 P0.6 P0.7 VDDIO VDDIO=5V D. 2 V 1.0

1-1 SH79F6431 A. 2( ) 9~15V ( 12V) U2 U3 3.3V SH79F B. 1(VCC/GND) SH79F6431 C. VDDIO SH79F6431 P4 P5 P0.6 P0.7 VDDIO VDDIO=5V D. 2 V 1.0 SH79F6431 1. SH79F6431 1T 8051 FLASH SH79F JET51 Keil µ vision JTAG 1.1. SH79F6431 LQFP64 1.2. (Target Board) SH79F6431 1 V 1.0 1-1 SH79F6431 A. 2( ) 9~15V ( 12V) U2 U3 3.3V SH79F6431 1 2 1 B. 1(VCC/GND)

More information

Microsoft Word - 專題封面.doc

Microsoft Word - 專題封面.doc 逢 甲 大 學 資 訊 工 程 學 系 專 題 研 究 報 告 8051 小 遊 戲 -21 點 指 導 教 授 : 陳 德 生 學 生 : 許 博 益 中 華 民 國 九 十 六 年 六 月 I 目 錄 第 一 章 緒 論 1 1-1 研 究 背 景 1 1-2 研 究 動 機 2 1-3 研 究 目 的 3 1-3-1 21 點 源 起 3 1-3-2 21 點 規 則 3 第 二 章 微 電

More information

2 Keil µ vision 2.1 1) Keil µ vision2 V2.34 µ vision3 2) Sino_Keil.exe Keil c:\keil\ 3) JET51 USB PC C:\Keil\ USB PC 4) S-L

2 Keil µ vision 2.1 1) Keil µ vision2 V2.34 µ vision3 2) Sino_Keil.exe   Keil c:\keil\ 3) JET51 USB PC C:\Keil\ USB PC 4) S-L 1 SH88F516 8051 64K FLASH 1024 EEPROM SH88F516 JET51 S-Lab Keil µ vision ISP51 Keil µ vision ISP51 ISP51 PC RS232 MCU SH88F516 SH88F516 1.1 SH88F516 1.1 SH88F516 SH88Fxx: QFP44, DIP40 RAM Flash E2 ADC

More information

7688使用手冊V10.doc

7688使用手冊V10.doc TP-7688 . 2 2. 3 3. 5 4. 5 5. 6 6. 7 7. 8 8. 9 9.. 4. 7 2 2., 7x9 / 6x9 7x9.3() x 3.()mm 6x9 2.84() x 3.()mm 3 ASCII 7x9 95 ASCII 6x9 95 6x9 7 BIG5 6x9 3973 6x9 28 7x9 24 24 55 6x9 2 2 27 4.23mm (/6 inch)

More information

1

1 W7E65 1. W7E65 ISP Flash EPROM ISP Flash EPROM 52 W7E65 64K Flash EPROM 4K Flash EPROM 4K Flash EPROM loader 64K ROM 1K RAM 4 I/O 4 I/O P4 3 16 / 2 W7E65 Flash EPROM W7E65 2 2 2. CMOS 12 64K ISP Flash

More information

STC90C51RC-cn.pdf

STC90C51RC-cn.pdf STC90.STC90C5RC/RD+ STC90C5RC/RD+ 805 5.5V - 3.3V 3.6V - 2.0V V 040MHz080MHz48MHz 4K / 8K / 3K / 6K / 32K / 40K/ 48K/ 56K/ 6K 28052RAM I/O35/39P/P2/P3/P4805I/OP0 I/O ISP/ IAP RxD/P3.0, TxD/P3. EEPROM MAX80

More information

目 录

目 录 1 Quick51...1 1.1 SmartSOPC Quick51...1 1.2 Quick51...1 1.3 Quick51...2 2 Keil C51 Quick51...4 2.1 Keil C51...4 2.2 Keil C51...4 2.3 1 Keil C51...4 2.4 Flash Magic...9 2.5 ISP...9 2.6...10 2.7 Keil C51...12

More information

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File 51 C 51 51 C C C C C C * 2003-3-30 pnzwzw@163.com C C C C KEIL uvision2 MCS51 PLM C VC++ 51 KEIL51 KEIL51 KEIL51 KEIL 2K DEMO C KEIL KEIL51 P 1 1 1 1-1 - 1 Project New Project 1 2 Windows 1 3 N C test

More information

MICROCHIP EVM Board : APP APP001 PICmicro Microchip APP001 40pin PDIP PICmicro Design Tips Character LCM Temperature Sensor Application I/O Pi

MICROCHIP EVM Board : APP APP001 PICmicro Microchip APP001 40pin PDIP PICmicro Design Tips Character LCM Temperature Sensor Application I/O Pi MICROCHIP EVM Board : APP001 1-1. APP001 PICmicro Microchip APP001 40pin PDIP PICmicro Design Tips Character LCM Temperature Sensor Application I/O Pin 16 I/O Extension Interface 1-2. APP001 Block_A Block_B

More information

6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C C C51 C51 ANSI C MCS-51 C51 ANSI C C C51 bit Byte bit sbit

6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C C C51 C51 ANSI C MCS-51 C51 ANSI C C C51 bit Byte bit sbit 6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C51 6.1 C51 6.1.1 C51 C51 ANSI C MCS-51 C51 ANSI C C51 6.1 6.1 C51 bit Byte bit sbit 1 0 1 unsigned char 8 1 0 255 Signed char 8 11 128

More information

untitled

untitled EDM16080-01 Model No.: Editor: 1. ----------------------------------------------------3 2. ----------------------------------------------------3 3. ----------------------------------------------------3

More information

untitled

untitled EDM12864-GR 1 24 1. ----------------------------------------------------3 2. ----------------------------------------------------3 3. ----------------------------------------------------3 4. -------------------------------------------------------6

More information

FM1935X智能非接触读写器芯片

FM1935X智能非接触读写器芯片 FM3316/3315 MCU 2017.06 FM3316/3315 MCU 2.21 (http://www.fmsh.com/) FM3316/3315 MCU 2.22 ... 3 1... 4 2... 5 2.1... 5 2.2... 5 2.3... 6 2.3.1... 6 2.3.2... 6 2.4... 9 2.5... 10 2.5.1 LQFP64... 10 2.5.2

More information

12232A LED LED LED EL EL CCFL EL CCF

12232A LED LED LED EL EL CCFL EL CCF 12232A 0 50-20 +70-30 +85 LED LED LED EL EL CCFL EL CCF 122 x 32 1/32Duty 1/5Bias 6:00 STN( ), EL LED EL/100VAC 400HZ LED/4.2VDC 1 / VDD-VSS 0 6.5 V Ta=25 LCD VDD-V0 0 12.0 V V1 0 VDD V VDD-VSS - 4.75

More information

2 14 PORTC.1 PORTB.3 PORTA.2/T0 GND PORTB.2 PORTA.0 PORTC.3 PORB.0/OSCO PORTB.1/OSCI PORTC.0 PORTC.2 SH69P21 /SOP PORTA

2 14 PORTC.1 PORTB.3 PORTA.2/T0 GND PORTB.2 PORTA.0 PORTC.3 PORB.0/OSCO PORTB.1/OSCI PORTC.0 PORTC.2 SH69P21 /SOP PORTA 1K 4 SH6610C 4 OTP ROM 1K X 16 RAM 88 X 4-24 - 64 2.4V-5.5V - fosc = 30kHz - 4MHz, = 2.4V - 5.5V - fosc = 4MHz - 8MHz, = 4.5V - 5.5V 11 CMOS I/O 4 ( ) 8 / - 0 PORTA.0 ( / / ) - 0 - PORTB ( ) ( ) - 32.768kHz,

More information

1 TPIS TPIS 2 2

1 TPIS TPIS 2 2 1 1 TPIS TPIS 2 2 1. 2. 3. 4. 3 3 4 5 4 TPIS TPIS 6 5 350 Mark Coil F3/F6 350 M 150 M 25 M 7.12M 8 M F3 F6 F4 F7 F8 8M AA 7 350 28V 5V IC HCPL2731 0.5mA 6 8 (TPIS) TPIS 9 7 IC AT89C2051 AT89C2051 CMOS8

More information

untitled

untitled EDM12832-08 : 25-1 : 116600 : (0411)7612956 7632020 7631122 : (0411)7612958 Model No.: Editor: LCD 1. ----------------------------------------------------3 2. ----------------------------------------------------3

More information

1.1 ML_ONOFF = 1 Q 3 Q 8 C 0.3V M 2 L 1 ML_ONOFF = 0 Q 3 Q 8 C 1. + R31 VCC R21 10K ML_ONOFF R15 0:off 1:on 1K Green Light VCC=5V L1 Q VDD=12V C

1.1 ML_ONOFF = 1 Q 3 Q 8 C 0.3V M 2 L 1 ML_ONOFF = 0 Q 3 Q 8 C 1. + R31 VCC R21 10K ML_ONOFF R15 0:off 1:on 1K Green Light VCC=5V L1 Q VDD=12V C AUTOMATIC TROLLEY H K Hwang K K Chen J-S Lin S-C Wang M-L Li C-C Lin W-B Lin Dept. Of Electrical Engineering Far East College ABSTRACT This paper proposes an automatic trolley which can move automatically

More information

SST SPAC SST SoftICE SST89C5x/SST89x554RC /564RD /SST89x516/5xRD / SoftICE SoftICE MCU SoftICE SS

SST SPAC SST SoftICE SST89C5x/SST89x554RC /564RD /SST89x516/5xRD / SoftICE SoftICE MCU SoftICE SS SST SoftICE SST89C5x/SST89x554RC /564RD /SST89x516/5xRD2 1...2 1.1...2 1.2...2 1.3 /...2 2 SoftICE...2 3 SoftICE MCU...2 4 SoftICE...3 4.1 SST BootLoader SOFTICE...3 4.2 SoftICE SST MCU...6 5 SoftICE...7

More information

ATMEL AT90S8515 AVR CPU AVR AVR AVR ATMEL RISC 32 8 r0 r X Y Z R0 R1 R2 R13 R14 R15 R16 R17 R26 R27 R28 R29 R30 R31 0x00 0x

ATMEL AT90S8515 AVR CPU AVR AVR AVR ATMEL RISC 32 8 r0 r X Y Z R0 R1 R2 R13 R14 R15 R16 R17 R26 R27 R28 R29 R30 R31 0x00 0x 115 AVR W.V. Awdrey ATMEL AVR PIC AVR PIC AVR RISC AVR PIC AVR AVR AVR AVR AVR ATtiny15 AVR AVR AVR RAM ROM 121 116 122 ATMEL AT90S8515 AVR CPU AVR AVR AVR ATMEL RISC 32 8 r0 r31 3 16 X Y Z 6-1 118 7 0

More information

单片机原理及应用实验指导书.doc

单片机原理及应用实验指导书.doc 1 2 3 4...2...4...9...9 AEDK598 MCS51...9 MCS51...10...10...10...10...10...10...11 P1...12...12...12....12...12...13 P3...14...14...14...14...14...14 I/O...15...15...15...15...15...16...17...17...17...17...17...18...19...19

More information

untitled

untitled EDM12864-03 : 25-1 : 116600 : (0411)7612956 7632020 7612955 : (0411)7612958 Model No.: Editor: 1. ----------------------------------------------------3 2. ----------------------------------------------------3

More information

51 C 51 isp 10 C PCB C C C C KEIL

51 C 51 isp 10   C   PCB C C C C KEIL http://wwwispdowncom 51 C " + + " 51 AT89S51 In-System-Programming ISP 10 io 244 CPLD ATMEL PIC CPLD/FPGA ARM9 ISP http://wwwispdowncom/showoneproductasp?productid=15 51 C C C C C ispdown http://wwwispdowncom

More information

GH1220 Hall Switch

GH1220 Hall Switch Unipolar Hall Switch - Medium Sensitivity Product Description The DH220 is a unipolar h all switch designed in CMOS technology. The IC internally includes a voltage regulator, Hall sensor with dynamic

More information

2005.book

2005.book ...4... 4... 7...10... 10... 10... 10... 10... 11... 11 PCC... 11 TB170... 12 /... 12...13... 13 BP150 / BP151 / BP152 / BP155... 14...15... 15... 15... 15... 15... 15... 15... 16 PS465 / PS477... 17 PS692

More information

ICD ICD ICD ICD ICD

ICD ICD ICD ICD ICD MPLAB ICD2 MPLAB ICD2 PIC MPLAB-IDE V6.0 ICD2 usb PC RS232 MPLAB IDE PC PC 2.0 5.5V LED EEDATA MPLAB ICD2 Microchip MPLAB-IDE v6.0 Windows 95/98 Windows NT Windows 2000 www.elc-mcu.com 1 ICD2...4 1.1 ICD2...4

More information

微處理機期末專題

微處理機期末專題 微 處 理 機 期 末 專 題 自 動 鋼 琴 組 員 :b92611004 羅 鈞 瑋 b92611008 吳 妍 儂 b92611038 吳 韋 靜 b92611042 林 佳 穎 一 簡 介 本 組 的 主 題 是 自 動 鋼 琴 在 播 放 音 樂 的 同 時, 鋼 琴 會 自 動 按 下 琴 鍵, 被 按 下 的 琴 鍵 所 對 應 到 的 音 階, 就 是 正 在 撥 放 的 樂 曲 的

More information

FM1935X智能非接触读写器芯片

FM1935X智能非接触读写器芯片 FM33A0xx MCU 2017. 05 2.0 1 (http://www.fmsh.com/) 2.0 2 ... 3 1... 4 1.1... 4 1.2... 4 1.3... 5 1.3.1... 5 1.3.2... 5 1.4... 8 1.4.1 LQFP100... 8 1.4.2 LQFP80... 9 1.4.3... 9 2... 15 2.1 LQFP100... 15

More information

SPHE8202R Design Guide Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provi

SPHE8202R Design Guide Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provi SPHE8202R Design Guide V2.0 JUN, 2007 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com SPHE8202R Design Guide Important Notice

More information

專題最終版.doc

專題最終版.doc The Principle and Application of the Electric Combination Lock The Principle and Application of the Electric Combination Lock Abstract Recently, there are more and more burglaries in the society. It's

More information

SH79F161B I/O 1. SH79F161B SH79F161B IO 30 I/O I/O 4 I/O SH79F161B 30 I/O Px I/O PxCRy I/O PxPCRy x = 0-3 y = IO PxCRy IO x=0-3 y=0-7

SH79F161B I/O 1. SH79F161B SH79F161B IO 30 I/O I/O 4 I/O SH79F161B 30 I/O Px I/O PxCRy I/O PxPCRy x = 0-3 y = IO PxCRy IO x=0-3 y=0-7 SH79F161B - 10 ADC 8051 V 1.0 SH79F161B I/O 1. SH79F161B 8051 8051 SH79F161B IO 30 I/O I/O 4 I/O SH79F161B 30 I/O Px I/O PxCRy I/O PxPCRy x = 0-3 y = 0-7 2. IO PxCRy IO x=0-3 y=0-7 PxPCRy IO x=0-3 y=0-7

More information

R/W

R/W (HD44780 KS0066 ) 3 3 5 6 10 14 HD44780/KS0066 16 2 LCM 8 1 40 4 LCD HD44780/KS0066 HD44100 IC PCB 0.1 CMOS 1. 2. 3. 4. 5. RH60% 6. 1. 2. 3. PCB 3 4. 5. 6. 1. 280 C 2. 3 4s 3. 4. 5. 3 5 1. 2. IC 3. DC-DC

More information

» n ¹ú KS0108 x ÍÍÙ q n KS0108 KS KS0107 KS0108 KS *32 128*64 192*64 KS0108 KS0108 KS0107 KS =4096 RAM RAM LCD 2 KS

» n ¹ú KS0108 x ÍÍÙ q n KS0108 KS KS0107 KS0108 KS *32 128*64 192*64 KS0108 KS0108 KS0107 KS =4096 RAM RAM LCD 2 KS KS0108 KS0108 8 KS0107 KS0108 KS0108 128*32128*64 192*64 KS0108 KS0108 KS0107 KS0108 1 6464=4096 RAMRAM LCD 2KS0108 64 3KS0108 68 68 4KS0108 1/48--1/64 KS0108 CS1,CS2,CS3 CS1 CS2 CS3 E E KS0108 E R/W R/W=1

More information

HD61202 HD HD61203 HD61202, HY HY HD61202 HD61202 HD61203 HD =4096 RAMRAM LCD 2HD HD HD /32--

HD61202 HD HD61203 HD61202, HY HY HD61202 HD61202 HD61203 HD =4096 RAMRAM LCD 2HD HD HD /32-- HD61202 C-7 1 HD61202 HD61202 8 HD61203 HD61202, HY-12864 HY-19264 HD61202 HD61202 HD61203 HD61202 1 6464=4096 RAMRAM LCD 2HD61202 64 3HD61202 68 68 4HD61202 1/32--1/64 HD61202 HD61202 2 CS1,CS2,CS3 CS1

More information

D/A DAC ( 1us) (10~20 ) DAC0832 1

D/A DAC ( 1us) (10~20 ) DAC0832 1 D/A DAC0832 8 ( 1us) (10~20 ) DAC0832 1 1. 20 DI7~DI0 ILE 8 8 DAC 8 D/A LE LE & RFB VREF IOUT2 IOUT1 RFB CS WR1 XFER WR2 & & AGND VCC DGND 2 DI7~DI0 ILE & 8 LE 8 DAC LE 8 D/A RFB V REF IOUT2 IOUT1 R FB

More information

PCM-3386用户手册.doc

PCM-3386用户手册.doc PCM-3386 BBPC-4x86 10/100M PC/104 (Lanry technology Co. Ltd. Zhuhai) 38 1012836 (Address: Room 1012,Linhai Building,No. 38,west of Shihua Road,Zhuhai City,Guangdong Province,China) (post code)519015 (phone)0756-3366659

More information

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se 8051 8051 System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and setup. This type of robot uses two kinds of

More information

Hz 10MHz 0.5V 5V 0.01% 10s 2 0.5V 5V 1Hz 1kHz 10% 90% 1% 3 1Hz 1MHz 1% EPM7128SLC84-15 LM361 LM361 Zlg

Hz 10MHz 0.5V 5V 0.01% 10s 2 0.5V 5V 1Hz 1kHz 10% 90% 1% 3 1Hz 1MHz 1% EPM7128SLC84-15 LM361 LM361 Zlg 1 1 a. 0.5V 5V 1Hz 1MHz b. 0.1% 2 : a. 0.5V 5V 1Hz 1MHz b. 0.1% (3) a. 0.5V 5V 100 s b. 1% 4 1 10 5 1MHz 6 1 2 1 0.1Hz 10MHz 0.5V 5V 0.01% 10s 2 0.5V 5V 1Hz 1kHz 10% 90% 1% 3 1Hz 1MHz 1% EPM7128SLC84-15

More information

untitled

untitled 0755 85286856 0755 82484849 路 4.5V ~5.5V 流 @VDD=5.0V,

More information

General Description: Preliminary TTP916 Consumer IC VCD/DVD LCD Green mode Stand-by mode( 1W ) Features: 2.2V-5.5V LCD RAM read condition 2.6V-5.5V RC

General Description: Preliminary TTP916 Consumer IC VCD/DVD LCD Green mode Stand-by mode( 1W ) Features: 2.2V-5.5V LCD RAM read condition 2.6V-5.5V RC General Description: IC VCD/DVD LCD Green mode Stand-by mode( 1W ) Features: 2.2V-5.5V LCD RAM read condition 2.6V-5.5V RC 15K 300pF 256KHZ default on 32 function key Built-in TT6221/TT6222 decoder Provide

More information

四位微控制器ML64168_ _.doc

四位微控制器ML64168_ _.doc SSSC /4168P 2005 8 4 4, (ADC), LCD Driver, (Buzzer), 1 3 CPU17 CPU 26 33 42 45 48 73 79 85 89 A/D 92 111 125 128 131 SSU4168P 133 143 A: / 153 B: 156 C: 158 D: 160 E: 161 F: 163 G: PAD 167 2 ,, 11 4 CMOS

More information

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor 1 4.1.1.1 (Load) 14 1.1 1 4.1.1.2 (Save) 14 1.1.1 1 4.1.2 (Buffer) 16 1.1.2 1 4.1.3 (Device) 16 1.1.3 1 4.1.3.1 (Select Device) 16 2 4.1.3.2 (Device Info) 16 2.1 2 4.1.3.3 (Adapter) 17 2.1.1 CD-ROM 2 4.1.4

More information

untitled

untitled LCD EDM12864HBSL-ALC-G : 25-1 : 116600 : (0411)7612956 7632020 : (0411)7612958 Model No.: Editor: LCD 1. ----------------------------------------------------3 2. ----------------------------------------------------3

More information

USB解决方案.ppt

USB解决方案.ppt USB USB? RS232 USB USB HID U modem ADSL cable modem IrDA Silabs USB CP210x USB UART USB RS-232 USB MCU 15 USB 12 FLASH MCU 3 USB MCU USB MCU C8051F32x 10 ADC 1.5%, Vref CPU 25MIPS 8051 16KB Flash -AMUX

More information

2 12

2 12 SHENZHEN BRILLIANT CRYSTAL TECHNOLOGIC CO.,LTD. The specification for the following models Graphic LCM serial communication control board CB001 PROPOSED BY APPROVED Design Approved TEL:+86-755-29995238

More information

Application Note Format

Application Note Format USB 說 2 - AD PWM Office: 6F, No. 12, Innovation 1st. RD., Science-Based Industrial Park, Hsin-Chu City, Taiwan, R.O.C Tel: +886-3-6661766 ext.1672 Fax: +886-3-6661765 Etoms Electronics Corp. Publication

More information

BA 2002, 3 IPCS WWW.EASTCATO.COM - - - - - -1-3 -15 - - - - - - WWW.EASTCATO.COM BA 1 2 3 4 20% DC12V A-1 WWW.EASTCATO.COM ok A-2 WWW.EASTCATO.COM RS232 RS485 EC-NET : B-1 WWW.EASTCATO.COM EC-NET 14 I/O

More information

TSINGTEK DISPLAY CO.,LTD LCD CONTROLLER & DRIVER ST7920 OR EQUIVALENT (f) 639 2A f B1

TSINGTEK DISPLAY CO.,LTD LCD CONTROLLER & DRIVER ST7920 OR EQUIVALENT (f) 639 2A f B1 TSINGTEK DISPLAY CO.,LTD LCD CONTROLLER & DRIVER ST7920 OR EQUIVALENT 588 4 1 0571-85121224 85121742 85121304(f) 639 2A095 0571-88256346 89902095 f B1618 010-62051209 62000662 62568913 82036512 f http://www.tsingtek.com

More information

() () () () () () () () DDRAM () II

() () () () () () () () DDRAM () II 液晶模块说明书 SPEC NO YM2232A REV NO. 液晶显示模块产品说明书 产品类型 : 产品型号 : 产品描述 : 标准产品 YM2232A 22x32 图形点阵模块, 控制器 :SED52,LED 背光 客户名称 : 客户确认 : 编写 : Dexun Zou 审核 : HCC 批准 : Jingxi Yang 发行日期 : 22.8 大连佳显电子有限公司 地址 : 大连市沙河口区工华街

More information

2 PIC PIC 1 / CPU PIC MCU PIC RC

2 PIC PIC 1 / CPU PIC MCU PIC RC 2 PIC PIC 1 /... 2-2 2... 2-3 3... 2-4 4... 2-4 5... 2-4 6 CPU... 2-5 7 PIC MCU... 2-6 8 PIC16... 2-6 9... 2-7 10... 2-7 11 RC... 2-7 12... 2-8 13... 2-8 14 NOP... 2-9 15 PMD... 2-9 16... 2-10 17 WDTWDT...

More information

µPSD3000 系列

µPSD3000 系列 8032 FLASH MCU µpsd3251f-40t6 µpsd3251 8032 FlashPSD Flash SRAM I/O I 2 C, ADC and PWM 8032, 16 / FlashPSD µpsd32 JTAG ISP 2K SRAM Flash - 64K Flash - 16K Flash - Flash 8032 12 I2C ADC 6 I/O 37 I/O 16

More information

Microsoft Word - BL5372_UMAN_V1.1.doc

Microsoft Word - BL5372_UMAN_V1.1.doc 低 功 耗 实 时 时 钟 芯 (RTC)BL5372 用 户 手 册 V1.2 ( 2012.11.12) 上 海 贝 岭 股 份 有 限 公 司 Shanghai Belling Co., Ltd. 1. 概 述 低 功 耗 实 时 时 钟 芯 片 (RTC)BL5372 BL5372 是 一 款 低 功 耗 实 时 时 钟 电 路, 通 过 I 2 C 两 线 接 口 电 路 可 以 与 CPU

More information

00 sirius 3R SIRIUS 3R 3RV1 0A 1 3RT1 3RH1 3 3RU11/3RB SIRIUS SIRIUS TC= / 3RV1 A 1 IEC6097- IP0 ( IP00) 1/3 IEC6097- (VDE0660) DIN VDE 06 0 AC690V, I cu 00V 1) P A n I n I cu A kw A A ka S00 0.16 0.0

More information

MC33035 MC33035 MC33035 MOSFET MC33035 MC º/300º 120º/240º MOSFET 60º/300º 120º/240º MOSFET MC33035M C SOP24 MC33035P -40

MC33035 MC33035 MC33035 MOSFET MC33035 MC º/300º 120º/240º MOSFET 60º/300º 120º/240º MOSFET MC33035M C SOP24 MC33035P -40 MOSFET 60º/300º 120º/240º 10 30 6.25 3 MOSFET 60º/300º 120º/240º MOSFET M -40 +85 C SOP24 P -40 +85 C DIP24!" #$% : 5 10 1-702, :210037 (TEL.): (86)-25-8562 8245 8562 8265 (FAX): (86)-25-8562 8352 1 /

More information

T stg -40 to 125 C V cc 3.8V V dc RH 0 to 100 %RH T a -40 to +125 C -0.3 to 3.6V V -0.3 to VDD+0.3 V -10 to +10 ma = 25 = 3V) VDD

T stg -40 to 125 C V cc 3.8V V dc RH 0 to 100 %RH T a -40 to +125 C -0.3 to 3.6V V -0.3 to VDD+0.3 V -10 to +10 ma = 25 = 3V) VDD 1/16 T stg -40 to 125 C V cc 3.8V V dc RH 0 to 100 %RH T a -40 to +125 C -0.3 to 3.6V V -0.3 to VDD+0.3 V -10 to +10 ma (@T = 25 C, @Vdd = 3V) VDD 1.8 3.0 3.6 V (1) 0.08 0.3 µa Idd 300 450 500 µa 0.25

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

DATASHEET SEARCH SITE ==

DATASHEET SEARCH SITE == , STC 89 1280 8/16/32/64k IAP SRAM ISP P0 8 P1 8051 E 2 PROM + P2 IAP STC Data Flash P4.0P4.3 P3 MAX810 I/O P4 A/D UART A / D 3 STC 89 P I I E 2 P 4 S A ROM EMI P P STC 89C51 RC 4K 512 2K STC 89C52 RC

More information

Tel:010-62981668-2930 1

Tel:010-62981668-2930  1 Access 93C46 with SPI function V1.0.0 Jan. 31, 2005 http://www.sunplusmcu.com Tel:010-62981668-2930 http://www.sunplusmcu.com E-mail:mcu@sunplus.com.cn 1 0 0...2 1...3 2...4 2.1...4 2.2...5 3...6 3.1 AT93C46...6

More information

RESET OSCO OSCI OSC CPU WDTEN RC RESET PRESCALER PORTA (4-BITS) WATCHDOG TIMER Power on PORTB (4-BITS) PORTA [0:3] PORTB [0:3] LPD PORTC (4-BITS) LPDO

RESET OSCO OSCI OSC CPU WDTEN RC RESET PRESCALER PORTA (4-BITS) WATCHDOG TIMER Power on PORTB (4-BITS) PORTA [0:3] PORTB [0:3] LPD PORTC (4-BITS) LPDO 4K / I/O 4 SH6610C 4 OTPROM 4K X 16 SH69P25 MASK ROM 4K X 16 SH69K25 RAM 192 X 4-32 - 160 2.4V - 5.5V 5.0V 22 I/O 4 8 / PORTA-PORTF / - Timer0 - PORTB & PORTC / - 32.768kHz 4MHz - 400kHz 4MHz - RC 400kHz

More information

SPMC75F2413A_EVM_使用说明_V1.2.doc

SPMC75F2413A_EVM_使用说明_V1.2.doc SPMCFA EVM V. - Jan 0, 00 http://www.sunplusmcu.com ................ SPMCFA........... EEPROM.... I/O............ LED.... LED.... RS-........0............ EVM................ 0.....0..... SPMCFA EVM SPMCFA

More information

CA24064B LED LED LED EL EL CCFL EL CCF /

CA24064B LED LED LED EL EL CCFL EL CCF / CA24064B 0 50-20 +70-30 +85 LED LED LED EL EL CCFL EL CCF 39 2 6 0755-81995643/27890716 0 13713911853 0755-27890716 1 : VDD-VSS 0 6 V LCD VDD-V0 Ta=25 0 28.0 V VI 0 VDD V : VDD-VSS --- 4.75 5.0 5.25 V

More information

目录

目录 ALTERA_CPLD... 3 11SY_03091... 3 12SY_03091...4....5 21 5 22...8 23..10 24..12 25..13..17 3 1EPM7128SLC.......17 3 2EPM7032SLC.......18 33HT46R47......19..20 41..20 42. 43..26..27 5151DEMO I/O...27 52A/D89C51...28

More information

GW EDA VHDL VHDL VHDL VHDL ADC009 0 FPGA PC GW EDA a GW EDA beda README.TXT c d 0 e J MZH +V GND -V D/A +V GND S JA J D D D D D D D D C K J J VGA VGA B EDA JB B J HC B RS- CON CON HC PS/ CPLD/FPGA J RS-

More information

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Terminal Mode No User User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Mon1 Cam-- Mon- Cam-- Prohibited M04 Mon1 Cam03 Mon1 Cam03

More information

PTS7_Manual.PDF

PTS7_Manual.PDF User Manual Soliton Technologies CO., LTD www.soliton.com.tw - PCI V2.2. - PCI 32-bit / 33MHz * 2 - Zero Skew CLK Signal Generator. - (each Slot). -. - PCI. - Hot-Swap - DOS, Windows 98/2000/XP, Linux

More information

, STC11F01-35C-SOP16 RMB 1.99 STC10F04-35C-LQFP44 R MB 2. 99

, STC11F01-35C-SOP16 RMB 1.99 STC10F04-35C-LQFP44 R MB 2. 99 , STC11F01-35C-SOP16 RMB 1.99 STC10F04-35C-LQFP44 R MB 2. 99 , STC12C5A08AD-35C-LQFP44,RMB 7.5 , STC12C5201AD-SOP16,RMB 2.49 STC12C5202AD-LQFP32,RMB 3.99 , , 0.1uF STC 89LE58 RD+ 32K 1280 16K+ 0.1uF

More information

ARM Cortex-M3 (STM32F) STMicroelectronics ( ST) STM32F103 Core: ARM 32-bit Cortex -M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplica

ARM Cortex-M3 (STM32F) STMicroelectronics ( ST) STM32F103 Core: ARM 32-bit Cortex -M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplica CP Chip Power ARM Cortex-M3 (STM32F) ARM Cortex-M3 (STM32F) STMicroelectronics ( ST) STM32F103 Core: ARM 32-bit Cortex -M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplication and hardware

More information

Microsoft Word - AP1515V02

Microsoft Word - AP1515V02 Document No. Rev.: V0.20 Page: 1 of 9 Revision History Rev. DRN # History Initiator Effective Date V01 V02 Initial document 黃宗文 Add second package description 葉宗榮 2014/05/15 2015/09/08 Initiator: 雷晨妤 (DCC)

More information

< B9E2BBFAD7DBBACFCDBCB2E1B6A8B8E52DC7E5CEFAB0E6312E706466>

< B9E2BBFAD7DBBACFCDBCB2E1B6A8B8E52DC7E5CEFAB0E6312E706466> XYR XYR XYR Tel: 00 567068 www.zolix.com.cn 99 Tel: 00 567068 www.zolix.com.cn XYR500 XYR500 XYR000 XYR0000-CH XYmm.5 0 5 z 5 mm 5050 0000 0000 mm 00 00 0000 mm 6.5 76 98 8 Kg 6 8 5 XY/μm 0/5 0XYμm 0.5

More information

, , STC11F01-35C-SOP16 RMB 1.99 STC10F04-35C-LQFP44 R MB 2. 99 , STC12C5A08AD-35C-LQFP44,RMB 7.5 , STC12C5201AD-SOP16,RMB 2.49 STC12C5202AD-LQFP32,RMB 3.99 0.1uF 0.1uF 0.1uF STC 89 E 2 PROM Data Flash

More information

Ps22Pdf

Ps22Pdf ( ) ( 150 ) 25 15 20 40 ( 25, 1, 25 ), 1. A. B. C. D. 2. A. B. C. D. 3., J = 1 H = 1 ( A B, J', J, H ) A. A = B = 1, J' =0 B. A = B = J' =1 C. A = J' =1, B =0 D. B = J' = 1, A = 0 4. AB + AB A. AB B. AB

More information

a b c d e f g C2 C1 2

a b c d e f g C2 C1 2 a b c d e f g C2 C1 2 IN1 IN2 0 2 to 1 Mux 1 IN1 IN2 0 2 to 1 Mux 1 Sel= 0 M0 High C2 C1 Sel= 1 M0 Low C2 C1 1 to 2 decoder M1 Low 1 to 2 decoder M1 High 3 BCD 1Hz clk 64Hz BCD 4 4 0 1 2 to 1 Mux sel 4

More information

Microsoft Word - LR1122B-B.doc

Microsoft Word - LR1122B-B.doc UNISONIC TECHNOLOGIES CO., LTD LOW NOISE ma LDO REGULATOR DESCRIPTION The UTC is a typical LDO (linear regulator) with the features of High output voltage accuracy, low supply current, low ON-resistance,

More information

邏輯分析儀的概念與原理-展示版

邏輯分析儀的概念與原理-展示版 PC Base Standalone LA-100 Q&A - - - - - - - SCOPE - - LA - - ( Embedded ) ( Skew ) - Data In External CLK Internal CLK Display Buffer ASIC CPU Memory Trigger Level - - Clock BUS Timing State - ( Timing

More information

学习MSP430单片机推荐参考书

学习MSP430单片机推荐参考书 MSP430 16 MSP430 C MSP430 C MSP430 FLASH 16 1 CPU 16 ALU 16 PC SP SR R4~R15 2 3 00-FFH 100-1FFH 4 5 1 2 51 24 27 6 1 2 3 4 5 6 4 12 SR SP SR CPU SR CPU C Z N GIE CPUOff CPU OscOff SCG0 SCG1 CPU EXIT SP

More information

1 CPU

1 CPU 2000 Tel 82316285 82317634 Mail liuxd@buaa.edu.cn 1 CPU 2 CPU 7 72 A B 85 15 3 1/2 M301 2~17 : 3/4 1/2 323 IBM PC 1. 2. 3. 1. 2. 3. 1.1 Hardware Software 1.2 M3 M2 M1 1.2 M3 M1 M2 M2 M1 M1 M1 1.2 M3 M1

More information

Microsoft PowerPoint - C15_LECTURE_NOTE_15

Microsoft PowerPoint - C15_LECTURE_NOTE_15 THE 8051 MICROCONTROLLER THE 8051 MICROCONTROLLER 15.1 Introduction 15.2 The 8051 Architecture 15.3 Interfacing to External Memory 15.4 The 8051 Instruction Set 15.5 Timer Operations 15.6 Serial Port Operations

More information

bingdian001.com

bingdian001.com TSM12M TSM12 STM8L152C6, STM8L152R8 MSP430F5325 whym1987@126.com! /******************************************************************************* * : TSM12.c * : * : 2013/10/21 * : TSM12, STM8L f(sysclk)

More information

untitled

untitled XZL024 http://item.taobao.com/item.htm?id=6321822194 1 1 1.1 1.2 1.3 1.4 2 2.1 2.2 2.3 3 USBee Suite 3.1 3.2 3.3 3.4 4 RS232 RS485 RS422 CAN http://item.taobao.com/item.htm?id=6321822194 2 1 XZL024 PC

More information

Microsoft Word - Atmel-45136A-Pick-Best-Microcontroller-Strom-Eiland-Flodell_Article_CS

Microsoft Word - Atmel-45136A-Pick-Best-Microcontroller-Strom-Eiland-Flodell_Article_CS 如 何 为 您 的 下 一 款 设 计 选 出 最 好 的 8 位 或 32 位 微 控 制 器 作 者 : Atmel 产 品 营 销 高 级 总 监 Oyvind Strom Atmel 产 品 营 销 总 监 Andreas Eieland Atmel 研 发 工 具 部 门 高 级 产 品 营 销 经 理 Henrik Flodell 不 久 之 前, 嵌 入 式 系 统 还 是 既 昂 贵

More information

T

T 通 訊 指 令 說 明 Pt : 1, 透 過 Port 1 以 Modbus RTU 通 訊 定 作 料 傳 輸 2, 透 過 Port 2 以 Modbus RTU 通 訊 定 作 料 傳 輸 SR : 通 訊 程 式 起 始 暫 存 器 ( 見 範 例 說 明 ) WR : 指 令 運 作 起 始 暫 存 器 ( 見 範 例 說 明 ), 共 佔 用 8 個 暫 存 器, 其 它 程 式 不

More information

LH_Series_Rev2014.pdf

LH_Series_Rev2014.pdf REMINDERS Product information in this catalog is as of October 2013. All of the contents specified herein are subject to change without notice due to technical improvements, etc. Therefore, please check

More information

行业

行业 PCL-1800 PCL-1800 1.1...2 1.1.1 1K FIFO...2 1.1.2...2 1.1.3 16...3 1.1.4...3 1.1.5...3 1.1.6...3 1.2...3 1.3...4 1.4...5 2.1...5 2.2...6 2.2.1...6 2.2.2...6 2.2.3 D/A...7 2.2.4...7 2.2.5 TRIG0 GATE0...8

More information

s 2002

s 2002 s 2002 List of all Catalogs from Electrical Installation Technology (ET) Electrical Installation Catalogs Technology ( / ) Miniature Circuit-Breakers, Residual Current Operated Circuit- Breakers and Modular

More information

Microsoft PowerPoint - STU_EC_Ch08.ppt

Microsoft PowerPoint - STU_EC_Ch08.ppt 樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters

More information

数 字 隔 离 器 光 耦 隔 离 器 或 者 电 磁 隔 离 器 用 来 将 系 统 现 场 的 ADC DAC 和 信 号 调 理 电 路 与 数 字 端 的 控 制 器 隔 离 开 来 如 果 模 拟 端 的 系 统 也 必 须 实 现 充 分 隔 离 的 话, 在 输 入 或 者 输 出 的

数 字 隔 离 器 光 耦 隔 离 器 或 者 电 磁 隔 离 器 用 来 将 系 统 现 场 的 ADC DAC 和 信 号 调 理 电 路 与 数 字 端 的 控 制 器 隔 离 开 来 如 果 模 拟 端 的 系 统 也 必 须 实 现 充 分 隔 离 的 话, 在 输 入 或 者 输 出 的 图 1 PLC 系 统 架 构, 示 出 了 各 种 不 同 的 I/O 模 块 功 能 PLC 系 统 包 含 输 入 模 块 输 出 模 块 和 输 入 / 输 出 模 块 因 为 许 多 输 入 和 输 出 都 涉 及 现 实 世 界 中 的 模 拟 变 量 而 控 制 器 是 数 字 式 的 PLC 系 统 硬 件 设 计 任 务 将 主 要 围 绕 如 下 方 面 展 开 : 数 模 转

More information

行业

行业 PCL-818HD/HG/L PCL-818HD/HG/L 1.1...2 1.1.1 /...2 1.1.2 ID...2 1.2...3 1.3...3 2.1...3 2.2...3 2.2.1...4 2.2.2...4 2.2.3 DMA...5 2.2.4...5 2.2.5 D/A...5 2.2.6...6 2.2.7 EXE.trigger GATE0...6 2.2.8 FIFO

More information

Tel: , Fax: STR-15 STR bps 2400bps 4800bps 9600bps STR : 500mW 2.ISM 433

Tel: , Fax: STR-15 STR bps 2400bps 4800bps 9600bps STR : 500mW 2.ISM 433 Tel:086-21-50807785, 50273226 Fax:086-21-50807785-807 http://www.sendbow.com TEL +86-021-50273226 50807785 13816690692 FAX:+86-021-50807785-807 167 E-mail:mailto:technology@sendbow.com web:http://www.sendbow.com

More information

untitled

untitled 8086/8088 CIP /. 2004.8 ISBN 7-03-014239-X.... TP313 CIP 2004 086019 16 100717 http://www.sciencep.com * 2004 8 2004 8 1 5 500 787 1092 1/16 16 1/2 391 000 1 2 ii 1 2 CAI CAI 3 To the teacher To the student

More information

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING 前言 - Andrew Payne 目录 1 2 Firefly Basics 3 COMPONENT TOOLBOX 目录 4 RESOURCES 致谢

More information

Chroma 61500/ bit / RMS RMS VA ()61500 DSP THD /61508/61507/61609/61608/ (61500 ) Chroma STEP PULSE : LISTLIST 100 AC DC

Chroma 61500/ bit / RMS RMS VA ()61500 DSP THD /61508/61507/61609/61608/ (61500 ) Chroma STEP PULSE : LISTLIST 100 AC DC MODEL 61509/61508/61507/ 61609/61608/61607 PROGRAMMABLE AC POWER SOURCE MODEL 61509/61508/61507/ 61609/61608/61607 61509/61609: 6kVA 61508/61608: 4.5kVA 61507/61607: 3kVA : 0-175V/0-350V/Auto : DC, 15Hz-2kHz

More information

dfgdafhdafhdafhdafh

dfgdafhdafhdafhdafh 逢 甲 大 學 自 動 控 制 工 程 學 系 專 題 製 作 專 題 論 文 數 位 式 電 子 秤 之 研 製 Design Study of Digital Electronic Weighing Sensor 指 導 教 授 : 賴 啟 智 學 生 : 劉 人 豪 俞 仲 維 中 華 民 國 九 十 八 年 四 月 二 十 二 日 ii . 誌 謝 本 文 承 蒙 賴 啟 智 老 師 指 導,

More information

,,, PCB, AR M VxWorks DSP,,,,,,,,,,, (CIP) /,,.:,2005 ISBN TP36 CIP (2005) : ( 10 ) : : (010 ) : (010)

,,, PCB, AR M VxWorks DSP,,,,,,,,,,, (CIP) /,,.:,2005 ISBN TP36 CIP (2005) : ( 10 ) : : (010 ) : (010) ,,, PCB, AR M VxWorks DSP,,,,,,,,,,, (CIP) /,,.:,2005 ISBN 7-5635-1099-0...............TP36 CIP (2005)076733 : ( 10 ) :100876 : (010 )62282185 : (010)62283578 : publish@bupt.edu.cn : : : 787 mm960 mm 1/

More information

逢 甲 大 學

逢    甲    大    學 論 車 Auto Vehicle 立老 磊 年 老 立老 了 見 老 了不 料 利 了 識 更了 力量! i 車. 車 利 89c51 來 流. 令. 車 8051 類 車利 車 ii Abstract The goal of this thesis is to design a small auto vehicle by using IC as its control center. Our auto

More information

TouchWin Human Machine Interface

TouchWin    Human Machine Interface Human Machine Interface TP 1 2 3 1 2 3 4 5 TP 1 PLC 113 TouchWin / 2 TouchWin PLC Programmable Logical Controller PLC CAD/CAM PLC I/O 3 TouchWin...3...4...6 1... 6 1-1... 7 1-2... 8 1-3... 10 1-4... 13

More information

中文手册

中文手册 PCC-3428 PC/104 1. PCC-3428 1.1 PCC-3428 90mm 96mm ST CPU STPC Atlas Atlas CPU 486 DX/DX2 CPU DX2 133MHz Atlas 2D LCD/CRT 100MHz SDRAM 64MBytes PCC-3428 10/100Mbps DOC EIDE USB PC/104 ST STPC Atlas STPC

More information

LK110_ck

LK110_ck Ck 电子琴 LK110CK1A Ck-1 1. 2. 1. 2. 3. (+) ( ) Ck-2 1. 2. 3. * 1. 2. 3. Ck-3 Ck-4 LCD LCD LCD LCD LCD LCD 15 * * / MIDI Ck-5 100 50 100 100 100 1 2 MIDI MIDI Ck-6 ... Ck-1... Ck-6... Ck-8... Ck-9... Ck-10...

More information