|
|
Número de pieza | W55P241 | |
Descripción | General purpose programmable I/O device | |
Fabricantes | nuvoton | |
Logotipo | ||
Hay una vista previa y un enlace de descarga de W55P241 (archivo pdf) en la parte inferior de esta página. Total 30 Páginas | ||
No Preview Available ! W55P241
Table of Contents-
1. GENERAL DESCRIPTION ............................................................................................................. 2
2. FEATURES..................................................................................................................................... 2
3. PIN DESCRIPTION ........................................................................................................................ 4
4. BLOCK DIAGRAM .......................................................................................................................... 5
5. FUNCTIONAL DESCRIPTION ....................................................................................................... 5
5.1 SPI................................................................................................................................. 5
5.2 BP0/BP1/BP2 ................................................................................................................ 9
5.3 Speedup Groups ......................................................................................................... 13
5.4 Wakeup ....................................................................................................................... 13
5.5 256-Level Output ......................................................................................................... 15
6. CONTROL AND STATUS REGISTERS....................................................................................... 17
6.1 I/O port......................................................................................................................... 17
6.2 AND ............................................................................................................................. 19
6.3 OR ............................................................................................................................... 20
6.4 XOR............................................................................................................................. 21
7. ELECTRICAL CHARACTERISTICS............................................................................................. 23
7.1 Absolute maximum ratings .......................................................................................... 23
7.2 DC Characteristics....................................................................................................... 23
7.3 AC Characteristics....................................................................................................... 23
8. TYPICAL APPLICATION CIRCUIT .............................................................................................. 25
9. PACKAGE INFORMATION .......................................................................................................... 26
10. DEMO BOARD ............................................................................................................................. 30
11. ORDERING INFORMATION ........................................................................................................ 31
12. REVISION HISTORY.................................................................................................................... 31
-1-
1 page W55P241
4. BLOCK DIAGRAM
WAKEUP
Timing
Generator
PBOPR0TA 8
I/O
((PPWWMM))
BP00-BP07
DIS
/CS
CLK
DI
DO
SPI
Control
Logic
Read
Write
Control
Buffer
8-bit
Internal
Data Bus
PBOPR1TB
8
I/O
BP10-BP17
8
PBOPR2TC
I/O
BP20-BP27
Figure 1 W55P241 Block Diagram
5. FUNCTIONAL DESCRIPTION
The W55P241 provides up to three bi-directional ports. Each bi-directional port has 8 pins (BP00~07,
BP10~17, or BP20~27) and each bi-directional pin can be configured as an output pin or input pin
independently. One dedicated wakeup pin forcibly releases the microcontroller from the standby mode.
When selected as an input pin, the state change on each pin can trigger interrupt request, if the
corresponding interrupt enabling bit is set. These three bi-directional ports, when programmed as an
output port, can sink at least 25-mA current in order to drive LED directly. With an embedded 256-level
output circuit, motor speed control and LED brightness are available in BP00~BP07.
5.1 SPI
SPI is a direct and simple interface that uses 4 pads (/CS, CLK, DI and DO) for data exchange
between master and slave. W55P241 operates in the slave mode and up to 2 W55P241 devices can
function simultaneously. The master identifies the slaves which are differentiated by the DIS pad.
Because W55P241 operates in mode 0 only, the CLK idle state is always “0”, “receive data” is always
latched at the rising edge of CLK, and “transmit data” is always changed (if at all) at the falling edge of
CLK. To control one SFR of W55P241, 16 bits of serial data must be transmitted from the master. 16
bits of serial data consist of 1 command byte and 1 data byte. Basically, 4 groups of commands are
defined and the IO port group suffices to generate all possible IO statuses. Users may use 3 other
speedup groups to minimize microcontroller load.
-5-
5 Page W55P241
CMOS output
A=0, D=1
B
PIN
(bit)
Pad
Inverted CMOS output
A=1, D=1
B
PIN
Pad
Figure 6 Normal and inverted CMOS output
5.2.5 Inverted CMOS Output
When Attribute bit = 1 and Direction bit = 1, the pad is in inverted CMOS output mode and the Buffer
bit determines pad state. Unlike CMOS output mode, pad state is indirectly controlled by the Buffer bit
in inverted CMOS output mode. If Buffer bit = 0, the pad will be set to “1.” If Buffer bit = 1, the pad will
be set to “0.” Pin bit directly indicates pad status.
5.2.6 Inverted Open-Drain NMOS Output
When Attribute bit = 0 and Buffer bit = 0, the pad is in inverted open-drain NMOS output mode. If
Direction bit is 0, the pad will be floating. In this case, the pad functions like floating input. If Direction
bit is 1, the pad will be set to “0.” Pin bit directly indicates pad status.
- 11 -
11 Page |
Páginas | Total 30 Páginas | |
PDF Descargar | [ Datasheet W55P241.PDF ] |
Número de pieza | Descripción | Fabricantes |
W55P241 | General purpose programmable I/O device | nuvoton |
Número de pieza | Descripción | Fabricantes |
SLA6805M | High Voltage 3 phase Motor Driver IC. |
Sanken |
SDC1742 | 12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters. |
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, |
DataSheet.es | 2020 | Privacy Policy | Contacto | Buscar |