Lesson 3: Exploring the Cellular Communication Module OpenCPU
[Copy link]
This post was last edited by China Mobile Module on 2019-3-21 14:36 What is OpenCPU "Xiao Wang, what is OpenCPU?", "I know OpenCPU, it's just opening a cup", ... [attach]406610 [/attach] Let's get back to the point. OpenCPU was originally designed by students from USTC as an open computer system based on a 32-bit RISC CPU. This system allows users to perform partial structural design, module design, I/O operations, etc. Later, all its technical documents and source codes were published online in a shared manner, becoming an open source CPU design, so it was named OpenCPU. OpenCPU is applied to wireless communication modules mainly to allow users to share the processor and FLASH resources in the module. Figure 1 shows the normal application mode. Usually, the user application runs on an external MCU and uses the serial port to send AT commands and feedback to achieve interaction with the module. Figure 2 shows the OpenCPU mode. The user program can treat the module as an MCU. The entry function is changed from main to opencpu_task_main (the name depends on the specific module). The interaction with the module is achieved through function calls. To put it simply, in the OpenCPU mode, the module carried out a thorough "anti-corruption struggle", and the confiscated resources were provided to the majority of users. Users do not need an external MCU, and the corresponding power supply and peripheral devices can naturally be saved. In short, within the module, user programs can enjoy the treatment of separate houses, cars, wives, food, accommodation, and mistresses, and live a shameless and happy life from then on. Advantages of OpenCPU mode over normal mode As can be seen from the comparison between Figures 1 and 2, the main difference between the two is that OpenCPU mode does not require an external MCU, which brings the following benefits: Quickly develop embedded applications and shorten product development cycle No need for external processor, memory and discrete and related design costs Reduce the actual size of the terminal product Reduce product power consumption Remote over-the-air wireless upgrade Anti-copy technology enhances product security Improve product market cost performance and enhance product competitiveness Summary of user available storage resources in OpenCPU mode of China Mobile IoT cellular communication module Serial number | Communication module type | | | | | | [align=le ft]M5310-A | | | | [/td][td =85] | | | | [align=le ft]M6312 | | | | [/td][ td=85] | | | | | | |
|