NY8A053E Overview:
The NY8A053E is an 8-bit microcontroller with EPROM as memory, 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 NY8A053E 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 NY8A053E has 12 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 or pull down resistance or Open-Drain output. In addition, for infrared remote control products, NY8A053E has built-in infrared carrier transmitter with selectable frequency.
The NY8A053E has two sets of timers that can be counted at the system frequency for general timing applications or triggered from an external signal. In addition, the NY8A053E offers four sets of 10-bit resolution PWM outputs or buzzer outputs that can be used to drive motors, leds, or buzzers.
NY8A053E uses a dual clock mechanism, high speed oscillation or low speed oscillation can be selected respectively internal RC oscillation or external Crystal input. In the dual-clock mode, the NY8A053E can select 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 simultaneously timed using the external precise Crystal. It can maintain high-speed processing while accurately calculating the true time.
In the power saving mode, such as Standby mode and sleep mode, various events can trigger the NY8A053E to wake up in Normal or Slow mode to deal with emergencies.
NY8A053E特性:
寬廣的工作電壓:
2.0V ~ 5.5V @系統頻率≦8MHz。
2.2V ~ 5.5V @系統頻率>8MHz。
寬廣的工作温度:-40°C~85°C。
1Kx14 bits EPROM。
64 bytes SRAM。
內建準確的低電壓偵測電路(LVD)。14 Level 2.2v ~ 4.15v
內建準確的電壓比較器(Voltage Comparator)。
12 根可分別單獨控制輸入輸出方向的I/O腳(GPIO)、PA[3:0]、PB[7:0]。
PA[3:0]及PB[3:0]可選擇輸入時使用內建下拉電阻。
PB[7:0]可選擇上拉電阻或開漏極輸出(Open-Drain)。
PB[3]可選擇當作輸入或開漏極輸出(Open-Drain)。
8層程式堆棧(Stack)。
存取資料有直接或間接定址模式。
一組8位元上數計時器(Timer0)包含可程式化的頻率預除線路。
一組10位元下數計時器(Timer1)可選重複載入或連續下數計時。
4 個10位元的脈衝寬度調變輸出(PWM1~PWM4),PWM1/2/3/4共用Timer1。
一個蜂鳴器輸出(BZ1)。
38/57KHz紅外線載波頻率可供選擇,同時載波之極性也可以根據數據作選擇。
紅外線載波發射口。
內建上電復位電路(POR)。
內建低壓復位功能(LVR)。
內建看門狗計時(WDT),可由程式韌體控制開關。
雙時鐘機制,系統可以隨時切換高速振盪或者低速振盪。
高速振盪: E_HXT(超過 6MHz外部高速石英振盪)
E_XT(455K~6MHz外部石英振盪)
I_HRC(1~20MHz內部高速RC振盪)
低速振盪: E_LXT(32KHz外部低速石英振盪)
I_LRC(內部 32KHz低速RC振盪)
四種工作模式可隨系統需求調整電流消耗:正常模式(Normal)、慢速模式(Slow mode)、待機模式(Standby mode)與睡眠模式(Halt mode)。
六種硬體中斷:
Timer0溢位中斷。
Timer1借位中斷。
WDT中斷。
PB輸入狀態改變中斷。
外部中斷輸入。
低電壓偵測中斷。
NY8A053E在待機模式(Standby mode)下的六種喚醒中斷:
Timer0溢位中斷。
Timer1借位中斷。
WDT中斷。
PB 輸入狀態改變中斷。
外部中斷輸入。
低電壓偵測中斷。
NY8A053E在睡眠模式(Halt mode)下的三種喚醒中斷:
WDT中斷。
PB輸入狀態改變中斷。
外部中斷輸入。
NY8A053E功能框图:
NY8A053E引脚分配:
NY8A053E引脚描述: