DataSheet.es    


PDF W78E858 Data sheet ( Hoja de datos )

Número de pieza W78E858
Descripción 8-BIT MICROCONTROLLER
Fabricantes nuvoton 
Logotipo nuvoton Logotipo



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


Total 30 Páginas

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

W78E858 Data Sheet
8-BIT MICROCONTROLLER
Table of Contents-
1. GENERAL DESCRIPTION..........................................................................................................3
2. FEATURES..................................................................................................................................3
3. PIN CONFIGURATIONS .............................................................................................................4
4. PIN DESCRIPTION .....................................................................................................................5
5. FUNCTIONAL DESCRIPTION ....................................................................................................6
5.1 RAM.................................................................................................................................6
5.2 EEPROM.........................................................................................................................6
5.2.1 Byte Write Mode................................................................................................................6
5.2.2 Page Write Mode ..............................................................................................................6
5.2.3 Software Protected Data Write..........................................................................................7
5.2.4 Command Codes for Software Data Protection Enable/Disable and Software Erase .......7
5.3 Demo Code: ....................................................................................................................7
5.4 On-chip Flash EPROM..................................................................................................10
5.5 Timers 0, 1, and 2 .........................................................................................................11
5.6 Clock .............................................................................................................................11
5.7 Crystal Oscillator ...........................................................................................................11
5.8 External Clock ...............................................................................................................11
5.9 Power Management ......................................................................................................11
5.9.1 Idle Mode ........................................................................................................................11
5.9.2 Power-down Mode ..........................................................................................................11
5.9.3 Wake-up Via External Interrupts INT0 to INT9................................................................12
5.10 Reset .............................................................................................................................14
5.11 Pulse Width Modulator System .....................................................................................15
5.11.1 PWMCON (91H) ...........................................................................................................15
5.12
5.11.2 PWMP (92H).................................................................................................................15
In-system Programming System ...................................................................................16
5.12.1 SFRAL (C4H) ................................................................................................................16
5.12.2 SFRAH (C5H) ...............................................................................................................16
5.12.3 SFRFD (C6H) ...............................................................................................................16
5.12.4 SFRCN (C7H) ...............................................................................................................17
5.13 In-system Programming Mode Operating Table ...........................................................17
5.13.1 CHPCON (BFH) ............................................................................................................18
5.14 MXPSR (A2H) ...............................................................................................................18
5.15 Interrupt System ............................................................................................................18
5.16 External Interrupts INT2 to INT9 ...................................................................................19
5.16.1 IE_1 (E8H) ....................................................................................................................19
Publication Release Date: April 22, 2008
- 1 - Revision A8

1 page




W78E858 pdf
W78E858
4. PIN DESCRIPTION
SYMBOL TYPE
DESCRIPTIONS
External Access Enable: EA low forces the processor to execute the
EA I external ROM. The ROM address and data will not be present on the bus if
the EA pin is high and the program counter is within the 32 KB area.
Otherwise they will be present on the bus.
PSEN
ALE
RST
XTAL1
XTAL2
VSS
VDD
P0.0 P0.7
P1.0 P1.7
P2.0 P2.7
P3.0 P3.7
P4.0 P4.3
Program Strobe Enable: PSEN enables the external ROM data in the Port 0
O/H address/data bus. When internal ROM access is performed, no PSEN strobe
signal outputs originate from this pin.
Address Latch Enable: ALE is used to enable the address latch that
O/H
separates the address from the data on Port 0. ALE runs at 1/6th of the
oscillator frequency. An ALE pulse is omitted during external data memory
accesses.
RESET: A high on this pin for two machine cycles while the oscillator is
I/L running resets the device. RST has a Schmitt trigger input stage to provide
additional noise immunity with a slow rising input voltage.
I
Crystal 1: This is the crystal oscillator input. This pin may be driven by an
external clock
O Crystal 2: This is the crystal oscillator output. It is the inversion of XTAL1.
I Ground: Ground potential.
I Power Supply: Supply voltage for operation.
I/O D Port 0: Function is the same as that of the standard 8052.
Port 1: Function is the same as that of the standard 8052. Port1 also service
I/O H the alternative function INT2 INT9. P1.0 provide a timer2 programmable
clock output. Four channel PWM clock output via P1.4 P1.7
I/O H
Port 2: Port 2 is a bi-directional I/O port with internal pull-ups and emits the
high-order address byte during accesses external memory
I/O H Port 3: Function is the same as that of the standard 8052
I/O H Port 4: Function is the same as Port1
* Note: TYPE I: input, O: output, I/O: bi-directional, H: pull-high, L: pull-low, D: open drain
Publication Release Date: April 22, 2008
- 5 - Revision A8

5 Page





W78E858 arduino
W78E858
5.5 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.
5.6 Clock
The W78E858 is designed to use with either a crystal oscillator or an external clock. Internally, the
clock is divided by two before it is used by default. This makes the W78E858 relatively insensitive to
duty cycle variations in the clock.
5.7 Crystal Oscillator
The W78E858 incorporates a built-in crystal oscillator. To make the oscillator work, a crystal must be
connected across pins XTAL1 and XTAL2. In addition, a load capacitor must be connected from each
pin to ground, and a resistor must also be connected from XTAL1 to XTAL2 to provide a DC bias
when the crystal frequency is above 24 MHz.
5.8 External Clock
An external clock should be connected to pin XTAL1. Pin XTAL2 should be left unconnected. The
XTAL1 input is a CMOS-type input, as required by the crystal oscillator. As a result, the external clock
signal should have an input one level of greater than 3.5 volts.
5.9 Power Management
5.9.1 Idle Mode
The CPU will enter to idle by setting the IDL bit in the PCON register. In the idle mode, the internal
clock to the processor is stopped. The peripherals and the interrupt logic continue to be clocked. The
processor will exit idle mode when either an interrupt or a reset occurs.
5.9.2 Power-down Mode
When the PD bit of the PCON register is set, the processor enters the power-down mode. In this mode
all of the clocks, including the oscillator are stopped. There are two ways to exit power-down mode,
one is by a chip reset and another is via external interrupts wake up if the related control flags are
enabled.
- 11 -
Publication Release Date: April 22, 2008
Revision A8

11 Page







PáginasTotal 30 Páginas
PDF Descargar[ Datasheet W78E858.PDF ]




Hoja de datos destacado

Número de piezaDescripciónFabricantes
W78E8588-BIT MICROCONTROLLERWinbond
Winbond
W78E8588-BIT MICROCONTROLLERnuvoton
nuvoton

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