μC / OS-II is an open source code, widely used in embedded systems real-time operating system. Its core uses Preemptive scheduling strategy to facilitate transplantation, and it is stable and reliable. In this paper, an μC / OS-II operating system is applied in the LPC2214 for the development of data acquisition system.
The acquisition system controlled by the MPU circuit and pose a data acquisition card enables data to be diaplayed in the liquid crystal display screen. This paper mainly discussed the design of system software, including operating system and application software migration design, and the main function of the corresponding transfer function and code to meet their own requirements. In order to improve the real-time capabilities, in this paper the application will be divided into several tasks independently each other, and by the importance of the mission to allocate different priority. Data acquisition system functions have been achieved with the real-time operating system.
Keywords: µ C/OS-II、 transplant、acquisition system