* 1. Introduction to project functions
I think the core board is mainly about whether it is easy to use or not. In fact, in terms of functions, well, it seems that there are not many functions, so the important thing is to make it as easy to use as possible.
So I tried my best to optimize it, mainly optimizing the following aspects:
1) A set of pins are arranged in the order of GND VCC SCL SDA of the OLED screen, so that the OLED screen can be directly plugged into the breadboard for debugging without jumpers;
2) Because BOOT0 needs to be pulled up when downloading via the serial port, for convenience, a 3V3 is reserved next to the BOOT0 pin, which is convenient for short-circuiting the pull-up directly with a jumper cap.
3) Two LEDs were connected, and PB2 and PA8, which may be more independent, were used to facilitate the lighting experiment;
4) The two buttons were connected to NRST and PA0-WAKEUP respectively, and RST needless to say, because both N32L406 and N32G435 support low power consumption, and one of their wake-up pins is PA0, so it is brought out for convenient wake-up testing;
5) Both N32L406/N32G435 support the DFU function, so the 32-pin PA11-USB_DM and the 33-pin PA12-USB_CP are directly connected to the DM and DP pins of the USB. It can be used in actual tests. The way to turn it on is to short-circuit 3V3 and BOOT0 and then power on. In this way, you can directly plug in the USB to download the program, but this function has a limitation. The driver cannot be installed in the MacBook M1 virtual machine, so it cannot be used. Another thing to note is that the STM32F103 itself does not have DFU, and you need to download the DFU firmware before you can use it. I have not tested it, but Baidu has relevant information.
Verified Chip
Chip Manufacturer
Chip Model
Supported
Verified
National Technology
N32L406CBL7
Yes
Verified
National Technology
N32L406C8L7
Yes
Unverified
National Technology N32G435CBL7 Yes Verified National Technology
N32G435C8L7 Yes Unverified National Technology N32G430C8L7 No 35 36 Pin Function Inconsistency STM STM32F103C8T6 Yes Verified Below are a few chips I tested. Seeing the board, you should have discovered its shortcomings, right? Yes, the characters on the pin identifiers are too small. At present, the pin spacing on each side of the breadboard can just leave two rows of pins. In order to make good use of this spacing, the characters can only be reduced. It looks a bit tiring. After all, you can't have your cake and eat it too! Look at the effect of plugging it into the breadboard. I also put the official download tool provided by National Technology in the attachment. The file name is: Nations MCU Download Tool V1.2.5.7z. You can also download it on the official website of National Technology. *2. Hardware part The hardware part is relatively simple. 1) Power supply part: Low-power LDO is still used here. There are many supported models. As far as I know, there are many. When searching for LDO in LiChuang Mall, most of the SOT23-5 are supported. Just pay attention to screening the ones with large output current to prevent insufficient output when supplying power to the external power supply. 2) A red light is used for power supply indication, and the other two are connected to PB2 and PA8 respectively. 3) Button 4) Main core chip: There is also a red text explanation here. Let me say it again. When burning the serial port and DFU, you need to pull up BOOT0 and then power on before downloading. DFU can be used by directly plugging the USB into the USB port on the board. I will not continue to move the pictures for other parts. You can check the schematic diagram yourself. * 3. Demonstrate your project and record it as a video and upload it