HIGH SPEED 8051 μC CORE
- Pipe-lined Instruction Architecture; Executes 70% of Instructions in 1 or 2
System Clocks
- Up to 25MIPS Throughput with 25MHz System Clock
- 22 Vectored Interrupt Sources
MEMORY
- 4352 Bytes Internal Data RAM (256 + 4k)
- 64k Bytes In-System Programmable FLASH Program Memory
- External Parallel Data Memory Interface – up to 5Mbytes/sec
DIGITAL PERIPHERALS
- 64 Port I/O; All are 5V tolerant
- Hardware SMBusTM (I2CTM Compatible), SPITM, and Two UART Serial
Ports Available Concurrently
- Programmable 16-bit COUNTER/Timer Array with 5 Capture/Compare
Modules
- 5 General Purpose 16-bit COUNTER/Timers
- Dedicated Watch-Dog Timer; Bi-directional Reset
CLOCK SOURCES
- Internal Programmable Oscillator: 2-to-16MHz
- External Oscillator: Crystal, RC, C, or Clock
- Real-Time Clock Mode using Timer 3 or PCA
SUPPLY VOLTAGE ........................ 2.7V to 3.6V
- Typical Operating Current: 10mA @ 25MHz
- Multiple Power Saving Sleep and Shutdown Modes
100-Pin TQFP (64-Pin Version Available)
Temperature Range: –40°C to +85°C
介紹基于ISA總線與KH-9300的數(shù)據(jù)采集板卡的設(shè)置,詳細(xì)說明8254定時計數(shù)器及8259中斷控制器的結(jié)構(gòu)特點、工作方式、控制字等,探討中斷類型、中斷處理程序、中斷矢量表及其填寫。重點講述使用TorboC編寫中斷服務(wù)程序的方法,應(yīng)注意的主要問題及程序測試的結(jié)果。
Abstract:
The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working methods,control characters of the timing COUNTER 8254 and interruptioncontroller 8259 are explained in detail.The interruption type,interrupt handling programs,interruption vector table and its filling also are discussed.Further,great emphasis is put on the method of interrupt service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.
以89S52單片機和EP1C6Q240C8型FPGA為控制核心的多功能計數(shù)器,是由峰值檢波、A/D轉(zhuǎn)換、程控放大、比較整形、移相網(wǎng)絡(luò)部分組成,可實現(xiàn)測量正弦信號的頻率、周期和相位差的功能。多功能計數(shù)器采用等精度的測量方法,可實現(xiàn)頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號的精確測頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號精確測相。液晶顯示器能夠?qū)崟r顯示當(dāng)前信號的頻率、周期和相位差。該多功能計數(shù)器精度高,界面友好,實用性強。
Abstract:
A multi-function COUNTER,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The COUNTER measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function COUNTER achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function COUNTER features high precision,friendly interface,and strong practical.
對于瀝青混凝土攤鋪機自動找平控制系統(tǒng)來說,數(shù)字式控制系統(tǒng)的研制是目前的一個方向。介紹了一種基于CAN總線的數(shù)字式自動找平控制系統(tǒng)。該系統(tǒng)以CAN總線作為通信方式,PWM控制信號通過C8051F040單片機內(nèi)部PCA可編程計數(shù)器陣列產(chǎn)生,并具有結(jié)構(gòu)簡單、信號穩(wěn)定、實時性強、易擴展的特點。通過硬件實現(xiàn)和系統(tǒng)運行達到了比較理想的控制效果,驗證了系統(tǒng)的可行性。
Abstract:
A digital auto-leveling control system based on CAN Bus is introduced.It uses CAN Bus as the method of communication and creates PWM signals by programmable COUNTER array in C8051F040 microcontroller. The system is simple, stable, real-time and expansive.
NEC 16位MCU參考手冊
The 78K0R/IC3 is a 16-bit single-chip microcontroller that uses a 78K0R CPU core and incorporates peripheral functions, such as ROM/RAM, a multi-function timer, a multi-function serial interface, an A/D converter, a programmable gain amplifier (PGA), a comparator, a real-time COUNTER, and a watchdog timer.