NY8A054E General Description
NY8A054E is an EPROM based 8-bit MCU tailored for I/O based applications like light control and remote car application. NY8A054E adopts advanced CMOS technology to provide customers remarkable solution with low cost, high performance. RISC architecture is applied to NY8A054E and it provides 55 instructions. All instructions are executed in single instruction cycle except program branch and skip instructions which will take two instruction cycles. Therefore, NY8A054E is very suitable for those applications that are sophisticated but compact program size is required.
As NY8A054E address I/O type applications, it can provide 14 I/O pins for applications which require abundant input and output functionality. Moreover, each I/O pin may have additional features, like Pull-High/Pull-Low resistor and open-drain output type through programming. Moreover, NY8A054E has built-in infrared (IR) carrier generator with selectable IR carrier frequency and polarity for applications which demand remote control feature.
NY8A054E also provides 3 sets of timers which can be used as regular timer based on system oscillation or event counter with external trigger clock. Moreover, NY8A054E provides 5 sets of 10-bit resolution Pulse Width Modulation (PWM) output and 1 set of buzzer output in order to drive motor/LED and buzzer.
NY8A054E employs dual-clock oscillation mechanism, either high oscillation or low oscillation can be derived from internal resistor/capacitor oscillator or external crystal oscillator. Moreover, based on dual-clock mechanism, NY8A054E provides kinds of operation mode like Normal mode, Slow mode, Standby mode and Halt mode in order to save power consumption and lengthen battery operation life. Moreover, it is possible to use internal high-frequency oscillator as CPU operating clock source and external 32KHz crystal oscillator as timer clock input, so as to accurate count real time and maintain CPU working power.
While NY8A054E operates in Standby mode and Halt mode, kinds of event will issue interrupt requests and can wake-up NY8A054E to enter Normal mode and Slow mode in order to process urgent events.
NY8A054E Features
Wide operating voltage range:
2.0V ~ 5.5V @system clock ≦8MHz.
2.2V ~ 5.5V @system clock > 8MHz.
Wide operating temperature: -40°C ~ 85°C.
2K x 14 bits EPROM.
128 bytes SRAM.
14 general purpose I/O pins (GPIO), PA[7:0], PB[5:0], with independent direction control. ? PA[5:0] and PB[3:0] have features of Pull-Low resistor for input pin.
PA[7: 0] and PB[5:0] have features of Pull-High resistor.
PB[5:0] has features of Open-Drain output.
PA[5] has feature of input or open-drain output.
8-level hardware Stack.
Direct and indirect addressing modes for data access.
One 8-bit up-count timer (Timer0) with programmable prescaler.
Five 10-bit reload or continuous down-count timers (Timer1, 3).
Five 10-bit resolution PWM (PWM1, 2, 3, 4, 5) output. PWM1/2 use Timer1, PWM3/4/5 use Timer3. ? One buzzer (BZ1) output.
Selectable 38/57KHz IR carrier frequency and high/low polarity according to data value.
Built-in high-precision Low-Voltage Detector (LVD).
Built-in high-precision Voltage Comparator.
Built-in Power-On Reset (POR).
Built-in Low-Voltage Reset (LVR).
Built-in Watch-Dog Timer (WDT) enabled/disabled by firmware control.
Built-in Resistance to Frequency Converter (RFC) function.
Dual-clock oscillation: System clock can switch between high oscillation and low oscillation.
High oscillation: E_HXT (External High Crystal Oscillator, above 6MHz)
E_XT (External Crystal Oscillator, 455K~6MHz)
I_HRC (Internal High Resistor/Capacitor Oscillator ranging from 1M~20MHz)
Low oscillation: E_LXT (External Low Crystal Oscillator, about 32KHz)
I_LRC (Internal 32KHz oscillator)
Four kinds of operation mode to reduce system power consumption:
Normal mode, Slow mode, Standby mode and Halt mode.
Eight hardware interrupt events:
Timer0 overflow interrupt.
Timer1 underflow interrupt.
Timer3 underflow interrupt.
WDT timeout interrupt.
PA/PB input change interrupt.
2 set External interrupt.
LVD interrupt.
Eight interrupt events to wake-up NY8A054E from Standby mode: ? Timer0 overflow interrupt.
Timer1 underflow interrupt.
Timer3 underflow interrupt.
WDT timeout interrupt.
PA/PB input change interrupt.
2 set External interrupt.
LVD interrupt.
Four interrupt events to wake-up NY8A054E from Halt mode:
WDT timeout interrupt.
PA/PB input change interrupt.
2 set External interrupt.
Major Differences Table Between NY8A054E and NY8A054D:
NY8A054E Block Diagram:
Item |
Function |
NY8A054E |
|
1 |
PortA input pull-high resistor |
PA[7:0] |
|
2 |
PortA input pull-low resistor |
PA[5:0] |
|
3 |
Low Voltage Detector(LVD) voltage level |
16 voltage levels |
|
4 |
Comparator structure |
shared with LVD |
|
5 |
PortA, PortB wake-up default status |
default: disable |
|
6 |
Input Voltage Schmitt Trigger |
Enable/Disable |
|
7 |
Recommended Operating Voltage |
NY8A054E LVR default and recommended voltage are lower than NY8A054D. |
NY8A054E Block Diagram:
NY8A054E Pin Assignment
NY8A054E provides two kinds of package type which are SOP16 and SOP8 package.
NY8A054E Pin Description:
NY8A054E Pin Description: