This post was last edited by 12738 on 2023-9-12 21:45 # Unboxing and Review NUCLEO-F722ZET6 Novice Getting Started Diary Part 2 For this board, I originally wanted to do PID control of the brushless Hall motor, but I have too many things to do recently, so I saw an open source project of STM32 flashing ARDUINO on the Internet a few days ago, so I'm going to be a little lazy this time, hehe :fa-m10::fa-m10::fa-m10: :fa-m10: Project open source address: https://github.com/stm32duino/Arduino_Core_STM32 **Key steps are bold** # Environment setup First**Download ARDUINO IDE **The version I use is version 2.2.1, and the CLI is 0.34.0
Download address: https://www.arduino.cc/en/software After the installation is complete, open it, click File-Preferences, and fill in the development board management address: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json. Then open the development board manager in the sidebar and download STM32 MCU based boards. If there is no scientific Internet access here, the download speed will be extremely slow. I don’t know if it’s just me... So I download the ready-made installation package directly from the Internet and install it directly, which is fast and convenient. I have put the support package here in the attachment of the post. Next, I will introduce the use of the installation package. After downloading the compressed package, do not decompress it and do not open ARDUINO. Drag it to your ARDUINO directory. c:\Users\\
\AppData\Local\Arduino15\staging\packages(Windows 10, Windows 7) After **putting the compressed package into the above directory, open ARDUINO IDE**. Follow the previous step again, open the development board management, and download STM32 MCU based boards. Then you will find that the progress bar in the lower right corner is moving forward rapidly. After a while, the support package will be installed. So far, the development environment has been basically built. Next, we will install the support driver of St link, which can be used in ARDUINO for burning and serial port printing. **Download and install STM32CubeProgrammer**, I use version 2.1 4.0. Just install the latest one. https://www.st.com/zh/development-tools/stm32cubeprog.html#get-software Remember, **after the installation is complete, remember to add the path of STM32_Programmer_CLI.exe to the environment variable**. STM32_Programmer_CLI.exe is in the bin folder of the SetupSTM32CubeProgrammer installation directory
Then restart ARDUINO IDE and set up the development board and burner.
In this way, Adriana IDE can use St link to download programs and print to the serial port. # Test program compilation and download Open the example of the built-in official breathing light Basic -> Fade
According to the official pin diagram, PB0 on the Stm32 Nucleof722ZE board is connected to LED1. In the ADRUINO Zio compatible pin, the PB0 pin is D33, so modify the program to led = 33, connect the micro USB of St link on the development board to the computer, click the upload button, and wait for ARDUINO to compile as follows.
The green LED on the development board is breathing, and the lighting is complete! f3c6ae4b90902d31e1333c773d8a253d
STM32-2.6.0.tar.bz2
(43.88 MB, downloads: 0, 售价: 1 分芯积分)