There are several STM32H743 chips on hand, and I will create a test circuit board for development and testing.
2. Test Circuit
The pin distribution of the H743 is basically the same as that of the H7B0 tested yesterday. That’s good, as I can directly use yesterday’s circuit board for testing the H743. Using a one-minute PCB production method, I recreated the test circuit board. After one minute, I obtained the new test circuit board. After soldering the circuit and cleaning, testing can proceed.
▲ Figure 1.2.1 Test Circuit Schematic
▲ Figure 1.2.2 Test Circuit Diagram
3. Test Results
Provide a 5V power supply to the circuit board. First, measure the voltage on the board. The 3.3V voltage is very stable. At this time, the static current of the circuit is 20mA. Next, test the access of the microcontroller using ST LINK. Use a probe clip to connect the ST LINK’s SWD to the circuit board. Then use the ST Link Utility software to access the microcontroller.
It is so exciting that ST LINK can access the H743! Testing with STM32 Cube Programmer also allows access. The information of the target microcontroller is also correct. This lays the foundation for further software development.
※ Conclusion ※
This article documents the process of making a test circuit board for the STM32H743 microcontroller. Accessing the microcontroller via STLINK has been successful! This offers some consolation after the setbacks in making the H7B0 test circuit board. Next, we can conduct software testing. Let’s take a look at its basic functionality testing.
02STM32H743 Test Program
1. Introduction
Just now, I manually made the STM32H743 test circuit board, which can already connect with ST LINK. Now, let’s write a simple LED blinking program to test the functionality of this microcontroller.
2. Writing the Program
Earlier, I only tested whether I could connect with ST LINK. The H743 external crystal has not been soldered yet. Before the formal test, I will solder two 20pF capacitors and an 8MHz quartz crystal.
This is the situation after soldering. The external crystal selected is 8MHz, and now I will proceed with software programming.
First, configure the PB2 port as an output port to drive the external LED to blink. Next, add a serial port to send debugging information. Configure the microcontroller to use an external high-frequency crystal oscillator. Set the system to use the SWD debugging port. Next, set the CPU clock; since it’s my first time using it, I will set a relatively low main frequency. Then, Cube MX generates the EW IAR project file.
3. Test Results
In the main loop of the program, I added the LED blinking control command. After compiling and downloading, I observed the operation of the circuit board. The LED on the circuit board is blinking, indicating that the H745 microcontroller is working normally.
Then, through the serial interface, I tested the microcontroller’s serial port functionality. On the interface, I could see the information output by the microcontroller and also receive commands sent through the serial port.
※ Conclusion ※
This article documents the testing process of a microcontroller that can reach a clock frequency of 480MHz. Using the one-minute PCB production method, I obtained the test circuit PCB, wrote the first LED blinking program, and tested the serial port functionality. Next, let’s slowly explore some detailed functions of this microcontroller. I have yet to appreciate the beauty of its high clock frequency.