Review : CZ mini STM32F103VE-EK (new version 2017)

Generic boards that are not Maple or Maple mini clones, and don't contain the additional USB reset hardware
poiuycat
Posts: 17
Joined: Tue Aug 22, 2017 4:53 pm

Review : CZ mini STM32F103VE-EK (new version 2017)

Post by poiuycat » Tue Aug 22, 2017 5:11 pm

I recently got this board at aliexpress in old post link here:
http://www.stm32duino.com/viewtopic.php?f=28&t=490

it show the same as old picture when I was bought but when I received that sent to me is a new version of board.
P_20170822_160309.jpg
P_20170822_160309.jpg (65.49 KiB) Viewed 629 times
New features:
1 added support ESP-1 WIFI module.
2 added support NRF24L01 wireless module.
3 added TF card socket.
P_20170822_160528.jpg
P_20170822_160528.jpg (59.91 KiB) Viewed 629 times
ESP-1 WIFI module
Pin PC3 --- Reset
Pin PA0 --- CH_PD
Pin PB11 --- ESP RX
Pin PB10 --- ESP TX
Pin PC1 --- GPIO 0
Pin PC0 --- GPIO 2

Image
NRF24L01 wireless module
Pin PE2
Pin PB5
Pin PC13
Pin PE4
Pin PB3
Pin PB4


Image
20130729013137786.png
20130729013137786.png (68.65 KiB) Viewed 630 times
TF card socket using 4 bit SDIO.

Button are change to
PE3 and PC5
Image

Boot Loader Test
I downloaded the boot loader generic_boot20_pe5_button_pa0.bin from here :
https://github.com/rogerclarkmelbourne/ ... y_binaries

don't download the generic_boot20_pe5 because the button is pull up set to the PD2 which is used for SDIO CMD pin.






RTC Test
hereby i am pinpoint most common issue when setup the RTC in first time.
most developer just put in the battery without initializer the RTC module that causing the RTC unable to initialize and halt.
To solve this by power off the board and take out the battery and power on the board. if every thing is working then you can put in the battery right now. 8-)
this is the sample code modify from Gilchrist_RTC with date and time below:
to set the time please uncomment the "settime()" and "rtc_set_count()"
latest <Time.h> please download here.
http://playground.arduino.cc/Code/Time

Code: Select all

#include "Time.h"
#include "RTClock.h"

#define BOARD_LED_PIN PE5



int globAlmCnt = 0;
int globOvCnt = 0;
int globSecCnt = 0;
int specAlmCnt = 0;
int lastGlobAlmCnt = -1;
int lastSpecAlmCnt = -1;

void rtc_sec_intr() {
  if (rtc_is_second()) globSecCnt++;
}
void rtc_ovf_intr() {
  if (rtc_is_overflow()) globOvCnt++;
}
void rtc_glob_alm_intr() {
  if (rtc_is_alarm()) globAlmCnt++;
}
void rtc_spec_alm_intr() {
  if (rtc_is_alarm()) specAlmCnt++;
}

void setup() {
  // http://forums.leaflabs.com/topic.php?id=1437
  // slow! div speed. NOTE! 512 is stop/hang when USB not connected!
  // rcc_set_prescaler(RCC_PRESCALER_AHB, RCC_AHB_SYSCLK_DIV_256);
  // Normal speed:
  // rcc_set_prescaler(RCC_PRESCALER_AHB, RCC_AHB_SYSCLK_DIV_1);
  Serial.begin(115200);
  pinMode(BOARD_LED_PIN, OUTPUT);
  delay(5000);
  Serial.println("begin RTC blink");
  delay(1000);

  rtc_init(RTCSEL_LSE);
  rtc_set_prescaler_load(0x7fff);
//  setTime(12, 56, 30, 24, 8, 2017);
  //Serial.println(now());
//  if (rtc_get_count() < 5000) {
//    rtc_set_count(now());
//  }
  //	rtc_attach_interrupt(RTC_SECONDS_INTERRUPT, rtc_sec_intr);
  //	rtc_attach_interrupt(RTC_OVERFLOW_INTERRUPT, rtc_ovf_intr); // expected every 128000 seconds
  //	rtc_attach_interrupt(RTC_ALARM_GLOBAL_INTERRUPT, rtc_glob_alm_intr);
  //	rtc_attach_interrupt(RTC_ALARM_SPECIFIC_INTERRUPT, rtc_spec_alm_intr);
  time_t rtc1 = rtc_get_count();
  setTime(rtc1);
}

void loop() {
  int i, n;

  
  Serial.print(" (");
  Serial.print(day());
  Serial.print("/");
  Serial.print(month());
  Serial.print("/");
  Serial.print(year());
  Serial.print(" ");
  Serial.print(hourFormat12());
  Serial.print(":");
  Serial.print(minute());
  Serial.print(":");
  Serial.print(second());
  Serial.print(isAM()?" am":" pm");
  Serial.print(") ");
  Serial.print("Time counts: ");
  Serial.print(rtc_get_count());
  Serial.print(".");
  Serial.println(rtc_get_divider());

  delay(1000);

  digitalWrite(BOARD_LED_PIN, 1);

  delay(1000);
  digitalWrite(BOARD_LED_PIN, 0);
}

.
Last edited by poiuycat on Mon Aug 28, 2017 9:13 am, edited 8 times in total.

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

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by zmemw16 » Tue Aug 22, 2017 6:59 pm

looked in the store, none of them have a new board picture.

tucked away on their page is this link
http://microelk.azurewebsites.net/STM32 ... 32_CZ_mini

really, really interesting page & it has a raft of listings, including a CubeMX ioc file, uses an earlier version of CubeMX, but it migrates to current without issues.

