Open Hardware STM32Duino

ekawahyu
Mon Jul 04, 2016 2:57 pm
This is an attempt to collect ideas and suggestion from you guys whether or not it is a good idea of having a community owned hardware design, aside from supporting existing platforms out there. Some people are thinking about having an official STM32Duino software release twice a year, starting with 16.07 (http://www.stm32duino.com/viewtopic.php?f=3&t=1208). So I said, why don’t we spice the moment up by releasing an STM32Duino Open Hardware as well! ;)

Think about this, what if BluePill and RedPill become discontinued just like Maple boards? They are not Open Hardware. I think it would be cool for us to have at least one platform of our own, we release it as Open Hardware, and anyone can get the blueprint to make, to modify, to learn, and even to sell it as it is or its modification. We know that we are not going to be able to beat the price point of BluePill or RedPill at sub $2. But if we can provide users with a BOM they can afford at sub $5, I think this would take off and get its traction. As a starting point, let’s call it as a WhitePill, and this board will be prototyped in white solder mask.

I am volunteering myself to design the board and potentially spend some dollars out of my pocket for prototyping and testing it. If you guys are willing to help with anything, like trying to crowdfund it, you are welcome to help doing it. Should we get a little profit out of it, I think it should go to @RogerClark as he has been the one maintaining this great community and forum. Space are not cheap guys, I believed he has spent some (if not a lot) on his own just to keep this forum alive!

Ok, so let’s start our discussion. I can tell that I am pretty good with Eagle CAD, pretty handy with fine pitch soldering at microscopic level 8-) and able to prototype almost anything. Please respond whether or not you think it is a great idea to have at least one STM32Duino platform as an Open Hardware. Tell us why you think it is (or it is not). And then, if you think about WhitePill, what features should be available to support at least by the core. Let’s focus on having a sub $5 WhitePill first, although we also welcome ideas to have advance features for WhitePill Xtra, WhitePill Combo, etc.


ekawahyu
Mon Jul 04, 2016 3:04 pm
This is where I got the reference design of BluePill:

http://www.aliexpress.com/item/STM32F10 … 1312a5df6a

Questions: Is it breadboard friendly? Is 64K too much or reasonable for the basic “Arduino” like system? Should we downgrade to 32K, 16k? I would get rid all of crystals just to save few bucks, potentially also to remove USB connector with something like this:

Image

So, users might need to have this cable or just plug it directly to USB port:

Image


martinayotte
Mon Jul 04, 2016 3:07 pm
I don’t think removing the USB would be a good idea, and it is simply removing $0.10 on the BoM.
BTW, the crystal too is only removing $0.10 on BoM…

ekawahyu
Mon Jul 04, 2016 3:14 pm
martinayotte wrote:I don’t think removing the USB would be a good idea, and it is simply removing $0.10 on the BoM.
BTW, the crystal too is only removing $0.10 on BoM…

edogaldo
Mon Jul 04, 2016 3:43 pm
Hi ekawahyu, I think it could be a useful exercise try to write down who could be interested in buying this new board and why.

Best, E.


Rick Kimball
Mon Jul 04, 2016 3:46 pm
I think this board is just perfect:

http://www.hotmcu.com/stm32f103tb-arm-c … p-222.html


ahull
Mon Jul 04, 2016 7:53 pm
Given the fact that you *can* get the Blue Pill and Red Pill for a couple of dollars, you might be better producing a design with one of the more capable processors, or perhaps even a GD32 processor. The one thing that the Blue/Red pill design lacks, that I think would be most useful is the DAC.

Things like CAN bus and even ethernet are arguably not particularly interesting, for an Arduino style board, but a board with a usable DAC for not much more than the cost of the Blue Pill would be a worthwhile design in my opinion. The ability to power it from batteries might be my second addition to the design.


ahull
Mon Jul 04, 2016 7:56 pm
Rick Kimball wrote:I think this board is just perfect:

http://www.hotmcu.com/stm32f103tb-arm-c … p-222.html


RogerClark
Mon Jul 04, 2016 9:53 pm
@jcw of jeelabs uses those boards a lot.

I am sure he has done multiple posts on this board, but here is just one of them

http://jeelabs.org/wp-content/uploads/b … index.html


ekawahyu
Mon Jul 04, 2016 11:06 pm
Rick Kimball wrote:I think this board is just perfect:

http://www.hotmcu.com/stm32f103tb-arm-c … p-222.html


RogerClark
Mon Jul 04, 2016 11:19 pm
ekawahyu wrote:
The GD32 sounds great, but I am afraid we can’t use any ST HAL/Library with it due to ST’s licensing limitation.

simonf
Mon Jul 04, 2016 11:42 pm
If you wanted a blue pill on speed could not go far wrong with GD32F103RCT6. 108Mhz 256k flash 48K Ram 51 IO’s and the 2 12 bit DACs. Chip price US$ 1.6.

The GD32f103CB DIP boards are available for about usd 4 50% quicker than maple mini and officially 128K FLASH.


RogerClark
Mon Jul 04, 2016 11:46 pm
@simonf

Can you post me a link to the that GD, in case I feel like buying some. As its a really good price.


simonf
Tue Jul 05, 2016 12:31 am
The link is there its Taobao though :) i got a rough calculation from an agent they do the stm equivalent fot $2 approx.

I found an agent that will drop ship so if you wanted some I may get some and get them to send you /others some.


RogerClark
Tue Jul 05, 2016 12:49 am
uumm

I’ve had a less than godd experience with TaoBao, via yoybuy , they packed some boards into a heavy box, and I got charged more than the price of the boards in additional shipping, (I can’t recall the cost but probably $15 or $20 when the boards only cost less than $15, so it doubled the price)

Cheapest I can find on AliExpress is around $23 USD for 10 off including shipping, which I think is cheaper than STM32F103RC’s but far more than STM32F103C8’s (which I can find for around $1.50 with free shipping up to 4 pcs)

But I already have a load of STM32F103C8’s


RogerClark
Tue Jul 05, 2016 1:06 am
ekawahyu wrote:
I would get rid all of crystals just to save few bucks, potentially also to remove USB connector with something like this:

Image


simonf
Tue Jul 05, 2016 1:19 am
TaoBaoRing seem to say 200g to australia is $6 which is a lot of boards unless thet put them in a heavy box

RogerClark
Tue Jul 05, 2016 1:50 am
@simonf

The problem with Taobao is that you have to use an agent, as the vendors seem only to ship to internally in China.

I bought 2 identical batches of boards, one of which got repacked by the agent, and one didn’t. The one that got repacked doubled the cost and effectively made it uneconomic. (same agent for both)

So you are effectively held to ransom by the agent, as you have already paid for the goods, but they can charge whatever they like to repackage the goods to you.

So Taobao is now my very last resort, as the cost is totally unpredictable.


ekawahyu
Tue Jul 05, 2016 2:13 am
RogerClark wrote:
I’d rather have a small board like the digispark which uses the PCB as the USB connector.
You don’t need a massive crystal, the 8Mhz resonators that @strawberrymaker uses in his designs are small and cheap

Cost would be quite low, as all it would be is

STM32F103C8
8Mhz resonator
2 x 22R USB resistors
1 x 1K5 USB pullup
some SMD decoupling caps
various other SMD pullups / pull downs

Still impossible to build for less than the $2 Blue Pill however, mainly the price of the STM32F103C which they must source very very cheaply


RogerClark
Tue Jul 05, 2016 2:19 am
ekawahyu wrote:I think we are not in the clear yet with the licensing with mBed. I remember exactly that ST explicitly mentions about prohibited use of their code for non-ST processors.

