W78E058DPG Nuvoton Technology Corporation of America, W78E058DPG Datasheet - Page 86
![no-image](/images/manufacturer_photos/0/4/485/nuvoton_technology_corporation_of_america_sml.jpg)
W78E058DPG
Manufacturer Part Number
W78E058DPG
Description
IC MCU 8-BIT 32K FLASH 44-PLCC
Manufacturer
Nuvoton Technology Corporation of America
Series
W78r
Datasheet
1.W78E058DFG.pdf
(89 pages)
Specifications of W78E058DPG
Core Processor
8052
Core Size
8-Bit
Speed
40MHz
Connectivity
EBI/EMI, UART/USART
Peripherals
POR, WDT
Number Of I /o
36
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
W78E058DPG
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
W78E058DPG
Manufacturer:
NUVOTON
Quantity:
20 000
MAIN_4K:
OPERATION, ABOUT 15ms. DEPENDING
ERASE_P_4K:
;*********************************************************************
;* BLANK CHECK
;*********************************************************************
ABOUT 1.5us.
UPDATE_:
MOV CHPENR,#87H ;CHPENR=87H, CHPCON WRITE ENABLE.
MOV A,CHPCON
MOV R7,#FFH
MOV CHPENR,#59H ;CHPENR=59H, CHPCON WRITE ENABLE.
MOV 7FH,#01H
ANL A,#01H
CJNE A,#00H,UPDATE_
MOV 7FH,#00H
MOV CHPCON,#01H ;CHPCON=01H, ENABLE IN-SYSTEM PROGRAMMING.
MOV CHPENR,#00H ;DISABLE CHPCON WRITE ATTRIBUTE
MOV TCON,#00H
MOV IP,#00H
MOV IE,#82H
MOV R6,#FEH
MOV TL0,R6
MOV TH0,R7
MOV TCON,#10H
MOV PCON,#01H
MOV CHPENR,#00H
MOV TCON,#00H
MOV IP,#00H
MOV IE,#82H
MOV TMOD,#01H
MOV R6,#3CH
MOV R7,#B0H
MOV TL0,R6
MOV TH0,R7
MOV SFRCN,#22H
MOV TCON,#10H
MOV PCON,#01H
MOV SFRCN,#0H
MOV SFRAH,#0H
MOV SFRAL,#0H
MOV R7,#FFH
MOV TL0,R6
MOV TH0,R7
MOV TMOD,#01H
;ON USER'S SYSTEM CLOCK RATE.
MOV R6,#FBH
Preliminary W78E516D/W78E058D Data Sheet
;TCON=10H,TR0=1,GO
;SFRCN(C7H)=22H ERASE
;ENTER IDLE MODE( FOR ERASE OPERATION)
;DISABLE CHPCON WRITE-ATTRIBUTE
;TCON=10H,TR0=1,GO
;ENTER IDLE MODE
;TCON=00H ,TR=0 TIMER0 STOP
; FLAG=0, NOT IN THE F04KBOOT MODE.
;CHECK CHPCON BIT 0
;TCON=00H ,TR=0 TIM0 STOP
;TMOD=01H ,MODE1
;READ APROM MODE
;START ADDRESS = 0H
- 86 -
;SET F04KBOOT MODE FLAG.
;IP=00H
;IE=82H,TIMER0 INTERRUPT ENABLED
;TMOD=01H ,SET TIMER0 A 16BIT TIMER
;IP=00H
;IE=82H,TIMER0 INTERRUPT ENABLED
;SET TIMER FOR READ OPERATION,
;SET WAKE-UP TIME FOR ERASE