CN102542872A - Driving system based on embedded development platform - Google Patents

Driving system based on embedded development platform Download PDF

Info

Publication number
CN102542872A
CN102542872A CN2010106217150A CN201010621715A CN102542872A CN 102542872 A CN102542872 A CN 102542872A CN 2010106217150 A CN2010106217150 A CN 2010106217150A CN 201010621715 A CN201010621715 A CN 201010621715A CN 102542872 A CN102542872 A CN 102542872A
Authority
CN
China
Prior art keywords
serial ports
lcd
serial port
development platform
embedded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010106217150A
Other languages
Chinese (zh)
Inventor
张磊
于忠清
翟伟伟
富饶
蔡宇玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haiersoft Co Ltd
Original Assignee
Qingdao Haiersoft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haiersoft Co Ltd filed Critical Qingdao Haiersoft Co Ltd
Priority to CN2010106217150A priority Critical patent/CN102542872A/en
Publication of CN102542872A publication Critical patent/CN102542872A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention relates to an experimental operating device, in particular to a drive based on an embedded development platform. The experimental device comprises a serial port I, a serial port II, a liquid crystal display (LCD) connecting module, a random access memory, a Nor Flash module, programmable keys, a power supply, a light-emitting diode (LED) lamp, a buzzer and a central processing unit, wherein the serial port I, the serial port II, the LCD connecting module, the random access memory, the Nor Flash module, the programmable keys, the power supply, the LED lamp and the buzzer are connected with the central processing unit respectively; the other ends of the serial port I and the serial port II are connected with a personal computer (PC) respectively; and the other end of the LCD connecting module is connected with an LCD display screen. The platform is widely applied to industrial control, medical equipment, access control, point-of-sale (POS) machines, communication gateways, embedded soft moderm and the like, and the expandability and adaptability of the system are greatly improved.

Description

Drive system based on embedded development platform
Technical field
The present invention relates to a kind of experimental implementation device, relate in particular to a kind of driving based on embedded development platform.
Background technology
In today of infotech high speed prosperity; Computing machine has got into epoch that are full of opportunities and challenges; Along with industry member improves constantly what Based Intelligent Control required, various informative digital intelligent product arises at the historic moment, and becomes the critical piece that replaces PC to carry out information processing.In these parts, embed microprocessor, also just become so-called embedded system.Embedded system has been dissolved in people's the life, and ubiquitous, considerably beyond the application of general purpose PC.
Present various embedded development platform, or be based on the learning board of more low-grade processor chips, can only do some simple study programmings.If the learning board of more high-grade processor chips, then interface lacks usually, and the user also can only carry out the study of related software.The large-screen lc screen that can not provide video to show usefulness simultaneously.These defectives make these development boards can't realize Embedded System Design and the study of handling to signal specific.
In the present colleges and universities course, a lot of colleges and universities are the single-chip microcomputer principle with regard to using before using 10 years also, and single-chip microcomputer progressively falls behind, and much upgrading higher requirement has not been that single-chip microcomputer can be realized.And corresponding practice course lacks more.In addition, science and technology type company is in the R&D process of relevant embedded platform experimental provision, and the level of hardware platform is very low.Development of technologies; No matter cultivate from the practice and the manipulative ability of college student; Still be aspects such as constantly weeding out the old and bring forth the new of scientific & technical corporation's product; All require aspect system design, can develop, and can in time release effective embedded system study and design platform, realize complete signal processing along with sending out of technology.
Summary of the invention
Technique effect of the present invention can overcome above-mentioned defective, and a kind of drive system based on embedded development platform is provided, and it can accomplish kinds of experiments or teaching demonstration function.
For realizing above-mentioned purpose; The present invention adopts following technical scheme: it comprises serial ports I, serial ports II, LCD link block, random access memory, Nor Flash module, programming button, power supply, LED lamp, hummer, central microprocessor, and serial ports I, serial ports II, LCD link block, random access memory, Nor Flash module, programming button, power supply, LED lamp, hummer are connected with central microprocessor respectively; The other end of serial ports I, serial ports II is connected with PC respectively; The other end of LCD link block connects LCD display.
Central microprocessor adopts the LPC2220 model.LPC2220 is based on 16/32 ARM7TDMI-S that supports real-time simulation and embedded tracking TMThe drives platform that erects on the microcontroller basis of CPU has 64KB SRAM in the sheet.Nor Flash module in system as the data segment storage area of system-program code section and curing.Have the application of strict control can use 16 Thumb patterns that code size is reduced to code size and surpass 30%, and the loss of performance is very little.Native system has been developed the each several part function of LPC2220 to the utmost, and through configuration bus, (universal input and output) realize multidata input and output to GPIO.Because the built-in serial communication interface of wide region also is very suitable for communication gate, protocol converter, embedded soft modern and other various types of application.
LPC2220 is based on 16/32 ARM7TDMI-S that supports real-time simulation and embedded tracking TMThe microcontroller of CPU.Have the application of strict control can use 16 Thumb patterns that code size is reduced to code size and surpass 30%, and the loss of performance is very little.
Because the 144 pin encapsulation of LPC2220, extremely low power consumption, a plurality of 32 bit timing devices, 8 tunnel 10 ADC, PWM outputs and reach 9 external interrupt and make them be specially adapted to Industry Control, medical system, access control and POS machine.
Through configuration bus, LPC2220 can provide 76 GPIO at most.Because the built-in serial communication interface of wide region, they also are very suitable for communication gate, protocol converter, embedded soft modern and other various types of application.
LPC2220 has 16/32 144 pin ARM7TDMI-S microcontroller; Static RAM (SRAM) in the 16K chunk; Serial boot load module is implemented in system downloads and programming through UART0; Can memory configurations be become 4 groups every group capacity through external memory interface is 8/16/32 up to the 16Mb data width; EmbeddedICE-RT interface enable breakpoint and observation point in the foreground task is used sheet during the RealMonitor software debugging interrupt service routine can continue execution; Embedded tracking macroelement ETM supports that run time version is carried out glitch-free high-speed real-time to be followed the tracks of; 8 tunnel 10 A/D converters are low to moderate 2.44ms switching time; 2 32 bit timing device bands 4 tunnel are caught and 4 tunnel comparison passage PWM unit, 6 tunnel output real-time clock and house dogs; A plurality of serial line interfaces comprise 2 16C550 industrial standard UART High Speed I 2C interface 400kbit/s and 2 SPI interfaces; Vector configurable priority of interruptable controller and vector address; Nearly 76 universaling I/O ports can bear 5V voltage 12 separate outer interrupt pin EIN and CAP function; Can realize being to the maximum the CPU operating frequency of 60MHz through PLL in the sheet; Crystal oscillator frequency scope 1-30MHz in the sheet; 2 low-power consumption mode free time and power down; Through external interrupt processor is waken up from power-down mode; Can come optimize power consumption through indivedual enable/disable external functions; Dual power supply etc.
Cls finishes, and being about to begin writes data to the LCD liquid crystal display, write data function, and this function needs X coordinate, Y coordinate, data code, the some number of display line, the some number of display column, the pattern (normally showing or anti-showing) of corresponding data.
Because row are that 8 pixels are a page or leaf, so the value of the row that will import into the number of calculated column the time moves to right three, draw actual use De Liede number of pages, circulating to accomplish with for is listed as to such an extent that change.Realization be listed as output after will be with every behavior unit output point.Call and write the line data function, parameter is with top that write data function is identical, and just having lacked a row number must be worth.
The demonstration of row need to judge whether X address and Y address cross the border, and when X address and Y address get maximum address greater than liquid crystal display, returns " 0 " and does not promptly write data.Use these data of for cycle criterion should write which screen, when X>=128, data write screen 3, and when X>=64, data write screen 2, and when data are 0<X<64, data write screen 1.Different according to the screen that writes, be provided with to such an extent that the address is also different.Transmit to such an extent that comprised in the parameter also with pattern, this pattern is provided with the normal demonstration and anti-the showing of image.After deterministic model, write the respective point data, the code data of promptly coming in and going out.
According to wanting to show to such an extent that data get differently, data code is also different, uses the code extracting tool, extracts the data code of corresponding Chinese character or picture, and code is imported into as parameter, has promptly accomplished Chinese character and must import.
After the Chinese character input is accomplished, can jump out this subroutine in order to make program, at the end of LCD program, called serial ports and read character string function, read the end mark of subroutine through serial ports.When receiving end mark, program withdraws from the LCD subroutine, returns the Main function.
Through corresponding memory is set, realize initialization.Have only the value that correctly is provided with storer, the data in the LPC2220 chip ability access external memory are so initialization should be placed on the loading code the inside of LPC2220.The LPC2220 maximum frequency of oscillation can reach 60MHz, so when it being carried out the external memory storage expansion, should be noted that and select the suitable external memory chip of operating rate.
Serial ports I, serial ports II all adopt 9 pin RS-232 serial ports.LCD display adopts the HG1926419C model.The programming button is provided with 16.
Realize that each function of serial ports at first wants the linkage function pin, the pin link block can make selected pin have the function more than 1.Config memory control multi-way switch connects peripheral hardware in pin and the sheet.Being located at activation and any related interrupts outward enables must be connected to suitable pin before.If any peripheral functionality that enables is not mapped to relevant pin, then be considered to invalid.
After master routine gets into the subcycle program,, get into corresponding serial ports subroutine from the different numeral of serial ports input.Function is by the PC input character, through serial ports character string is transferred to central microprocessor, again from central microprocessor with the character string that receives, through the serial ports PC of redispatching back.
The control signal that central microprocessor sends is divided into address code and controlled quentity controlled variable two parts, and address code is used for addressing, i.e. connection needs the circuit of control, confirms the kind of control; The classification (like contrast, brightness etc.) of this adjustment of controlled quentity controlled variable decision and the amount that need adjust.Like this, though each control circuit hang on same the bus, independently of one another, uncorrelated mutually.
The present invention can utilize the programmable features of this platform, on the basis that does not change hardware, carries out special-purpose embedded software developing.Utilize embedded development platform, realize the functions such as encoding and decoding, storage, transmission and demonstration to signal, LCD display can satisfy the high definition display requirement, greatly reduces system development costs, has high performance price ratio.
This platform is widely used in Industry Control, Medical Devices, access control, POS machine, communication gate, embedded soft moderm etc., has improved the extensibility and the adaptability of system greatly.
Description of drawings
Fig. 1 is a modular structure synoptic diagram of the present invention.
Embodiment
Native system comprises serial ports I, serial ports II, LCD link block, random access memory, Nor Flash module, programming button, power supply, LED lamp, hummer, central microprocessor, and serial ports I, serial ports II, LCD link block, random access memory, Nor Flash module, programming button, power supply, LED lamp, hummer are connected with central microprocessor respectively; The other end of serial ports I, serial ports II is connected with PC respectively; The other end of LCD link block connects LCD display.
Central microprocessor adopts the LPC2220 model.Serial ports I, serial ports II all adopt 9 pin RS-232 serial ports.LCD display adopts the HG1926419C model.The programming button is provided with 16.

Claims (5)

1. experimental provision based on embedded development platform; It is characterized in that; Comprise serial ports I, serial ports II, LCD link block, random access memory, Nor Flash module, programming button, power supply, LED lamp, hummer, central microprocessor, serial ports I, serial ports II, LCD link block, random access memory, Nor Flash module, programming button, power supply, LED lamp, hummer are connected with central microprocessor respectively; The other end of serial ports I, serial ports II is connected with PC respectively; The other end of LCD link block connects LCD display.
2. the experimental provision based on embedded development platform according to claim 1 is characterized in that, central microprocessor adopts the LPC2220 model.
3. the experimental provision based on embedded development platform according to claim 2 is characterized in that, serial ports I, serial ports II all adopt 9 pin RS-232 serial ports.
4. the experimental provision based on embedded development platform according to claim 2 is characterized in that, LCD display adopts the HG1926419C model.
5. the experimental provision based on embedded development platform according to claim 3 is characterized in that, the programming button is provided with 16.
CN2010106217150A 2010-12-31 2010-12-31 Driving system based on embedded development platform Pending CN102542872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106217150A CN102542872A (en) 2010-12-31 2010-12-31 Driving system based on embedded development platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106217150A CN102542872A (en) 2010-12-31 2010-12-31 Driving system based on embedded development platform

Publications (1)

Publication Number Publication Date
CN102542872A true CN102542872A (en) 2012-07-04

Family

ID=46349656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106217150A Pending CN102542872A (en) 2010-12-31 2010-12-31 Driving system based on embedded development platform

Country Status (1)

Country Link
CN (1) CN102542872A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105486288A (en) * 2015-11-30 2016-04-13 上海电机学院 Machine-vision-based vision servo alignment system
CN106528153A (en) * 2016-11-10 2017-03-22 成都中嵌自动化工程有限公司 Embedded software modular construction method and device
CN108184219A (en) * 2018-02-23 2018-06-19 绍兴心越科技有限公司 A kind of 6LoWPAN wireless sensor networks research/development platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105486288A (en) * 2015-11-30 2016-04-13 上海电机学院 Machine-vision-based vision servo alignment system
CN106528153A (en) * 2016-11-10 2017-03-22 成都中嵌自动化工程有限公司 Embedded software modular construction method and device
CN108184219A (en) * 2018-02-23 2018-06-19 绍兴心越科技有限公司 A kind of 6LoWPAN wireless sensor networks research/development platform

Similar Documents

Publication Publication Date Title
JP6924026B2 (en) Semiconductor devices, human interface devices and electronic devices
CN201083993Y (en) Microcontroller
CN102854962B (en) MPC8280 minimum system applying CPLD (complex programmable logic device) and state switching method for setting hard reset configuration words
CN105335548A (en) MCU simulation method for ICE
CN104156234A (en) Multi-core processor starting and bootloader big-little endian mode adapting method device
CN203376909U (en) Novel microcomputer principle and interface experiment system based on FPGA
RU2016121724A (en) Parallel Computing System Architecture
CN102542872A (en) Driving system based on embedded development platform
CN102221991B (en) 4-bit RISC (Reduced Instruction-Set Computer) microcontroller
CN200990087Y (en) Eight-bit simple instruction set micro-controller
TW201339822A (en) A method, apparatus, and system for energy efficiency and energy conservation including configurable maximum processor current
CN103793263A (en) DMA transaction-level modeling method based on Power PC processor
CN102254469A (en) Experimental device based on embedded development platform
CN202563497U (en) Communication interface for Flash-Net animation game
CN100533424C (en) Single line transmission interface and single byte operational keyboard display module
CN103389893B (en) A kind of configuration register reading/writing method and device
CN102880574B (en) Method for simulating low speed parallel interface by using GPIO (general purpose input output)
CN202042095U (en) Driving system based on embedded development platform
CN102193860A (en) Microcontroller online debugging circuit and method as well as microcontroller
CN201751923U (en) Experimental apparatus based on embedded development platform
CN201060393Y (en) 8 bit online debugging microcontroller
CN100357909C (en) Simulator chip and simulating method thereof
CN206133556U (en) A computer central processing unit for teaching experiment
CN101354730B (en) Simulation method of emulator chip
CN102043755B (en) Reconfigurable processing device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120704