1. Use the spi3 interface and refer to the tutorial by Mr. Lu Youliang [BP19_Network PING Experiment]. This code implements this function.
2. The jtag port of stm32 can be configured to SWD mode, which can free up three interfaces without affecting the download and debugging of the program. For how to configure it to SWD mode, please refer to the previous blog.
Configuring the STM32 JTAG download pins: JTDO, JTDI, and JTCK as ordinary IO ports is actually the same as configuring them as spi3, except that spi3 also needs to turn on the spi clock. Here, just change it to turn on the io port clock. The two most critical instructions are:
1. Turn on the multiplexed clock: RCC_APB2PeriphClockCmd (RCC_APB2Periph_AFIO, EANBLE);
2. Call the remapping function: GPIO_PinRemapConfig (GPIO_Remap_SWJ_JTAGDisable, ENABLE); // Turn off jtag and turn on swd
Previous article:A brief description of pull-up and pull-down inputs of STM32 IO ports
Next article:stm32 io port configuration and use
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Bluetooth speaker modification
- Application of SIMATIC VS 710 vision sensor in the automotive industry
- How to create a two-dimensional table in stm32f407
- Electronic combination lock
- Features of wireless modules applied to large equipment
- TLV1570 2.7V to 5.5V, 8-Channel, 10-Bit, 1.25MSPS Serial Analog-to-Digital Converter
- Adafruit CLUE board
- Ku, Ka band satellite transponder
- [GD32E231 DIY Contest] Work submission: Ornamental fish tank controller
- Foreign IC Prefix Index (6 pages showing 245 records sorted by English alphabetical order, introducing foreign integrated circuit prefixes)