ekawahyu
Tue Jul 05, 2016 2:26 am
RogerClark wrote:GD of course have their own SPL, and perhaps eventually they will approach mbed, as mbed is run by ARM and GD would have to license the ARM core from ARM in order to use it in the GD32

martinayotte
Tue Jul 05, 2016 2:29 am
ekawahyu wrote:I can tell that I am pretty good with Eagle CAD

ekawahyu
Tue Jul 05, 2016 2:39 am
martinayotte wrote:You should started to look at KiCad seriously !
Eagle is quite phasing out with their limited free version.
All Open-Hardware are not shifting to KiCad !

martinayotte
Tue Jul 05, 2016 2:43 am
ekawahyu wrote:I looked at Teensy 3.2 pinouts, I guess this should be my reference design for to layout STM32Duino with GD32:

RogerClark
Tue Jul 05, 2016 3:22 am
+1 using KiCad

I paid for entry level license for Eagle, but am moving to KiCad where possible


Slammer
Tue Jul 05, 2016 6:52 am
Most of F4 are cheaper than corresponding F1 parts…
I agree, a new design must be based on F4/L4 parts

Just4Fun
Tue Jul 05, 2016 7:27 am
RogerClark wrote:+1 using KiCad
I paid for entry level license for Eagle, but am moving to KiCad where possible

ekawahyu
Tue Jul 05, 2016 5:04 pm
Slammer wrote:Most of F4 are cheaper than corresponding F1 parts…
I agree, a new design must be based on F4/L4 parts

martinayotte
Tue Jul 05, 2016 5:50 pm
Far from been a final choice, but since I’m already familiar with STM32F405RGT and can be found on AliExpress for under $5.00, that would be one choice.
http://fr.aliexpress.com/item/smd-contr … 97827.html

But there are maybe others, also it is depend of the form factor of the board, the above is a LQFP64, but some others are exclusively LQFP100 and maybe to big for some breadboard friendly boards.


simonf
Tue Jul 05, 2016 7:00 pm
martinayotte wrote:Far from been a final choice, but since I’m already familiar with STM32F405RGT and can be found on AliExpress for under $5.00, that would be one choice.

Ollie
Tue Jul 05, 2016 7:35 pm
I like these ideas of interchangeable boards. Just wondering, what would be the major differences compared to Frank Zhao’s stump boards (the original and all derivatives).

In past, I did like the idea of breadboard mounting, but in practice, a processor board next to breadboard works as well – especially with female connectors. In normal case with male connectors at bottom, the processor board on breadboard acts like board with female connectors.

Cheers, Ollie


martinayotte
Tue Jul 05, 2016 8:14 pm
Ollie wrote:Just wondering, what would be the major differences compared to Frank Zhao’s stump boards (the original and all derivatives).

Rick Kimball
Tue Jul 05, 2016 8:32 pm
ekawahyu wrote:Is is lower cost than F0/L0 as well? Any suggestion on the exact part number?

devan
Tue Jul 05, 2016 8:58 pm
Rick Kimball wrote:ekawahyu wrote:Is is lower cost than F0/L0 as well? Any suggestion on the exact part number?

Slammer
Tue Jul 05, 2016 9:47 pm
As I understand we are talking about a dip style module, with max 40 pins, this limits our candidates to 48 pins versions.
Possible candidates are the F401Cx, F411Cx, L475Rx OR L433Cx (which is available in LQFP package)

martinayotte
Tue Jul 05, 2016 10:02 pm
Slammer wrote:As I understand we are talking about a dip style module, with max 40 pins

simonf
Tue Jul 05, 2016 10:09 pm
Slammer wrote:As I understand we are talking about a dip style module, with max 40 pins, this limits our candidates to 48 pins versions.
Possible candidates are the F401Cx, F411Cx, L475Rx OR L433Cx (which is available in LQFP package)

simonf
Tue Jul 05, 2016 10:22 pm
martinayotte wrote:
But if there is no consensus on breadboard-friendly, we are not limited in this case.

