Support STM32F101CBT6

Any other STM32 based boards
Post Reply
garder50
Posts: 1
Joined: Wed Aug 23, 2017 8:25 am

Support STM32F101CBT6

Post by garder50 » Mon Aug 28, 2017 5:21 pm

Hello, I own some Maple-like boards with STM32F101CBT6 (home made).
Is it possible to modify some files to support STM32F101 (128k ROM but only 36MHz no USB) ?
Anybody did it or have some ideas?
Thanks.

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

Re: Support STM32F101CBT6

Post by victor_pv » Mon Aug 28, 2017 5:58 pm

garder50 wrote:
Mon Aug 28, 2017 5:21 pm
Hello, I own some Maple-like boards with STM32F101CBT6 (home made).
Is it possible to modify some files to support STM32F101 (128k ROM but only 36MHz no USB) ?
Anybody did it or have some ideas?
Thanks.
Should be possible with pretty much any of the cores, but we also found that Chinese cloners of the STLink were using STM32F101 instead of F103, using USB, and possibly running at 72Mhz. So you could try to run the current cores like they are without modification and see if they work.
Roger recently added an option to compile the libmaple core to run at 48Mhz. You can try that option if running at the full 72Mhz doesn't work.
Otherwise there should be several threads showing what files have the code to set the PLL multipliers. Do a search for PLL, PLL multiplier and things like that to find it, and you should be able to adjust to run at any speed.
The USB peripheral works only when the MCU runs at 48 or 72Mhz because of a clock divider setting limitation, so if you want to try using USB in the F101, your need to use those speeds, but if you dont care to try to use USB, then any 36Mhz should be possible adjusting the PLL settings.

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

Re: Support STM32F101CBT6

Post by RogerClark » Mon Aug 28, 2017 10:41 pm

I have successfully run both the bootloader and the LibMaple core on a STLink dongle clone which uses a F101

Just use the Generic STM32f103C from the board selection menu

Post Reply