Anyone have experience with the Megawin Tech MG32Fxxx series ? - Page 1
Forum section: electronics / general

author: mon2
author_rank: Frequent Contributor
timestamp: March 26, 2022, 02:32:54 pm
content: Hi. Reviewing alternatives to the STM32F103 devices for daplink use. Anyone have experience or feedback on the Megawin Tech MG32Fxxx series ?Did ping Taiwan for more details but they shared details of yet another variation of these Cortex micros - not the MG32Fxxx series. Maybe the devices are for only the Asian markets?Prefer a pin-for-pin drop in and ideally a binary drop in but have been able to compile the github open source for the daplink project.Gigadevice suggested the use of their M4 device which is not on the target list for the daplink - this will require HAL changes which we do not have time nor patience for. There has to be a suitable, affordable replacement for ST while the semiconductor mess cleans up.Thanks for any feedback.

author: mon2
author_rank: Frequent Contributor
timestamp: March 28, 2022, 06:39:03 pm
content: A quick update. Factory has reached out to us and this series is coming soon to our markets in North America. Will order some for testing and will update this thread.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: March 28, 2022, 07:56:01 pm
content: Mon thanks for sharing, is there any price info to share?

author: mon2
author_rank: Frequent Contributor
timestamp: March 28, 2022, 08:40:28 pm
content: Hi Ali. Yes, just booked a 100 pcs for early protos & testing for our requirements.See here:https://www.lcsc.com/product-detail/Microcontroller-Units-MCUs-MPUs-SOCs_Megawin-Tech-MG32F103CBT6_C2976660.htmlAlso receiving good support from their HQ and they are noting that English documents will be released soon. We have been emailed some other datasheets for their devices which I can post here if there is an interest.So far, found the MG32F103 parts from them on LCSC and some shops in India so suspected they are in a limited release. Nothing in North America here.Also found GEEHY brand on LCSC.COM which has an office in the USA but so far, have not received a reply from their local office on this same interest.As a FYI, on the LCSC.COM website -> search for the keyword '32F103' or whatever derivative that you are after from the 32F series and watch the many alternatives be listed. We also purchased (today) some low cost kits to allow us to validate the compatibility. Saw on one Aliexpress portal that they used the 'APM32F103' on their DAPLINK PCB which they retail @ < $3 USD. Not sure if the same binary from ST will work on these targets but we can handle some code mods without killing too many braincells.Our goal is to use the same 48 pin TQFP PCB footprint to allow for ST32F103 (original) / alternative vendor microcontrollers. We refuse to pay the scalper $30++ USD each for the ST device.Update- added 2 slides from their factory on some of their other devices. Their main website does NOT mention the above found parts on LCSC.COM which appear to be pin-for-pin compatible. Will confirm more upon receipt of the goods. They should be here next week via DHL.

author: DavidAlfa
author_rank: Super Contributor
timestamp: March 29, 2022, 05:47:29 am
content: If they're fully compatible, the MG32F103CB is just $1.18 in 100+ quantities, starting a $2.16, and you get extra 8KB SRAM + more peripherals!That's crazy!What models did you order? If they work with ST-Link, it would be great news.

author: wilhe_jo
author_rank: Regular Contributor
timestamp: March 29, 2022, 06:33:08 am
content: I would be carefull about the compatibility...That does not mean, they are bad... I'moving to the GD32E103 (not GD32F)... cheaper, better and fits my needes... but not 100% compatible.There's a comparison on several clones... maybe one could post some samples to that guys to get that variant added too...https://www.blaatschaap.be/32f103-comparison-part-1/73

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: March 29, 2022, 07:22:44 am
content: mon Thanks for sharing

author: mon2
author_rank: Frequent Contributor
timestamp: March 29, 2022, 11:38:05 am
content: Adding a new update from today from the factory. We have the Waveshare 48 pin & 64 pin TQFP STM32 socket boards on order along with the MG32F103CBT6 devices. Once more is known on the setup of the compiler toolchain, will update this thread. Keil is mentioned in their videos and the use of MLINK tool for debugging (their version of STLINK ?). ARM processors use SWD by default so cannot see a reason why STLINK will not work here for these target devices.@DavidAlfa, we ordered 100 pcs of theMG32F103CBT6from LCSC.COM as per above shared link. The device not being binary compatible is a bit of a bummer but the cost savings and availability are worth the extra effort to deploy this device. We also ordered a few other other variations of the 32F103 devices from other vendors listed on the LCSC.COM website. Waiting for a response from GEEHY USA on compatibility.Immediate interest is to test with ST-LINK and port the DAPLINK project for this controller.

author: mon2
author_rank: Frequent Contributor
timestamp: March 30, 2022, 01:03:02 pm
content: Update from today till the chips & tools arrive to our office.Also, now have received contact from Geehy USA yesterday so will start a new thread to post the details.

author: GromBeestje
author_rank: Frequent Contributor
timestamp: April 02, 2022, 07:04:41 am
content: Quote from: wilhe_jo on March 29, 2022, 06:33:08 amThanks for linking my site. I guess I should do another round of comparison. A lot has happened since then. When the sillicon crisis hit, it seemed they all went out of stock at lcsc. Now there is stock again, new variants have appeared. Some even have some English documentation.

author: mon2
author_rank: Frequent Contributor
timestamp: April 02, 2022, 10:00:29 am
content: @GromBeestje, thanks for your website.Our MG32F103 devices shipped out from lcsc yesterday. ETA is another week or so.We have had a good dialogue with Geehy USA who has English documents. They sampled us their APM32F103 device which is pin for pin equivalent. We received their care package late yesterday so will start testing next week.Do you have the MG and Geehy devices?If not, send me a PM with your details and can send you a sample of each brand of the 32F103 for testing.Will update this forum after we test with the DAPLINK IP.

author: GromBeestje
author_rank: Frequent Contributor
timestamp: April 02, 2022, 06:56:33 pm
content: I did cover the APM32F103, when I wrote those articles back in 2019. Back then by ApexMic. Their website back when I looked at them was hardly accessible without VPN.Today the ApexMic website loads without problem, and clicking APM32 links to the Geehy website. Therefore, I would say, it is the same part. As it is a while ago, it might be possible they have a new revision. Mine are revision "B3".As nowadays, their website is reachable from Europe, and there is an English Datasheet and User Manual, those problems I noted back in 2019 are gone.The parts that are on LCSC these days seem to be apart from the super-expensive STM32 and the generally available GD32,are parts I haven't looked at before. The MS32F103C8, FCM32F103CB, RX32F103CB, MG32F103CB.Also, it seems the other brands I've looked in 2019, including the ApexMic/Geehy part, are out of stock at LCSC.It seems, my assessment of GigaDevice being a trustworthy alternative 32F103 supplier, looking at their availability the past years.

author: @ADEngineer
author_rank: Newbie
timestamp: July 22, 2025, 02:08:55 pm
content: Hi, I am using mg32f103 for interfacing spi based enc28j60 but I am stuck as the internal clock for spi is not generating. If there is a tested and verified code please do share.