[GD32E503 Review]——step01. Start the journey of experiencing the domestically produced M33
[Copy link]
[Opening]
At the end of 2020, I applied for an opportunity to evaluate GD32. I was excited for a long time because I had never eaten pork before, but only saw pigs running. Haha! Yes! That's right! This is my first time to participate in a development board evaluation activity. The first time in my life was dedicated to GD. I feel embarrassed! Facing the cold wind of 2021, GD32E503V-EVAL came to me on a fast train. It came, it came towards me quickly, it came like a cheetah! [Unboxing and Powering on]
When a siege lion hits a little cheetah, let's tear it apart! Holding the heavy development board packaging box, I couldn't wait to pick up my weapon - scissors, and fiercely opened its veil. Wow! I was stunned! I was shocked by its packaging! Exquisite, light luxury, and texture...
After unpacking, I turned on the phone immediately. It was my first time eating pork and I was afraid I might have eaten a mutant pig . It turned out to be fine! What caught my eye was the big GD logo on the 3.2-inch screen, plus the 4 touch buttons that control the onboard LEDs. My hands immediately started to itch. I poked the buttons on the screen back and forth and saw LED1-LED4 on the board flickering back and forth at the same time, which once again verified that my pig was a good fragrant pig!
【Get to know GD32E503】
The beauty GD32E503, belonging to the GD32E503 series, is based on the latest Armv8-M architecture Cortex-M33 core. The processor clock speed can reach up to 180MHz, with built-in hardware multiplier/divider and a complete DSP instruction set and single-precision floating-point unit (FPU). It is also equipped with a new hardware trigonometric function accelerator (TMU), which can support mathematical trigonometric operations such as vector, sine and cosine, exponential, square root, common logarithm, etc., to reduce the CPU burden and improve processing efficiency, thereby promoting advanced computing applications centered on digital signal processing. The highest working performance can reach 244DMIPS, and the CoreMark test can reach 547 points. The code execution efficiency at the same main frequency is 10%-20% higher than the Cortex-M4 products on the market, and the performance of the Cortex-M23 products is improved by more than 40%.
For more information, please visit: http://mcu.eetrend.com/tag/gd32e5
【Development environment and ecology】
The GD32E503V-EVAL supporting information is first obtained from the bottom of the application link
GD32E50x_Demo_Suites_v1.1.0.rar After unzipping the file, you can see that the information is quite complete, including the schematic diagram of the board and the firmware routine library of the chip, but there is a pit that needs to be filled. The support package of the development environment IDE is not included in the AddOn directory.
I need to reflect here that the activity group should pay more attention when reviewing the materials in the future, and try to provide complete and correct materials to the participants, so as not to make a fool of themselves. You can get the chip English manual and Chinese and English user manual, IDE pack and related supporting development tools through the official link. For details, please see: http://www.gd32mcu.com/cn/download/7?kw=GD32E5 Through this link, you can also visit the Second Aunt Forum maintained by GD officially, which has a good ecology!
It is also recommended that the official add the supporting material datasheet used for onboard resources, so that the entire suit package will be complete.
After downloading the resources, continue to build the development environment. I use MDK KEIL, so double-click the device pack in the keil directory. After the installation is completed, you can find the GD32E503 device the next time you open the keil environment.
Through the GD32E503V-EVAL Evaluation Board User Guide_Rev1.0 in the docs directory of the data package, I learned about the onboard resources and a very exciting good news: the onboard GD32-Link debugging and downloading tool (driver-free, after plugging in the interface, the relevant information of CMSIS_DAP pops up, which is a bit embarrassing. Can't I be more careful and change the descriptor? ). But fortunately, I don't need to look for tools everywhere. The main reason is that I am afraid that the pirated J-Link in my hand does not support such a high-end M33 core chip. Blame me for worrying about it out of ignorance! Then just go ahead and continue to criticize!
First, let's use the sample project 02_GPIO_Key_Polling_mode in the data package to meet our new friend. Open the project and turn on the familiar magic wand. I have something to say about the following points:
- The default project settings use the ARM AC6 compiler, which is faster than AC5, and is not compatible with AC5 compilation. AC5 is directly removed in the options. Why is this?
- There is a large blank space at the place marked 2. Is it to leave space for the ARM TrustZone option?
- The area marked 3 is where you choose whether to enable FPU. It is enabled by default, which is good.
I still have to complain about this, isn’t there a GD32-Link onboard? Even though it’s a DAP, please just select the DAP by default!
Compilation is complete. The code space occupied by a flashing button sample program is still quite small at the -O0 optimization level, which shows that the redundancy of the underlying library is still very good! Use the onboard DAP to download the program to the board, and you can actually operate KEY A to turn LED2 on and off. Note that KEY A here is actually part of the rocker button. For details, please refer to the board schematic in the docs directory.
[Opening Summary]
After meeting new friends, we have become acquainted. In the days to come, I hope that I can let the little cheetah show its true strength. Not to be stunning, but to be eye-catching!
In the next article, after experiencing the onboard routines, let the Cheetah run a test!
|