Difference between revisions of "Green Pill"
Line 27: | Line 27: | ||
== GD32V Variant == | == GD32V Variant == | ||
− | + | [[GigaDevice]] also makes a [[microcontroller]] series known as GD32VF. Like the [[GD32E103]] these are pin and memory map compatible with the [[STM32]] [[MCU]]s, but they are based on a RISC-V rather than an ARM core. |
Revision as of 04:35, 18 April 2021
As mentioned elsewhere, the first STM32 development board I got my hands on was a so-called Blue Pill and it was a truly horrible experience. I do understand that some of these boards are sold cheaper than the price of a STM32F103 MCU, and it would be perfectly acceptable using clones if this was a well documented fact. Unfortunately, a lot of the vendors use clones which are labelled as genuine STM32's. Because of this, and the fact that I wanted to learn how to design electronics around the STM32 [MCU]]s, I decided to roll my own development board. At the time I was doing this, JLCPCB would only assemble boards with a green soldermask, so I aptly named it the Green Pill.
Schematics design
The board have gone through a few revisions, but the final version ended up looking like this:
This is largely dictated by the availability of parts from JLCPCB. The USB specification dictates the use of 10uF capacitors as maximum to avoid too large inrush current when it is connected.
The USB connector is a USB-C receptacle which can be hand soldered as it only includes the pins necessary for USB 2.0 (Full speed/High Speed). Since, the STM32F103 microcontroller does not include an internal 1.5K pull-up on the D+ line, one has been added. In revision A, this resistor was pulled directly up to the 3.3V rail, but in revision C this was made configurable. The reason for this is to trigger USB enumeration on soft restart.
Most STM32 development boards have only SWCLK and SWDIO exposed on a programming header, but on this board I included the optional SWO - which can provide serial debugging.
The choice of a 16 MHz crystal rather than 8 MHz was one of cost and space. 8 MHz crystals are either much more expensive or much larger than the 3x2 mm 16 MHz crystal used on this board.
Production
To be added
GD32 Variant
To be added
GD32V Variant
GigaDevice also makes a microcontroller series known as GD32VF. Like the GD32E103 these are pin and memory map compatible with the STM32 MCUs, but they are based on a RISC-V rather than an ARM core.