After in-depth learning embedded systems, it will no longer satisfy a single peripheral or complete a simple task, it is desirable to support multitasking and can quickly process data and responses, which is required to port embedded real-time operating system (RTOS). There are currently a lot of RTOS, and μC / OS is one of the most popular real-time operating systems (RTOs) in the field of embedded applications.
More than 20 years ago Jean J. Labrosse, suffering from can't find a stable and reliable operating system software to complete the μC / OS kernel, did not expect μC / OS greatly welcome. Mr. Labross has written the classic book "μC / OS-II, THE REAL-TIME KERNEL" in the embedded operating system, "μC / OS system," μC / OS system began to teach μC / OS "courses, countless engineers and students learn the operating system Kernel. For this reason, Mr. Labross also created Micrium to promote μC / OS applications in embedded fields. The μC / OS system is even used by the US space project, proves that it is a stable and reliable operating system.
The source code of the μC / OS system is completely open, and a commercial level embedded real-time operation is available for free, so it is very suitable as a getting started. The development of the μC / OS embedded real-time operating system has now reached the third generation - μC / OS-III, and Micrium has published the latest books "μC / OS-III, The Real-Time Kernel". The Chinese version of the book has been introduced, and the μC / OS-III Chinese version development platform is designed and developed by Beijing McTime software. McTime Software As an embedded software tool and operating system vendor, McTai Software is a new technology promotion and popularization of embedded software and design tools.
The Chinese version of the book is divided into two, one is "embedded real-time operating system μC / OS-III", mainly introduces the principle of μC / OS-III operating system, unrelated to hardware; 1 is "embedded real-time operating system μC / OS-III Application Development, for specific embedded microcontroller platform μC / EVAL-STM32F107 evaluation board, introduced the application of μC / OS-III on the corresponding hardware platform.
μC / OS-III Chinese Development Platform
The μC / OS-III development platform is a hardware platform for booking, and there is a detailed advanced μC / OS-III application example, and it is undoubtedly the best way to learn while learning. The μC / OS-III development platform provides a best learning μC / OS-III operating system tool.
μC / OS-III Chinese version of the development platform is that McTai introduces authorized development with book translation, the only difference from the original development platform is that the onboard debug interface is changed from SWD to a 20-foot JTAG interface, and the other parts are exactly the same. .
The core of the μC / OS-III Chinese version of the development platform uses the ST company STM32F1 series ARM Cortex-M3 kernel microcontroller STM32F107VCT6, which can be said to be the fastest speed, most extensive interface function in ST company STM32F1 series. The most powerful one. The frequency speed reaches 72MHz, which includes a rich peripheral interface, integrated Ethernet MAC controller, full-speed USB2.0 OTG, and CAN controllers such as a powerful peripheral interface. The μC / OS-III Chinese version of the development platform can also be used as a powerful STM32 microcontroller learning platform.
The main features of STM32F107VCT6:
32-bit ARM Cortex-M3 kernel, up to 72MHz
On-chip 256KB Flash, 64KB SRAM
2-way 16-channel 12-bit A / D conversion, and 2-way 12-bit D / A conversion
7-way 16-bit timer
2-way watchdog and RTC circuit
Maximum 14-channel serial communication interface (SPI, I2C, I2S, UART, USART, CAN)
Integrated USB OTG and Ethernet Mac
Maximum 80 I / O ports
Let's take a look at the detailed hardware resources on the μC / OS-III Chinese version development platform.
The PCB plate of the μC / OS-III Chinese version of the development platform is square, and the two-layer circuit board design of 10 cm x 10 cm is used. The development board is equipped with various peripheral interfaces, including NE, RS232 serial port, USB OTG, CAN, and so on cover all peripherals that STM32F107 can provide. At the same time, the development board provides WiFi module EMW3280 interface and expansion slots and prototypes, more powerful and flexible. The μC / OS-III Chinese version development platform can also be used as an evaluation platform for a STM32F107 microcontroller.
Microcontroller STM32F107VCT6
WiFi module EMW3280 interface
10/100 Ethernet interface
RS232C serial port
Full-speed Mini-B USB OTG interface
CAN interface (located in the expansion slot)
Temperature Sensor
SD / MMC slot
JTAG debug interface
Extension slot
Prototype
Mini-B USB power supply, 5V terminal block
Reset button
1) Microcontroller STM32F107VCT6: The main control chip is encapsulated by the LQFP100 foot, 14mm x 14mm. The power supply range is 2.0V-3.6V, with 80 fast I / O pins, and all pins can support 5V signals.
The 25MHz main clock and a 32.768kHz RTC clock. Jumpers J3 and J4 are used to select the start mode.
2) Power:
The development board has two power supply 5V DC power and Mini-B USB, of course, with a USB supply current is 500mA, mainly for convenient commissioning. The selection of the power supply is achieved by jumper JP5.
The power supply on this development board is simple, only 5V and 3.3V. A 3.3V voltage is generated by ST company LDO LD1117S33TR, and its maximum output current is 800mA.
3) WiFi module interface:
The development board provides an interface of a WiFi module EMW3280 that implements the WiFi functionality through the RS232 interface, which is connected to the UART4 serial communication interface of the STM32F107 controller.
The EMW3280 module is not included in the kit and needs to be purchased. It is a WiFi wireless network module-oriented WiFi wireless network module developed by Shanghai Qingke (MXCHIP), supporting IEEE 802.11b / g / n and a variety of energy-saving modes.
The EMW3280 has built-in StM32F215RG, the frequency of 120MHz, with 1MB Flash and 128KB SRAM and enrich peripherals. This module can easily develop a variety of embedded applications, and include multiple GPIO interfaces, just use its UART interface.
4) Ethernet:
The development board has an Ethernet PHY chip with Ti PHY chip DP83848C, 48 pin LQFP package, support MII and RMII interface mode. At the same time, PPT's RJ45 connector PRJ005A is used, support 10/100 Ethernet transmission.
5) serial port
The development board provides a DB9 Female type serial connector that uses ST company ST3232EC RS232 transceiver, supports RS232 serial communication, which is connected to the USART2 serial communication interface of STM32F107.
6) USB OTG
A full-speed (12 Mbps) USB OTG controller is integrated on the STM32F107, and the development board provides a mini-b usb OTG interface. This USB interface does not provide 5V power supply to the development board, but when the USB is in host mode, 5V power supply can be supplied to the USB device. At this time, the LD6 light brightened.
7) CAN
The CAN controller is integrated inside the STM32F107, and the CAN bus communication is supported on the 3.3V CAN transceiver on the development board. The jumper JP1 is used to select the terminal resistance of the CAN bus. The default is disconnected, and if you need to communicate to connect the terminal resistance. The signal of the CAN bus is not specifically mounted by the expansion slot.
8) Temperature sensor
A 10-digit temperature sensor is equipped with a STLM75M2E, which is mainly used to test the I2C interface function, connected to the I2C1 interface of STM32F107.
9) SD / MMC
The SD / MMC connector PJS008-2000 is provided on the board, and the serial communication SPI1 interface connected to the STM32F107 is provided.
10) JTAG
The development board is equipped with a standard 20-pin JTAG interface (2.54mm spacing), which is recommended to use the J-Link emulator.
11) Extended interface
The development board not only provides a rich on-board peripheral, but also provides the expansion slot and the prototype facilities for DIY to add your own special hardware interface. For example, an external display interface.
The μC / OS-III Chinese version development platform uses the Cortex-M3 microcontroller STM32F107, because the routines in the book are developed in the IAR environment, so IR development tools are used when they recommend learning. It is best to install a version 6.4 or more.
The books and Chinese version of the μC / OS-III embedded real-time operating system have been released, which can be purchased by McTai's official Taobao shop or pair of board malls, including different combination of books and development boards.
summary
The μC / OS-III embedded real-time operating system can be used as an ideal RTOS gate learning platform, and the μC / EVAL-STM32F107 evaluation board can not only be used as a μC / OS-III operating system learning platform, which enriches peripheral interface and extension. It can be used as an evaluation platform for the STM32F107 microcontroller.
Reference
μC / OS-III official website
μC / EVAL-STM32F107 Evaluation Board Information
STM32F107 microcontroller
WiFi wireless network module EMW3280
μC / EVAL-STM32F107 Evaluation Board Purchase
Original declaration: This article is originally created by the panel network, declined!
Our other product: