Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Generic boards that are not Maple or Maple mini clones, and don't contain the additional USB reset hardware
madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by madias » Thu Aug 13, 2015 7:42 am

I recently got this board via aliexpress and I’m really impressed about the features and the build quality. So after “blue pill” “red pill” “ugly board” we should call it “beauty board” :) The setup with stm32duino is easy and you don’t even need additional hardware (ST-link, Serial-USB converter…)
I think this is a really good board for greater projects and/or as main dev board.

Image
Key facts:
Price: about USD 10 ---> http://www.aliexpress.com/item/FREE-SHI ... 80157.html

MCU stm32F103VET6:
512kb Flash, 64kB RAM,
2 × 12-bit D/A converters
112 fast I/O ports
2 × I2C
5 USARTs
3 SPIs (18 Mbit/s), 2 with I2S interface multiplexed
32 kHz oscillator for RTC with calibration
Supports Compact Flash, SRAM, PSRAM, NOR and NAND memories

Board features:
all pin holders / rows already soldered
Boot0 and Boot1 jumper
jumpers (RX,TX) for the USB-Serial converter
2x USB one with CH340 RS232-USB-converter chip (“Serial1”)
32.768kHz and 8Mhz oscillators on board
CR1220 battery holder
reset button
Two user buttons: PD12, PC0
Two controllable LED; PE5, PE6
power indicator LED;
JTAG / SWD 20 -pin standard interface ;
32 foot FSMC TFT LCD screen interface
Board size : 101.5 mm x 76.68 mm

additional chips (already soldered)
SPI flash W25q16 (on SPI1: CS: PA4, MISO: PA6, MOSI: PA7, SCK: PA5)
EEPROM 24C02 (on I2C1: SCL: PB6, SDA: PB7 both with 4.7K pullup) IC Adress: 0x00 ( A0=A1=A2=GND)
space holder for 485 IC (PA3, PA0, PA2) and DS18B20 (Data: PB14)

Installation / preparation to use with STM32duino


Serial upload
Since the board has an USB-serial controller uploading is easy:
Install the CH340 drivers for your OS (google “CH340 arduino”) switch Boot0 jumper from GND to 3.3V, connect USB2 from board and use “serial upload” method. vola!
Drawback: for every upload you must switch the Boot0 jumper.

Bootloader upload
Sadly there is no ready made *.bin bootloader for this board (LED’s on PE5, PE6), but I already compiled one (see attachment). Set Boot0 to 3.3V connect it to USB2 and use the serial tool of your choice to upload the bootloader. After upload set Boot0 jumper back to GND and connect it via USB1 and use the board like your maple mini! Don’t forget to switch in the arduino IDE the upload method to “bootloader”! Benefits: You have a second serial-usb port (Serial1/USB2) so if you plan to do other USB things like mass storage, MIDI-USB you always have a debug option on serial1 !

additonals documents (attachment)
a) a schematic I found for this board (warning: usb-serial converter chip is different, but MCU pins are the same)
b) the new bootloader

Todo:
Code example and libraries for SPI flash W25q16 and EEPROM 24C02

edit:
I see Roger posted about this board, but maybe this topic is a good summery with additional infos (bootloader, schematics...)
The bootloader bin file in the attachment is named as "***pa9" but it's really "***pe5", so don't get confused (will update it later)
Attachments
ministm32f103vxt6.zip
(77.31 KiB) Downloaded 764 times
Last edited by madias on Thu Aug 13, 2015 1:18 pm, edited 2 times in total.

User avatar
RogerClark
Posts: 7683
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by RogerClark » Thu Aug 13, 2015 9:46 am

Hi Matthias,

Thanks for sharing the details. It looks like a great board.

Can you post the bootloader config.h and makefile with your changes, and I'll update the repo and also build a bin and put it in the binaries folder.

Thanks

Roger

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by madias » Thu Aug 13, 2015 9:56 am

Thanks for sharing the details. It looks like a great board.
Roger, I thought you own this board already?

Code: Select all

Can you post the bootloader config.h and makefile with your changes, 
Sorry, I was too lazy and only edited the config.h and highjacked the

Code: Select all

#elif defined TARGET_GENERIC_F103_PA9 
#define LED_BANK			GPIOA  
#define LED_PIN 			9 
#define LED_ON_STATE		1 
as

Code: Select all

#elif defined TARGET_GENERIC_F103_PA9 
#define LED_BANK			GPIOE  
#define LED_PIN 			5 
#define LED_ON_STATE		1 
so there is only the *.bin file as attachment and not a actual makefile (I should do this later!...)

zmemw16
Posts: 1681
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by zmemw16 » Thu Aug 13, 2015 12:56 pm

at24c02 addressing A0=A1=A2=0
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1 0 1 0 A2 A1 A0 R/W

warning so far i've only seen the zet variant of this board on ebay or ali-express that doesn't the eeprom or spi flash

stephen

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by madias » Thu Aug 13, 2015 1:19 pm

thx for the info Stephen, I've added it above.
Matthias

User avatar
RogerClark
Posts: 7683
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by RogerClark » Thu Aug 13, 2015 9:20 pm

Matthias

I have a VET and. ZET board, but they are much smaller, and only have 1 LED, which I don't think can be on the same pin as your boards.

I will make a new generic board at the weekend, with an LED on PE5, which pin do you want the button to be attached to ?

victor_pv
Posts: 1864
Joined: Mon Apr 27, 2015 12:12 pm

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by victor_pv » Thu Aug 13, 2015 9:28 pm

zmemw16 wrote:at24c02 addressing A0=A1=A2=0
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1 0 1 0 A2 A1 A0 R/W

warning so far i've only seen the zet variant of this board on ebay or ali-express that doesn't the eeprom or spi flash

stephen
I have one of these since a while back. I believe mine has at least the eeprom, but I will check when I get home and post.

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by madias » Thu Aug 13, 2015 10:13 pm

Roger: Thanks for doing this. It should be equal: PD2 or PC0 for button. I thought you posted a photo of this board. Edit: I was wrong! Victor posted this board. ---> viewtopic.php?f=28&t=103
All I can say is, that this board is really good designed "under the hood" (like 2 diodes for the battery, superb jumper positions...) . For USD10 its a real bargain for all those features.
Edit: Victor: You got exactly the same as mine!

User avatar
RogerClark
Posts: 7683
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by RogerClark » Thu Aug 13, 2015 10:24 pm

I've added

generic_boot20_pe5

Button is on PD2

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: Review: CZ mini STM32F103VET6 (infos, documents, BL…)

Post by madias » Thu Aug 13, 2015 10:37 pm

Thank you Roger.
Maybe we should give our similar board names?
This board is called "Beauty Betty Blue" :)

Post Reply