DataSheet.es    


PDF W78L058A Data sheet ( Hoja de datos )

Número de pieza W78L058A
Descripción 8-BIT MICROCONTROLLER
Fabricantes Winbond 
Logotipo Winbond Logotipo



Hay una vista previa y un enlace de descarga de W78L058A (archivo pdf) en la parte inferior de esta página.


Total 34 Páginas

No Preview Available ! W78L058A Hoja de datos, Descripción, Manual

W78LE58/W78L058A
8-BIT MICROCONTROLLER
Table of Contents-
1. GENERAL DESCRIPTION .............................................................................................................. 2
2. FEATURES...................................................................................................................................... 2
3. PIN CONFIGURATIONS ................................................................................................................. 3
4. PIN DESCRIPTION ......................................................................................................................... 4
5. FUNCTIONAL DESCRIPTION ........................................................................................................ 5
6. SECURITY..................................................................................................................................... 17
7. ABSOLUTE MAXIMUM RATINGs................................................................................................. 18
8. DC CHARACtERISTICS................................................................................................................ 19
9. AC CHARACTERISTICS............................................................................................................... 21
10. TIMING WAVEFORMS.................................................................................................................. 23
11. TYPICAL APPLICATION CIRCUIT ............................................................................................... 25
11.1 Expanded External Data Memory and Oscillator ............................................................ 26
12. PACKAGE DIMENSIONS.............................................................................................................. 27
13. REVISION HISTORY..................................................................................................................... 34
www.DataSheet.in
Publication Release Date: December 4, 2006
- 1 - Revision A6

1 page




W78L058A pdf
W78LE58/W78L058A
5. FUNCTIONAL DESCRIPTION
The W78L058A architecture consists of a core controller surrounded by various registers, four general
purpose I/O ports, one special purpose programmable 4-bits I/O port, 512 bytes of RAM, three
timer/counters, a serial port. The processor supports 111 different opcodes and references both a 64K
program address space and a 64K data storage space.
RAM
The internal data RAM in the W78L058A is 512 bytes. It is divided into two banks: 256 bytes of
scratchpad RAM and 256 bytes of AUX-RAM. These RAMs are addressed by different ways.
RAM 0H7FH can be addressed directly and indirectly as the same as in 8051. Address pointers
are R0 and R1 of the selected register bank.
RAM 80HFFH can only be addressed indirectly as the same as in 8051. Address pointers are R0,
R1 of the selected registers bank.
AUX-RAM 0HFFH is addressed indirectly as the same way to access external data memory with
the MOVX instruction. Address pointer are R0 and R1 of the selected register bank and DPTR
register. An access to external data memory locations higher than FFH will be performed with the
MOVX instruction in the same way as in the 8051. The AUX-RAM is disable after a reset. Setting
the bit 4 in CHPCON register will enable the access to AUX-RAM. When AUX-RAM is enabled the
instructions of "MOVX @Ri" will always access to on-chip AUX-RAM. When executing from internal
program memory, an access to AUX-RAM will not affect the Ports P0, P2, WR and RD .
Example,
CHPENR REG F6H
CHPCON REG BFH
MOV CHPENR,#87H
MOV CHPENR,#59H
ORL CHPCON,#00010000B ; enable AUX-RAM
MOV CHPENR,#00H
MOV R0,#12H
MOV A,#34H
MOVX @R0,A
; Write 34h data to 12h address.
Timers 0, 1, and 2
Timers 0, 1, and 2 each consist of two 8-bit data registers. These are called TL0 and TH0 for Timer 0,
TL1 and TH1 for Timer 1, and TL2 and TH2 for Timer 2. The TCON and TMOD registers provide
control functions for timers 0, 1. The T2CON register provides control functions for Timer 2. RCAP2H
and RCAP2L are used as reload/capture registers for Timer 2. The operations of Timer 0 and Timer 1
are the same as in the W78C51. Timer 2 is a 16-bit timer/counter that is configured and controlled by
the T2CON register. Like Timers 0 and 1, Timer 2 can operate as either an external event counter or
as an internal timer, depending on the setting of bit C/T2 in T2CON. Timer 2 has three operating
modes: capture, auto-reload, and baud rate generator. The clock speed at capture or auto-reload
mode is the same as that of Timers 0 and 1.
Publication Release Date: December 4, 2006
- 5 - Revision A6
www.DataSheet.in

5 Page





W78L058A arduino
W78LE58/W78L058A
Here is an example to program the P4.0 as a write strobe signal at the I/O port address 1234H1237H
and positive polarity, and P4.1P4.3 are used as general I/O ports.
MOV P40AH,#12H
MOV P40AL,#34H
MOV P4CONA,#00001010B
MOV P4CONB,#00H
MOV P2ECON,#10H
; Base I/O address 1234H for P4.0
; P4.0 a write strobe signal and address line A0 and A1 are masked.
; P4.1P4.3 as general I/O port which are the same as PORT1
; Write the P40SINV = 1 to inverse the P4.0 write strobe polarity
; default is negative.
Then any instruction MOVX @DPTR,A (with DPTR = 1234H1237H) will generate the positive polarity
write strobe signal at pin P4.0. And the instruction MOV P4,#XX will output the bit3 to bit1 of data #XX
to pin P4.3P4.1.
P4 REGISTER
P4.x
READ
WRITE
P4xCSINV
DATA I/O
RD_CS
MUX 4->1
WR_CS
RD/WR_CS
ADDRESS BUS
EQUAL
REGISTER
P4xAL
P4xAH
Bit Length
Selectable
comparator
REGISTER
P4xCMP0
P4xCMP1
P4xFUN0
P4xFUN1
P4.x INPUT DATA BUS
PIN
P4.x
In-System Programming (ISP) Mode
The W78L058A equips one 32K byte of main ROM bank for application program (called APROM) and
one 4K byte of auxiliary ROM bank for loader program (called LDROM). In the normal operation, the
microcontroller executes the code in the APROM. If the content of APROM needs to be modified, the
W78L058A allows user to activate the In-System Programming (ISP) mode by setting the CHPCON
register. The CHPCON is read-only by default, software must write two specific values 87H,
then 59H sequentially to the CHPENR register to enable the CHPCON write attribute. Writing
CHPENR register with the values except 87H and 59H will close CHPCON register write
- 11 -
Publication Release Date: December 4, 2006
Revision A6
www.DataSheet.in

11 Page







PáginasTotal 34 Páginas
PDF Descargar[ Datasheet W78L058A.PDF ]




Hoja de datos destacado

Número de piezaDescripciónFabricantes
W78L058A8-BIT MICROCONTROLLERWinbond
Winbond

Número de piezaDescripciónFabricantes
SLA6805M

High Voltage 3 phase Motor Driver IC.

Sanken
Sanken
SDC1742

12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters.

Analog Devices
Analog Devices


DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares,
permitiéndote verlos en linea o descargarlos en PDF.


DataSheet.es    |   2020   |  Privacy Policy  |  Contacto  |  Buscar