stephen

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

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by zmemw16 » Fri Sep 01, 2017 2:20 pm

ordered 22/8 arrived 3mins ago - so 10 days
immediately visible through the static bag, 2 off 4x2 connector's :D :D

<edit1>
i'm pessimistic - and it's back to find the compatible tft mode - 32 pin with pins, actually skt ones are required as well, as i've similar blue boards, but with header 32 pin
</edit1>
stephen

poiuycat
Posts: 17
Joined: Tue Aug 22, 2017 4:53 pm

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by poiuycat » Fri Sep 01, 2017 3:03 pm

Great to hear that just 10day but 3 week I got.

I still testing the SDIO using this lib but it not working on F1 board.
http://www.stm32duino.com/viewtopic.php ... t=sdio+lib

this library only work in SPI mode in F1 board. :x

PS:
don't download the generic_boot20_pe5 because the button is pull up set to the PD2 which is used for SDIO CMD pin.
Last edited by poiuycat on Fri Sep 01, 2017 3:08 pm, edited 1 time in total.

stevestrong
Posts: 1813
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by stevestrong » Fri Sep 01, 2017 3:08 pm

poiuycat wrote:
Fri Sep 01, 2017 3:03 pm
I still testing the SDIO using this lib but it not working on F1 board.
http://www.stm32duino.com/viewtopic.php ... t=sdio+lib
That library is designed for F4 boards, not for F1.
I think Victor tried/wanted to port it to F1, I don't know how much he did.
I don't own any F1 board which has SDIO, so I cannot develop/test SDIO for F1.

poiuycat
Posts: 17
Joined: Tue Aug 22, 2017 4:53 pm

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by poiuycat » Fri Sep 01, 2017 3:10 pm

Now you have it !!! :D :D :D :D

good luck

OOOps !!! I thought was zmemw16 , sorry .... :D
Last edited by poiuycat on Fri Sep 01, 2017 3:22 pm, edited 2 times in total.

stevestrong
Posts: 1813
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by stevestrong » Fri Sep 01, 2017 3:12 pm

Don't confuse me with Stephen...

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

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by zmemw16 » Fri Sep 01, 2017 3:20 pm

now i'm confused :roll: :lol:

at one time our office had 5 chris + 7 steve/stephen, phone calls - you want chris ? you want steve ?
closely followed by which one ? :D


if anyone spots a suitable display, yell loudly please

stephen

poiuycat
Posts: 17
Joined: Tue Aug 22, 2017 4:53 pm

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by poiuycat » Sat Sep 02, 2017 8:24 am

I ask for the schematic and this is what funny seller reply:


POIUYCAT:
The item you sent is not same as photo.
Please provide the NEW board datasheet, schematic link that I can download.
thanks.



Electronic tycoon.
What's the difference, please?




POIUYCAT:
red circuit mark [picture with mark]




Electronic tycoon.
What's the problem?



POIUYCAT:

That a few pin have been changed.
i don't have time to do the Reverse engineering , just send me the schematic !! OK
BTW please update the new photo that you selling .





Electronic tycoon.

J1 and J2 IO mouth extension with 2.54 mm gap insertion
STM32F103RBT6 internal resource profile:
The cortex-m3 kernel / 72MHz main frequency / 128KB FLASH / 20KBRAM / 4 16-bit timer / 2xSPI / 2xI2C / 3xUSART / 1x USB / 1x CAN / 48 IO / 16 channels 10 bits ADC
The CPU on board:
CPU: STM32F103RBT6
Packaging: LQFP64
The Controller Family/Series: STM32F
FLASH memory FLASH: 128KB
Data storage capacity, RAM: 20KB
Timer: 4
Encapsulation form: LQFP
Operating temperature range: - 40 ° C to + 105 ° C
Stitches: 64
SVHC (high concern material) : No SVHC (18-jun - 2010)
Working temperature: lowest to 40 ° C
The highest working temperature: 105 ° C
Serial communication: 2xSPI, 2xI2C, 3xUSART, USB, CAN
32 digits:
Device label: (ARM Cortex) STM32
Storage type: FLASH
Timer number: 16
Package type: stripping
Interface type: CAN, I2C, SPI, UART, USB
Clock frequency: 72MHz
Number of analog transformers: 16
Maximum power supply voltage: 3.6 V
Minimum power supply voltage: 2V
Chip label: STM32F103RB
Surface mounting device: surface mounting
Input/output line number (input/output IO) : 49;
Hardware introduction:
A, battery seat;
B, USB 2.0 full speed interface;
C, power switch;
D, 20 foot standard JTAG mouth;
E, two user keys;
F, a reset button;
G, DB9 serial port (imported SP3232 IC),
H, all IO ports are raised - 2.54 mm spacing pins,
Board size: 91.9 mm X 67.3 mm;
Shipping list:
1. STM32F103RBT6 core plate;
2. USB print wire (for USB communication and power supply)

I order the CZ mini STM32F103VE-EK
end up the sent me the STM32F103RBT6 datasheet !!!!!! WTF

I know they just a reseller if they don't have schematic just said don't have.
and then they always do is copy and paste answer. :D :) :D
those customer service totally dunno what diff STM32F103RBT6 and STM32F103VE !!
I want schematic why they sent me datasheet !?!? :?:

PS: can I request for refund ?! :D PCB Layout is not as described. :lol:
Last edited by poiuycat on Sat Sep 02, 2017 2:56 pm, edited 1 time in total.

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

Re: Review : CZ mini STM32F103VE-EK (new version 2017)

Post by zmemw16 » Sat Sep 02, 2017 2:38 pm

i wonder what you'd get ordering a Blue Pill, V* ? ;)
srp

Post Reply