NY8A054D General Description:
NY8A054D is an EPROM based 8-bit MCU tailored for I/O based applications like light control and remote car application. NY8A054D adopts advanced CMOS technology to provide customers remarkable solution with low cost, high performance. RISC architecture is applied to NY8A054D 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, NY8A054D is very suitable for those applications that are sophisticated but compact program size is required.
As NY8A054D 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, NY8A054D has built-in infrared (IR) carrier generator with selectable IR carrier frequency and polarity for applications which demand remote control feature.
NY8A054D 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, NY8A054D 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.
NY8A054D 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, NY8A054D 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 NY8A054D operates in Standby mode and Halt mode, kinds of event will issue interrupt requests and can wake-up NY8A054D to enter Normal mode and Slow mode in order to process urgent events.
NY8A054D Features:
Wide operating voltage range: (@ 4 CPU clock per instruction, i.e. 4T mode)
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, 3:0] and PB[3:0] have features of Pull-Low resistor for input pin.
PA[7:6, 4: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.
Nine 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.
Comparator output status change interrupt.
Nine interrupt events to wake-up NY8A054D 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.
Comparator output status change interrupt.
Four interrupt events to wake-up NY8A054D from Halt mode:
WDT timeout interrupt.
PA/PB input change interrupt.
2 set External interrupt.
NY8A054D Block Diagram:
NY8A054D Pin Assignment
NY8A054D provides two kinds of package type which are SOP16 and SOP8 package.
NY8A054D Pin Description:
NY8A054D Pin Description: