W78E516B40DL Nuvoton Technology Corporation of America, W78E516B40DL Datasheet - Page 34

no-image

W78E516B40DL

Manufacturer Part Number
W78E516B40DL
Description
IC MCU 8-BIT 64K FLASH 40-DIP
Manufacturer
Nuvoton Technology Corporation of America
Series
W78r
Datasheet

Specifications of W78E516B40DL

Core Processor
8052
Core Size
8-Bit
Speed
40MHz
Connectivity
EBI/EMI, UART/USART
Peripherals
POR
Number Of I /o
32
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W78E516B40DL
Manufacturer:
WINBOND
Quantity:
5 530
Part Number:
W78E516B40DL
Manufacturer:
WINBOND
Quantity:
5 120
Part Number:
W78E516B40DL
Manufacturer:
TI
Quantity:
6 249
Part Number:
W78E516B40DL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
MAIN_4K:
ERASE_P_4K:
;*********************************************************************
;* BLANK CHECK
;*********************************************************************
BLANK_CHECK_LOOP:
UPDATE_64K:
MOV SP, #C0H
MOV R7, #FFH
SETB TR0
MOV PCON, #01H
MOV A, SFRFD
CJNE A, #FFH, BLANK_CHECK_ERROR
MOV CHPENR, #59H
ANL A, #80H
CJNE A, #80H, UPDATE_64K ; CHECK F04KBOOT MODE ?
MOV CHPCON, #03H
MOV CHPENR, #00H
MOV TCON, #00H
MOV IP, #00H
MOV IE, #82H
MOV R6, #F0H
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 CHPENR, #87H
MOV A, CHPCON
MOV TMOD, #01H
MOV R6, #FBH
; ON USER'S SYSTEM CLOCK RATE.
; SET TIMER FOR READ OPERATION, ABOUT 1.5 μS.
; ENABLE TIMER 0
; ENTER IDLE MODE
; READ ONE BYTE
; BE INITIAL SP REGISTER
; CHPENR = 87H, CHPCON WRITE ENABLE.
; CHPENR = 59H, CHPCON WRITE ENABLE.
; CHPCON = 03H, ENABLE IN-SYSTEM PROGRAMMING.
; DISABLE CHPCON WRITE ATTRIBUTE
; TCON = 00H, TR = 0 TIMER0 STOP
; TMOD = 01H, SET TIMER0 A 16BIT TIMER
; IP = 00H
; IE = 82H, TIMER0 INTERRUPT ENABLED
; TCON = 10H, TR0 = 1, GO
; ENTER IDLE MODE
; DISABLE CHPCON WRITE-ATTRIBUTE
; TCON = 00H, TR = 0 TIM0 STOP
; IP = 00H
; IE = 82H, TIMER0 INTERRUPT ENABLED
; TMOD = 01H, MODE1
; SET WAKE-UP TIME FOR ERASE OPERATION, ABOUT 15 mS. DEPENDING
; SFRCN(C7H) = 22H ERASE 64K
; TCON = 10H, TR0 = 1,GO
; ENTER IDLE MODE (FOR ERASE OPERATION)
; READ 64KB APROM MODE
; START ADDRESS = 0H
- 34 -
W78E516B

Related parts for W78E516B40DL