NY8A051E Description:
The NY8A051E is an 8-bit microcontroller with EPROM as memory and is designed for multi-IO applications such as remote controls, fan/light controls, or video instrument peripherals. CMOS process and at the same time to provide customers with low cost, high performance and other significant advantages. The NY8A051E core is built on the RISC Reduced instruction set architecture for easy editing and control, with a total of 55 instructions. Except for a few instructions that require 2 sequences, most instructions can be completed in 1 sequence, allowing users to easily complete different applications with program control. Therefore, it is ideal for a variety of low and medium memory capacity but complex applications.
In terms of I/O resources, the NY8A051E has six elastic bidirectional I/O pins, each with a separate register control as an input or output pin. And each I/O pin has additional program-controlled functions such as pull-down resistance or Open-Drain output. In addition, for the product side of infrared remote control, NY8A051E has built-in infrared carrier transmitter with selectable frequency.
The NY8A051E has two sets of timers, which can be counted on the system frequency as a general timing application or triggered from an external signal. In addition, the NY8A051E provides a set of 8-bit resolution PWM output or buzzer output, which can be used to drive a motor, LED, or buzzer.
The NY8A051E uses a dual clock mechanism, and the high speed oscillation or low speed oscillation is input by the internal RC oscillation. Under the dual-clock mechanism, the NY8A051E can choose multiple working modes, such as Normal mode, Slow mode, Standby mode and sleep mode, to save power consumption and extend battery life. And when the microcontroller uses the internal RC high-speed oscillation, the low-speed oscillation can be timed at the same time using the external precise Crystal 32768Hz. It can maintain high-speed processing while accurately calculating the true time.
In power-saving modes such as Standby mode and sleep mode, there are various events that can trigger the interrupted wake-up of the NY8A051E to enter Normal mode or Slow mode to deal with emergencies.
NY8A051E built-in low-speed crystal oscillator (32768Hz) capacitor, CL has Disable, 7pF, 9pF, 12.5pF four options to choose, convenient for customers to reduce external zero parts, still can get more accurate PPM value.
NY8A051E builds large drive current mode (20mA@3V, 34mA@5V) in PB1/PB2 to provide customers with large current requirements. And the PB3(Vpp) adds an internal pull-up resistance of 85K ohms and can be programmed to switch.
NY8A051E Features:
Wide operating voltage: (instruction cycle is 4 CPU clock, i.e. 4T mode)
2.0V ~ 5.5V @ System frequency ≦8MHz.
2.2V ~ 5.5V @ System frequency > 8MHz.
Wide operating temperature: -40°C ~ 85°C.
1Kx14 bits EPROM.
48 bytes SRAM.
Six I/O pins (GPIO) and PB[5:0] that can separately control the input and output directions.
PB[3:0] can optionally use a built-in pull-down resistor for input and a pull-up resistor for input. ? PB[5:4] and PB[2:0] can be either pull-up resistor or Open-Drain.
PB[3] can be selected as input or Open-Drain.
8-layer Stack.
Access data has direct or indirect addressing modes.
A set of 8-bit upper timer (Timer0) contains programmable frequency predivision lines.
A set of 8-bit downcount timers (Timer1) can optionally be loaded repeatedly or counted continuously.
An 8-bit pulse width modulation output (PWM1).
A buzzer output (BZ1).
The 38/57KHz infrared carrier frequency can be selected, and the carrier polarity can also be selected according to the data.
Built-in power-on reset circuit (POR).
Built-in low voltage reset (LVR).
Built-in watchdog timer (WDT), which can be switched on and off by the program firmware.
Dual clock mechanism, the system can switch between high speed oscillation or low speed oscillation at any time.
High speed oscillation: I_HRC (1~20MHz internal high speed RC oscillation)
Low-speed oscillation: I_LRC (internal 32KHz low-speed RC oscillation)
E_LXT (external 32KHz low speed quartz oscillation)
Four operating modes can be used to adjust current consumption according to system requirements: Normal mode, Slow mode, Standby mode, and sleep mode.
Five types of hardware interrupts:
Timer0 The overflow is interrupted.
Timer1 borrow interrupt.
The WDT is interrupted.
Description The change of PB input status is interrupted.
External interrupt input.
NY8A051E in Standby mode (Standby mode) five wake interrupts:
Timer0 The overflow is interrupted.
Timer1 borrow interrupt.
The WDT is interrupted.
Description The change of PB input status is interrupted.
External interrupt input.
NY8A051E Three wake interrupts in Halt mode:
The WDT is interrupted.
Description The change of PB input status is interrupted.
External interrupt input.
NY8A051E Block Diagram:

NY8A051E Pin Assignment:NY8A051E provides three kinds of package type which are SOP8, DIP8 and SOT23-6.

NY8A051E Pin Description: