NY8A051F General Description:
NY8A051F is an EPROM based 8-bit MCU tailored for I/O based applications like remote controllers, fan/light controller, game controllers, toy and various controllers. NY8A051F adopts advanced CMOS technology to provide customers remarkable solution with low cost and high performance benefits. RISC architecture is applied to NY8A051F 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, NY8A051F is very suitable for those applications that are sophisticated but compact program size is required.
As NY8A051F address I/O type applications, it can provide 6 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, NY8A051F has built-in infrared (IR) carrier generator with selectable IR carrier frequency and polarity for applications which demand remote control feature.
NY8A051F also provides 2 sets of timers which can be used as regular timer based on system oscillation or event counter with external trigger clock. Moreover, NY8A051F provides 1 set of 8-bit resolution Pulse Width Modulation (PWM) output and buzzer output in order to drive motor/LED and buzzer.
NY8A051F employs dual-clock oscillation mechanism, both high oscillation or low oscillation can be derived from internal resistor/capacitor oscillator. Moreover, based on dual-clock mechanism, NY8A051F 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.
While NY8A051F operates in Standby mode and Halt mode, kinds of event will issue interrupt requests and can wake-up NY8A051F to enter Normal mode and Slow mode in order to process urgent events.
NY8A051F 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.
High ESD over ±5KV.
Built-in high-precision Low-Voltage Detector (LVD).
1K x 14 bits EPROM.
48 bytes SRAM.
6 general purpose I/O pins (GPIO), PB[5:0], with independent direction control.
PB[3:0] has features of Pull-High and Pull-Low resistor for input pin.
PB[3:0] has features of Pull-High and Pull-Low resistor for input pin.
PB[5:0] has features of Pull-High resistor, and open-drain output.
ViH / ViL has three types to choose (TTL/CMOS/ Without Schmitt).
PB[3] built-in Pull-High resistor 80K.
8-level hardware Stack.
Direct and indirect addressing modes for data access.
One 8-bit up-count timer (Timer0) with programmable prescaler.
One 8-bit reload or continuous down-count timers (Timer1).
One 8-bit resolution PWM (PWM1) output.
One buzzer (BZ1) output.
Selectable 38/57KHz IR carrier frequency and high/low polarity according to data value.
Built-in Power-On Reset (POR).
Built-in Low-Voltage Reset (LVR).
Built-in Watch-Dog Timer (WDT) enabled/disabled by firmware control.
Dual-clock oscillation: System clock can switch between high oscillation and low oscillation.
High oscillation: I_HRC (Internal High Resistor/Capacitor Oscillator ranging from 1M~20MHz)
Low oscillation: I_LRC (Internal 32KHz oscillator)
Low oscillation: I_LRC (Internal 32KHz oscillator)
Four kinds of operation mode to reduce system power consumption:
Normal mode, Slow mode, Standby mode and Halt mode.
Six hardware interrupt events:
Timer0 overflow interrupt.
Timer1 underflow interrupt.
WDT timeout interrupt.
LVD interrupt.
Six interrupt events to wake-up NY8A051F from Standby mode:
Timer0 overflow interrupt.
Timer1 underflow interrupt.
WDT timeout interrupt.
PB input change interrupt.
External interrupt.
LVD interrupt.
Three interrupt events to wake-up NY8A051F from Halt mode:
WDT timeout interrupt.
PB input change interrupt.
External interrupt.
NY8A051F Block Diagram:
NY8A051F Pin Assignment
NY8A051F provides three kinds of package type which are SOP8, DIP8 and SOT23-6.
NY8A051F provides three kinds of package type which are SOP8, DIP8 and SOT23-6.
NY8A051F Pin Description External interrupt.