红水杯

STM32F103RCT6 minimum system board

 
Overview

Project description: The STM32F103RCT6 minimum system board uses a CH340C USB-to-serial port chip with a built-in crystal oscillator. It has a 5V to 3.3V LOD with a maximum current of 1A, and a SWD download interface. BOOT0 and BOOT1 have leads to facilitate the user to set various settings. In this mode, most of the pins of the microcontroller are drawn out with 2.54mm double row pins to facilitate connection with external circuits. The pins are marked on the back of the PCB. This minimum system board can be downloaded with one click. One click refers to downloading on the computer. Click to download.

Circuit introduction: This system is a minimum system circuit of a microcontroller. It is the same circuit as my previous STM32F103C8T6, but the microcontroller is changed to STM32F103RCT6. This microcontroller has 64 pins. Many industrial control boards use this microcontroller. Circuit The minimum board that makes up my C8T6 has already been explained, so I will reiterate it here. CH340C download circuit introduction diagram.png The red circle 1 is the USB to serial port circuit. There is no crystal oscillator to reduce the board area. A TVS transient suppression diode is added at 5V to prevent the CH340C chip from being damaged by excessive instantaneous voltage. Because the board will not be soldered without this material. There is no such material in the photo of the soldered component. I hope everyone will still solder this part. Inside the red circle 2 is a 5V step-down 3.3V LDO low-dropout voltage regulator. Red circle 3 is the automatic download and automatic operation control circuit. The following figure shows the startup configuration setting mode diagram: BOOT settings.jpg To understand the automatic download and automatic operation control circuit, you must first understand the startup configuration setting mode of STM32. I am using the serial port download, so through the jumper, select BOOT0 to set high level and BOOT1 to set low power. flat. In the circuit in red circle 3, Q2 controls BOOT0 to be high level. Q1 is used to reset the microcontroller to run the user program. You can see it by looking at the timing diagram below. When USB is using serial port communication to download the program, DTR and RTS respectively. First, DTR maintains a high level for almost more than 100 milliseconds and then turns to a low level. RTS remains at a low level until the program is downloaded. Then DTR and RTS are both high at the same time. When RTS is low, it just passes. Q2 sets BOOT0 to high level to realize serial port mode download. BOOT1 requires the user to set low level through short-circuit jumper. After downloading the user program, DTR will be set to high level earlier than RTS, and Q1 will lead Pass, pull down the NRST voltage to achieve reset, Q2 will also be cut off. The BOOT0 pin has a 100K resistor to ground and is set to low level, then the microcontroller will be in the user flash memory storage mode. At this time, the capacitor of the reset circuit will slowly fill up. , you can slightly increase the pull-up resistor of the reset circuit.

RTS and DTS timing.jpgreset circuit.png Photos of the empty PCB board and after soldering the components Back side of PCB blank board.jpgPCB empty board front.jpg

CH340+RCT6.jpg There is a lighting program uploaded in the attachment. Use the PC13-GPIO pin to connect a 470R resistor and a light-emitting diode to the 3.3V positive power supply to flash. The ISP download software uses domestic software. When automatically downloading, everyone must set the same settings as those in the red circle, otherwise the download will not be successful. BOOT1 must be set to ground level, BOOT0 must also be set to high level, and the rest It’s nothing, you can search online and download this software. Automatic download program interface.png The picture below is a photo taken when the LED flashes automatically after downloading the program. IMG_20190809_183502_BURST10.jpgIMG_20190809_183502_BURST31.jpg

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 15:49:51

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号