mrburnette
Tue Jul 05, 2016 10:40 pm
… and I would want to do this over using a Maple Mini Clone from Baite why?

IMHO, maybe if one could get an M3 with 48K or 64K of SRAM crammed onto something like a MM for a price of perhaps $1 or $2 more with full Arduino support, USB serial, bootloader reset … then maybe I’m listening.

The MM clone is a good-nuff solution to 90% of the problems that I throw at it and it easily fits into my big protoboard or several littl’ ones:
ImageBoxOfMapleMini by Rayburne, on Flickr[/img]


Ollie
Tue Jul 05, 2016 10:55 pm
Martinayotte,

One example of a derivative Stamp is https://www.oshpark.com/profiles/Firebirduino

It cannot be mounted on breadboard, but can be used with breadboard.


simonf
Tue Jul 05, 2016 11:05 pm
mrburnette wrote:… and I would want to do this over using a Maple Mini Clone from Baite why?

IMHO, maybe if one could get an M3 with 48K or 64K of SRAM crammed onto something like a MM for a price of perhaps $1 or $2 more with full Arduino support, USB serial, bootloader reset … then maybe I’m listening.


martinayotte
Wed Jul 06, 2016 12:10 am
Yes, this could define well the LOW STM32Duino board ! But let’s try to include an MicroSD there too.
Then we can continue discussing about MEDIUM and HIGH end versions.

mrburnette
Wed Jul 06, 2016 12:52 am
simonf wrote:
<…>
So a 40 pin maple mini type board for $5 with a lot of extra features should be doable with a SWLINK connector and better usb socket. Baite Minis are US$4 So twice the Twice the FLASH and Twice the speed after taking into consideration the ‘0’ wait state does not seem bad for 25% extra price.

martinayotte
Wed Jul 06, 2016 1:00 am
Hi Ray,
For this LOW level version of OSHW STM32Duino board should include an MicroSD card holder, even if PCB has a length a bit longer than MM, although bottom side has lot of space ?

Kenjutsu
Wed Jul 06, 2016 8:17 am
Just my observation from a novice/hobbyist perspective ;)

When I got my Wemos D1 Mini boards, I was impressed by the included long leg female headers. In all honesty, it was the first time I have seen them in “real life”. I was impressed with how sturdy the legs are, and that they can be cut to size.

Back on topic, I see the following potential advantages in using these headers, with regards to breadboard friendliness:

  • the STM32duino dev board can be made a bit wider than a traditional DIP 40 size, since with these headers, the wires can be inserted into the header, and then routed to the required spot on the breadboard, as long as the headers can still fit on the breadboard
  • although the legs of the headers are long, if the dev board is fully inserted into the breadboard, there is a gap of only about 5mm between the top of the breadboard and the bottom of the dev board, thus leaving some space to possibly mount components on the bottom of the dev board, as was done with the D1 mini

Just4Fun
Wed Jul 06, 2016 12:51 pm
ekawahyu wrote:
@Just4Fun: Do you think you can help doing the layout on KiCad? Any kind of help would be great, like generating 3D parts for us to see!

ekawahyu
Wed Jul 06, 2016 7:37 pm
simonf wrote:A 40 pin board bassed on GD32F103RCT6. (ic costs $1.60) runs af 108Mhz has 256k flash and 48K Ram.

edogaldo
Wed Jul 06, 2016 8:26 pm
Few considerations:

  • it seems strange to me that a site called “Arduino for STM32” (aka stm32duino.com) proposes a reference board based on a GD32 chip..
  • are GD chips well documented and well supported here?

And here my HW whishlist:

  • proc >= F103CBT6
  • an embedded USB2Serial adapter (i.e. CH340G) bound to USART1
  • an eeprom (even thought an SD could be better)
  • AMS1117 as LDO
  • Maple reset HW
  • Support for concurrent power from USB, VIN and VBAT together with necessary protection circuits
  • User button & led
  • HSE and LSE crystals

