ADC speed for Olimexino-GD32 vs. RedPill

Boards based on the GigaDevices GD32F103 microcontroller
EventHorizon
Posts: 6
Joined: Thu Oct 06, 2016 6:52 pm

ADC speed for Olimexino-GD32 vs. RedPill

Post by EventHorizon » Mon Oct 10, 2016 8:43 pm

Hi everyone,

I've recently got two Olimexino-GD32s from Amazon and was quite surprised to find the ADC conversion taking less than 1 microsecond (using just a simple analog.read() in Maple IDE). Somewhere else in the forum I've read and later confirmed STM32's 2 us limit, so GD32's ADC seems to go twice as fast. My question is: can anyone else confirm this for the generic GD32 using Arduino IDE? My Olimexino-GD32s seem to have some ADC-unrelated issues (basically my Mac stopped recognizing the USB port after 10 uploads or so for both boards - the last successfully uploaded sketch was running fine, so I'm guessing the MCU was okay) so I would like to find as alternative.

Thanks!

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

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by RogerClark » Mon Oct 10, 2016 9:22 pm

GD32 are significantly faster than STM32.

What I find a bit amusing, is that Olimex have jumped on the GD32 bandwagon, after initially writing very disparaging blog posts about GD ripping off STM etc etc

User avatar
Slammer
Posts: 241
Joined: Tue Mar 01, 2016 10:35 pm
Location: Athens, Greece

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by Slammer » Mon Oct 10, 2016 9:42 pm

Olimexino-GD32? I cant find it in their product catalog... is this official product?

EventHorizon
Posts: 6
Joined: Thu Oct 06, 2016 6:52 pm

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by EventHorizon » Mon Oct 10, 2016 10:31 pm


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

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by RogerClark » Mon Oct 10, 2016 10:48 pm

Anyone know what clock speed the HSE is ?

I will need to add support for this, because my other GD32 board has 12Mhz HSE Xtal and I suspect this has 8Mhz as the probably just replaced the STM32 with the GD32 equivalent

If I add support for this, you can run the board at 120Mhz and still USB Serial (As it has extra USB PLL DIV settings in the GD32)

User avatar
zoomx
Posts: 457
Joined: Mon Apr 27, 2015 2:28 pm
Location: Mt.Etna, Italy

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by zoomx » Tue Oct 11, 2016 9:44 am

RogerClark wrote:GD32 are significantly faster than STM32.

What I find a bit amusing, is that Olimex have jumped on the GD32 bandwagon, after initially writing very disparaging blog posts about GD ripping off STM etc etc
:lol:

Anyway the price is much cheaper (9 €) than the Olimexino STM32 boards, the cheaper one is 26 €. But I cannot believe that the price difference is due only to the MCU.

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

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by RogerClark » Tue Oct 11, 2016 9:56 am

Perhaps they are just noticing that everyone can buy much cheaper boards from AliExpress.

Because, like you say, the price difference is definitely not just the price of the GD32 vs STM32

User avatar
Manny
Posts: 37
Joined: Wed Dec 09, 2015 3:15 pm

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by Manny » Tue Oct 11, 2016 3:52 pm

It's a bit weird that they are not for sale or even listed on their website? :?

Olimex blog post about the GD32 Here claims they are 20% cheaper to buy than the ST.
1. All the products provided by GigaDevice were developed by GigaDevice independently, and GigaDevice has its all intellectual property rights. As the third-party intellectual property rights, GigaDevice has obtained the intellectual property rights holder’s authorization.

2. All the products provided by GigaDevice do not infringe any third-party intellectual property rights.

3. It’s sure that for the record, GigaDevice are a legitimate ARM licensee :
https://community.arm.com/community/arm ... iconductor

4. And GigaDevice is officially the ARM connected community member and the ARM university programme partner.

5. GigaDevice GD32 series of MCU got the trade mark in world wide such as US, Korea& Japan

6. The right of layout-designs of integrated circuits design of GD32 MCU is protected in China.
GigaDevice also have lots of US,EUROPEAN & INT’L PATENT concerning GD32 MCUs, examples check the attached patent file.

1 PCT/CN2013/075149 PCT International EMBEDDED SYSTEM CONTROLLER

2 14/399,858 US EMBEDDED SYSTEM CONTROLLER

3 13788134.8 EU EMBEDDED SYSTEM CONTROLLER

4 PCT/CN2015/071990 PCT International MCU

5 PCT/CN2015/071983 PCT International MCU

6 PCT/CN2015/071556 PCT International MCU

7. We also provide the “Intellectual Property Rights Guarantee letter” and the “Trademark Certificate” for your reference.

8. We will continue to highlight the advantage of our own in market, especially the family roadmap.

EventHorizon
Posts: 6
Joined: Thu Oct 06, 2016 6:52 pm

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by EventHorizon » Tue Oct 11, 2016 4:13 pm

Manny wrote:It's a bit weird that they are not for sale or even listed on their website? :?
They actually had it a few days ago, but it has been removed. As I mentioned in my OP, the native USB on both Olimex-GD32 I own have stopped working (no longer recognized by my Mac), although they have the 1.5k resistor and the proper transistor on PA12. Maybe they know something is wrong with the board.

edogaldo
Posts: 252
Joined: Fri Jun 03, 2016 8:19 am

Re: ADC speed for Olimexino-GD32 vs. RedPill

Post by edogaldo » Tue Oct 11, 2016 5:15 pm

Document CD00161566 (datasheet for STM32F103C[8B]) - page 12 - note 3: "To have an ADC conversion time of 1 μs, APB2 must be at 14 MHz, 28 MHz or 56 MHz."

So it seems also STM MCUs can achieve 1 μs conversion time.. ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest