[HC32F460 Development Board Review] (Part 1) First acquaintance with the HC32F460 Development Board
[Copy link]
This post was last edited by Mengxi Kaiwu on 2021-5-10 19:53
1. Physical Display
I received the HC32F460 development board from Huada over the weekend. The board is very compact and uses some 0603 chip capacitors, chip inductors and chip resistors. All components are placed on the front, and the interfaces are basically placed on the edge of the board. It is very beautiful overall. There are two shortcomings. The first is that the silk screen is too small and it is tiring to read; the second is that the small screen is a bit crooked and loose, which may cause poor contact, which is a worrying point. The front and back of the development board are shown in Figures 1-1 and 1-2.
Figure 1-1 Front view of the development board
Figure 1-2 Back side of the development board
2. Functional Block Diagram
The functional block diagram of Huada's HC32F460 development board is shown in Figure 2-1. Some peripherals are marked with red frames on the physical picture, as shown in Figure 2-2. When I first received the development board, there was a large module inserted on the board. At first I thought it was a debugger, but later I checked the manual [1] and found that it was a SMART CARD. I had never used this module before, so this time I could learn it.
Figure 2-1 Functional block diagram
Figure 2-2 Physical picture function display
3. Getting Started
I read the manual on HC32F460 development environment provided by Huada [2]. There are two development environments: Keil and IAR. However, I saw that most programs are based on IAR software. So for the convenience of learning, I also downloaded IAR's ARM version compiler. The software interface is shown in Figure 3-1. I downloaded the official program source code file [3] and found two folders: template and dll. After reading the manual, I found that template is a template project. Users can add the required files to the template for rapid development; and dll is a routine file. Users can quickly get started through the program in the routine. Since it is a beginner's guide, let's start with the routine. Start testing the GPIO water lamp.
Figure 3-1 IAR interface
The original manufacturer did not provide a simulator for this evaluation, so I found a SWD downloader for STM32 used by my lab predecessors, and then transferred the JTAG port to the HC32F460 development board. The simulator is shown in Figure 3-2, and the GPIO running water lamp routine is shown in Figure 3-3. This program switches the state of a group of lights at regular intervals, such as the LED0_TOGGLE() function, which is a macro definition of a group of GPIO port states: #define LED0_TOGGLE() (PORT_Toggle(LED0_PORT, LED0_PIN)).
Figure 3-2 SWD to JTAG
Figure 3-3 Running diagram of water lamp
IV. Conclusion
In general, the Chinese documentation provided by Huada for the HC32F460 development board is very detailed, so it is very helpful for beginners. It would be even better if Huada could provide an emulator.
5. References
【1】HuaDa Semiconductor Co., Ltd. EV-HC32F460-LQFP100 design file.zip[DB/OL].(2020)[2021-3-26].https://bbs.eeworld.com.cn/data/attachment//elecplay/upload/file/20210225/1614242516950924.zip.
【2】HuaDa Semiconductor Co., Ltd. HC32F460 Series MCU Development Tool User Manual Rev1.0.pdf[DB/OL].(2020)[2021-3-26].https://bbs.eeworld.com.cn/data/attachment//elecplay/upload/file/20210225/1614242486880105.pdf.
【3】HuaDa Semiconductor Co., Ltd.hc32f46x_ddl_Rev1.3.0.zip[DB/OL].(2020)[2021-3-26].https://bbs.eeworld.com.cn/data/attachment//elecplay/upload/file/20210225/1614242626111594.zip.
|