One more question: did you already consider assembling, packaging and shipping expenses?

Best, E.


simonf
Wed Jul 06, 2016 8:56 pm
ekawahyu wrote:simonf wrote:A 40 pin board bassed on GD32F103RCT6. (ic costs $1.60) runs af 108Mhz has 256k flash and 48K Ram.

martinayotte
Wed Jul 06, 2016 9:04 pm
edogaldo wrote:
[*]an embedded USB2Serial adapter (i.e. CH340G) bound to USART1

edogaldo
Wed Jul 06, 2016 9:08 pm
ekawahyu wrote:simonf wrote:A 40 pin board bassed on GD32F103RCT6. (ic costs $1.60) runs af 108Mhz has 256k flash and 48K Ram.

simonf
Wed Jul 06, 2016 9:31 pm
edogaldo wrote:Few considerations:

  • it seems strange to me that a site called “Arduino for STM32” (aka stm32duino.com) proposes a reference board based on a GD32 chip..
  • are GD chips well documented and well supported here?

simonf
Wed Jul 06, 2016 10:32 pm
martinayotte wrote:

AMS1117 is the worst LDO, it has a quiescent current of 5 to 10mA even without load.
There are some like SPX3819 with quiescent current of 100uA to 1mA, or even better HT7333 or the best XC6203.

mrburnette
Wed Jul 06, 2016 11:14 pm
simonf wrote:
<…>
Remember this is a dev board if you want to make a low power device you can use an external regulator, a good power out is important.
<…>

RogerClark
Wed Jul 06, 2016 11:26 pm
Depending on what this board is going to be used for…

I also think 250mA is too low.

I use the regulated 3.3V output from the Mini Maple to power an ILI9341 as well as a 433Mhz TX/RX (nRF51822) and some other external devices, e.g. SD card.

BTW.
I recall this phase being used for another board that was being discussed..

Eierlegende Wollmilchsau

https://en.wiktionary.org/wiki/eierlegende_Wollmilchsau

;-)


simonf
Wed Jul 06, 2016 11:54 pm
mrburnette wrote:

250mA is a bit “weak” IMO for a dev board.

martinayotte
Thu Jul 07, 2016 12:52 am
I think the discussion is become fuzzy …

When I suggested some more efficient LDO, that was only to show that AMS1117 was a bad LDO if some people which to do some battery operated.
Of course in other application which doesn’t need to be power efficient, external hardware can still take it’s power from 5V and use AMS1117 externally to drive its sucking peripherals !
But the main goal of any STM32Duino OSHW is to be efficient as a standalone board !


Pito
Thu Jul 07, 2016 8:57 am
IMHO, you cannot achieve a sub $4-5 end price (free shipment worldwide) unless you order something like 5000 pieces from a producer.
The guys selling those cheapo “everything” boards think BIG – they order a batch worth $10000 cost and do $5000 profit upon selling it to distributors (the guys perform a day to day business, not a hobby).. Also mind they utilize their vast production landscape where the big guys order in 100k-1mil quantities, so the parts cost almost nil. ;)

gbulmer
Thu Jul 07, 2016 3:39 pm
Not surprising, but I am a fan of Open Hardware Leaflabs Maple or Maple mini compatibles.

Any of these for example: https://github.com/gbulmer/openstm32hw

These are already available for the community, as they are Open Hardware.

When they are populated with STM32F103, they run libmaple, and the bootloader.

If they are populated with STM32F3, there are more interesting and useful peripherals like stereo DAC.
IIRC some have been populated with STM32F4, but you’d need to comb through an archive of Leaflabs forum for details.

Some of them are designed for single-sided PCBs, and DIY. I like low-cost, but I also like DIYable.

I use boards in school classroom’s.
I am *not* a fan of ‘the USB plug is the PCB’ in that context. The PCs are sometimes under the table, or the only free socket is at the back of the machine. So the PCB-is-the-USB-plug are a bit of a PITA.

I have learned to like USB micro because lots of folks already have a power supply and cable, because they already have a phone. That is important to me because we encourage people to make things (and not just program), and the power supply is often an obstacle that needs to be overcome.

Many of the ‘mini-projects’ our students make would be okay with 250mA. However, when the students want to assemble something more complex, usually from several mini-projects, 500mA starts to become a constraint.

So either make it easy to add a more powerful (add-on?) power supply, without making it hard to program the board, or 250mA is too little power.


simonf
Thu Jul 07, 2016 8:03 pm
gbulmer wrote:
Any of these for example: https://github.com/gbulmer/openstm32hw

ekawahyu
Thu Jul 07, 2016 10:00 pm
gbulmer wrote:Any of these for example: https://github.com/gbulmer/openstm32hw

These are already available for the community, as they are Open Hardware.


gbulmer
Thu Jul 07, 2016 11:06 pm
ekawahyu wrote:gbulmer wrote:Any of these for example: https://github.com/gbulmer/openstm32hw

These are already available for the community, as they are Open Hardware.


monsonite
Tue Jul 26, 2016 7:31 am
Hi All,

I have some STM32 designs that I would be prepared to “open up” for the benefit of this group.

1. A 40 pin DIL format using a 48 pin LQFP called ARMiGo

http://sustburbia.blogspot.co.uk/2014/0 … 3-arm.html

2. A Pi HAT format board that accepts a 64 pin LQFP – Called “Piano Forte”. Has 3 choices of wireless module on board

http://sustburbia.blogspot.co.uk/2015/0 … forte.html

3. A 62mm x 62mm breakout board that accepts a 100 pin LQFP – breaks out to the same pin pattern as an F4 Discovery

http://sustburbia.blogspot.co.uk/2015/0 … sting.html

4. A 64 pin LQFP and FPGA combo called myStorm which breaks out to Arduino format pin headers. Has a GPIO header to accept Pi or Pi Zero

https://folknologylabs.wordpress.com/20 … ect-storm/

Ken


strawberrymaker
Wed Jul 27, 2016 10:14 am
Just about the LDO: Guess you would be better off with something like a MIC5205 (or the newer ones) They are being used in f.ex. the arduino pro mini, have a low quiescent current (max. 1mah IIRC) and much smaller than the ams1117 (but 5 cent more expensive).
But please, use a proper USB socket and not these on PCB things. they will wear out so fast, and you would have to use something like a ENIG Plating, which costs $$$.

Pricing: Yeah, you can definatly get away with 4-5$ in BOM. Assembly could also be done at home,with a smd sucker, a stencil and a modded oven. But you still will spend time with it. if you would make a business out of it, you would have to sell it then for 10-15$.

~Straw


ekawahyu
Wed Jul 27, 2016 4:26 pm
monsonite wrote:I have some STM32 designs that I would be prepared to “open up” for the benefit of this group.

1. A 40 pin DIL format using a 48 pin LQFP called ARMiGo

http://sustburbia.blogspot.co.uk/2014/0 … 3-arm.html


gregcr66
Wed Aug 31, 2016 6:27 pm
Hi Group.

In regards to arduino 32 COMMUNITY HARDWARE…

I would be interested in contributing to the betterment of the 32duino community and offer my aid in making the 32duino Hardware a reality.
This is in no way a sales call, my only interest is to help the community as I happen to be in a unique situation that could help all.

My only ulterior motive is that I am working to learn more about using Arduino with 32 MCU’s. Specifically GIGADEVICE MCU’s

I own an electronics contract manufacturing facility in New England USA. Ironically I also own one of the few distributors in the US who distributes GIGADEVICE.

My CM business has 4 high speed surface mount lines and we are adding two more. I know how to build products at the best price and would be more than willing to cover much of the cost to get this project off the ground

I have access to materials worldwide in addition to the GIGADEVICE parts so we can design in the best value materials.

If there is interest from the community please let me know. I can also present this as an opportunity to GIGADEVICE and I expect they would provide special pricing and/or free samples to get this project moving and help out the community.

I have intentionally not put by business information on this post so that it does not look like a sales call…

I hope everyone well and look forward to working together!

thanks!
greg


RogerClark
Wed Aug 31, 2016 11:29 pm
Hi Greg

Sorry I didnt reply to your email. (I will reply now)

Re: Open hardware

Several people are developing boards, try PM’ing @strawberryMaker as has been making one, and also PM @grumpyoldpizza as he has developed sw for another board (but I can’t remember who makes it)

GD devices are interesting but have not got much traction

I actually have about 15 GD32F103C8 boards I bought from TaoBao, (I only wanted 10 but there was a mix up with the order)

I know several other people who either have GD32 or are interested in GD32 because of price vs performance.

At the moment our support of GD32 is not that good, because I’ve not had time to figure out why the SPI doesn’t work
(SPI does send data but none of the peripherals I have tried, think the data is valid. I suspect its something to do with the SPI mode or clock vs data timing mode etc, as I think the GD32 has additional SPI modes and perhaps does not default to the same mode the STM32 does – or at least not using our core software)

BTW. I run the GD32F103C8 at 120Mhz (and have USB) and they all seem OK, even though this is 10% above their spec
The wierd thing with the USB divider is that the max permitted speed with a valid USB divider is 96Mhz but the GD32 is spec’ed to 108Mhz. Luckily there is a USB divider that works at 120Mhz. So my only conclusion was that it was GD’s original intention to spec them at 120Mhz but found in production that his speed could not be guaranteed over an industrial temperature range.


ekawahyu
Thu Sep 29, 2016 12:26 am
FYI, I’ll be meeting Greg about the STM32Duino board prototyping and heading to his facility in South Easton, MA, on Oct 12th. I’ll be happy to hear any comment on this and please keep posting about what should be included or not.

Since Greg might be able to get GigaDevice, I think we should have at least one board made with it.


strawberrymaker
Thu Sep 29, 2016 7:07 pm
@elawahyu

sadly, i wouldnt say that my 3dprinter/cnc controller is really ready for a bigger production :( .
I could maybe try to revice the STaps, but i dont have that much time in the next few months, so i guess it would be better to take someone else’s designs like the ones from @monsonite

~Straw


ekawahyu
Thu Nov 17, 2016 6:55 pm
Guys, I just got a list of GD32 product lines from @gregcr66. I would like to share it here with you all, but I need to make sure that it is ok with Greg. There are a bunch of GD32 part numbers that are not available on their website yet and I think we all should look from this list first. We are so lucky to have Greg with us, because he can really help to push the cost down.

The next question would be, how many serial, SPI, I2C, CAN ports we’d like to have on the board? then I can help to choose the part number from here. Thank you.


danieleff
Thu Nov 17, 2016 7:43 pm
ekawahyu wrote:Guys, I just got a list of GD32 product lines from @gregcr66. I would like to share it here with you all, but I need to make sure that it is ok with Greg. There are a bunch of GD32 part numbers that are not available on their website yet and I think we all should look from this list first. We are so lucky to have Greg with us, because he can really help to push the cost down.

RogerClark
Thu Nov 17, 2016 9:32 pm
I think STMs HAL license prevents it being used for GD32 devices.
(I have not tried running and STM HAL code on the GD32, it may work, but STM may hVe delibarately put things into their HAL that break to operation of the GD32)

But Libmaple can be used.

Also GD have their own Standard peripheral library / CMSIS etc, but not an equivalent of the HAL.


ekawahyu
Fri Nov 18, 2016 6:04 pm
That is exactly how @gregcr66 can help to get a library support from GD32 guys. I can dedicate my time to port any existing library to link with GD32 library. At least we have to have one STM32Duino platform that we can proud of, even though in the end, we don’t use STM32. Any other thought? We keep STM32 and/or GD32?

RogerClark
Fri Nov 18, 2016 8:44 pm
AFIK, libmaple works OK with the GD32.

Bt hardly anyone has and GD32 boards, so its hard to know what incompatibilities there are


visinet
Tue Dec 13, 2016 11:51 pm
Any work being done on this? I am very interested as I am looking for a solid supply chain for good quality Blue Pill type of board.

Thanks


RogerClark
Wed Dec 14, 2016 12:00 am
Send PM to @gregcr66

He runs a production facility in the USA

He was interested in the GD32 as they are faster and cheaper than the STM32, but there are some slight compatibility issues.

But they are interchangeable so he could probably make you either a GD32 or and STM32 board


visinet
Fri Dec 16, 2016 10:03 pm
Thanks, I will reach out to him. My guess is that in my quantities it wont make sense. I would love to find a bunch of people that are in the same boat as me that would like to pool our resources and over-design a board that meets all our requirements and get a batch done to professional (non-cheap china) quality standards that can be used for both commercial and non-commercial projects. I am not really a HW guy so don’t really know what to expect in cost on this so if the community can chime in an maybe give me an idea of what getting a board like the Blue Pill, MapleMini, or something even better with ethernet on it like the MBED LP1768 or LPC4088 in say a run of 20 to 50 boards that would be a big help. My annual need is around 20 to 50 currently. Now if we had say a few people that had my qty requirement then we could get a run of say a couple hundred boards done which would be even better.

Thanks to all for all any ideas/insight :)


RogerClark
Sat Dec 17, 2016 2:59 am
visinet wrote:Thanks, I will reach out to him. My guess is that in my quantities it wont make sense. I would love to find a bunch of people that are in the same boat as me that would like to pool our resources and over-design a board that meets all our requirements and get a batch done to professional (non-cheap china) quality standards that can be used for both commercial and non-commercial projects. I am not really a HW guy so don’t really know what to expect in cost on this so if the community can chime in an maybe give me an idea of what getting a board like the Blue Pill, MapleMini, or something even better with ethernet on it like the MBED LP1768 or LPC4088 in say a run of 20 to 50 boards that would be a big help. My annual need is around 20 to 50 currently. Now if we had say a few people that had my qty requirement then we could get a run of say a couple hundred boards done which would be even better.

Thanks to all for all any ideas/insight :)


visinet
Sat Dec 17, 2016 7:37 pm
Yea, that is my guess too. I would order 50 to 100 if the price was right. Any idea on what a min order/charge might be to say get a blue pill done. $500, $1K, $2K, $5K. I have no idea but I see alot of people doing small run projects and I cant imagine that they are all having to spend $1K to get 10 hobby boards done. Any ball park ideas?

Thanks again.


RogerClark
Sat Dec 17, 2016 8:37 pm
If you want longevity of supply, i.e many years of small orders, you’ll need to have your own copies of the manufacturing files.

I would start with the Maple Mini files that leaflabs made open source on github.

Then either buy Cadsoft Eagle, basic commercial version , which was around $100 when I bought it.
Or convert to KiCad.

Then output all the files to machine manufacture the board, and get a company to machine build a small batch.

actually, you’ll probably need to get them to hand build a few first e.g. 2 or 3 to check the pcb and bom is correct.

Then get them to machine make a few, perhaps 50.

when you have all the files and process nailed down, you should be able to send those files to different companies in the future.

Or just buy 5 years supply of Maple Minis from Baite. ;-)


mrburnette
Sat Dec 17, 2016 10:31 pm
Blue boards are still available for under $2 each…

https://www.aliexpress.com/item/10pcs-l … 70994.html

Ray


RogerClark
Sun Dec 18, 2016 2:34 am
I have found that most chinese companies are keen to do business, and personal contact via AliExpress to the Bait Online store, would probably get a special price if you wanted to buy 50 or 100 etc

Leave a Reply

Your email address will not be published. Required fields are marked *