Overview of NY8BM72A:
The NY8BM72A is an 8-bit microcontroller with MTP as memory, except for I/O applications such as home appliances or measurement. More optimized for atomizer products. The CMOS process provides customers with significant advantages such as low cost, high performance, and high resistance to electromagnetic interference. MTP is a more convenient and efficient development product for program memory. The NY8BM72A core is built on the RISC Reduced instruction set architecture for easy editing and control, with a total of 53 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.
The NY8BM72A has a built-in debug emulator circuit that uses two pins and very little external hardware to achieve most of the functions of the online emulator, such as setting program execution conditions and interrupt conditions, on-chip single-step execution, and viewing and setting the contents of various registers. The execution effect of the simulation will be closer to the actual IC operation than the ordinary simulator.
NY8BM72A built-in high precision 12+1 channel 12-bit analog-to-digital converter, and high precision voltage comparator, enough to cope with a variety of analog interface detection and measurement.
The NY8BM72A built-in high frequency oscillator can flexibly select the output frequency range to suit a variety of nebulizer components, and can also be programmed to fine-tune the output frequency enough to cope with the nebulizer component deviation.
In terms of I/O resources, the NY8BM72A has 18 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, the NY8BM72A has built-in infrared carrier transmitter with selectable frequency.
The NY8BM72A has four sets of timers, which can be counted at the system frequency as a general timing application or triggered from an external signal. In addition, the NY8BM72A offers three sets of 10-bit resolution PWM outputs and three sets of buzzer outputs that can be used to drive a motor, LED, or buzzer.
The NY8BM72A uses a dual-clock mechanism, and the high or low speed oscillations can be selected from the internal RC oscillation or the external Crystal input, respectively. Under the dual-clock mechanism, the NY8BM72A can choose a variety of 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 power-saving modes such as Standby mode and sleep mode, there are various events that can trigger the interrupted wake-up of the NY8BM72A into Normal or Slow mode to deal with emergencies.
The NY8BM72A can be initially configured to be compatible with NY8B072A, NY8B062A and NY8B062D. Therefore, in addition to using NY8_ICE, the three mothers can also use the NY8BM72A built-in debug simulation circuit to simulate the actual IC action.
NY8BM72A特性:
系統(tǒng)主頻提供 20.8M/19.2M/16M/14.4M/13.6M提供選擇。
Timer 3可option選擇直接輸出系統(tǒng)主頻,並提供最快半個Clock系統(tǒng)主頻輸出。
高頻率振盪器(FHOSC)有11bit R-page(1DH&1EH)給使用者微調(diào),出廠trim至±1%,使用者可調(diào)整至±0.1%。詳細電壓及溫度對振盪器影響請參照“Frequency vs.VDD of I_HRC”及“Frequency vs. Temperature of I_HRC” 章節(jié)。
內(nèi)建二線控制的除錯仿真電路。
超過 ±8KV 的ESD。
雜訊過濾功能(Noise Filter)打開時可容忍超過±4KV的EFT。(操作電壓@5V)
寬廣的工作電壓:
2.0V ~ 5.5V @系統(tǒng)頻率 ≦8MHz。
2.2V ~ 5.5V @系統(tǒng)頻率 > 8MHz。
寬廣的工作溫度:-40°C ~ 85°C。
2Kx14 bits MTP。
128 bytes SRAM。
18根可分別單獨控制輸入輸出方向的I/O腳(GPIO)、PA[7:0]、PB[7:0] 、PC[1:0]。
PA[5, 3:0]、PB[3:0]及PC[1:0]可選擇輸入時使用內(nèi)建下拉電阻。
PA[7:0]、PB[7:0]及PC[1:0]可選擇輸入時使用上拉電阻,上拉電阻可選擇 100KΩ或 1MΩ。(PA5 約為 80KΩ)。
PB[7:0]及PC[1:0]可選擇開漏極輸出(Open-Drain)。
PA[5]可選擇當作輸入或開漏極輸出(Open-Drain)。
所有I/O腳輸出可選擇定灌電流(Constant Sink Current)、小灌電流(Small Sink Current)、一般灌電流(Normal Sink Current)或大灌電流(Large Sink Current)。
所有I/O腳輸出可選擇小推電流(Small Drive Current)或一般推電流(Normal Drive Current),除PA5 外。
8層程式堆棧(Stack)。
存取資料有直接或間接定址模式。
一組8位元上數(shù)計時器(Timer0)包含可程式化的頻率預除線路。
三組10位元下數(shù)計時器(Timer1, 2, 3)可選重複載入或連續(xù)下數(shù)計時。
三個 10 位元脈衝寬度調(diào)變(PWM1, 2, 3)。
三個蜂鳴器輸出(BZ1, 2, 3)。
38/57KHz紅外線載波頻率可供選擇,同時載波之極性也可以根據(jù)數(shù)據(jù)作選擇。
內(nèi)建準確的低電壓偵測電路(LVD)。
內(nèi)建 12+1 通道 12 位元類比數(shù)位轉(zhuǎn)換器(Analog to Digital Converter)。
內(nèi)建準確的電壓比較器(Voltage Comparator)。
內(nèi)建上電復位電路(POR)。
內(nèi)建低壓復位功能(LVR)。
內(nèi)建看門狗計時(WDT),可由程式韌體控制開關。
內(nèi)建電阻頻率轉(zhuǎn)換器(RFC)功能.
雙時鐘機制,系統(tǒng)可以隨時切換高速振盪或者低速振盪。
高速振盪:E_HXT (超過 6MHz外部高速石英振盪)
E_XT (455K~6MHz外部石英振盪)
I_HRC (1~20.8MHz內(nèi)部高速RC振盪)
低速振盪:E_LXT (32KHz外部低速石英振盪)
I_LRC (內(nèi)部 32KHz低速RC振盪)
四種工作模式可隨系統(tǒng)需求調(diào)整電流消耗:正常模式(Normal)、慢速模式(Slow mode)、待機模式(Standby mode) 與 睡眠模式(Halt mode)。
十二種硬體中斷:
Timer0 溢位中斷。
Timer1 借位中斷。
imer2 借位中斷。
Timer3 借位中斷。
WDT 中斷。
PA/PB 輸入狀態(tài)改變中斷。
三組外部中斷輸入。
低電壓偵測中斷。
比較器輸出轉(zhuǎn)態(tài)中斷。
類比數(shù)位轉(zhuǎn)換完成中斷°
NY8BM72A在待機模式(Standby mode)下的十二種喚醒中斷:
Timer0 溢位中斷。
Timer1 借位中斷。
Timer2 借位中斷。
Timer3 借位中斷。
WDT 中斷。
PA/PB 輸入狀態(tài)改變中斷。
三組外部中斷輸入。
低電壓偵測中斷。
比較器輸出轉(zhuǎn)態(tài)中斷。
類比數(shù)位轉(zhuǎn)換完成中斷º
NY8BM72A在睡眠模式(Halt mode)下的五種喚醒中斷:
WDT 中斷。
PA/PB 輸入狀態(tài)改變中斷。
三組外部中斷輸入。
NY8BM72A功能框圖:
NY8BM72A引腳分配:
NY8BM72A引腳說明:
NY8BM72A功能框圖:
NY8BM72A引腳分配:
NY8BM72A引腳說明: