Added support for BlackPill F411CE#890
Conversation
Added support for WeAct V2.0 STM32F411CEU6 dev. board a.k.a. BlackPill F411CE.
...AStyle again :/
ag88
left a comment
There was a problem hiding this comment.
the pll parameters m, n, p, q
RCC_OscInitStruct.PLL.PLLM = 12;
RCC_OscInitStruct.PLL.PLLN = 96;
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
RCC_OscInitStruct.PLL.PLLQ = 4;
then using my python script
https://www.stm32duino.com/viewtopic.php?f=41&t=78
FHSE: 25 m: 25 n: 192 p: 2 (RCC_PLLP_DIV2) q: 4 fusb: 48.0 fcpu: 96.0
FHSE: 25 m: 25 n: 384 p: 4 (RCC_PLLP_DIV4) q: 8 fusb: 48.0 fcpu: 96.0
FHSE: 25 m: 25 n: 432 p: 4 (RCC_PLLP_DIV4) q: 9 fusb: 48.0 fcpu: 108.0
FHSE: 25 m: 50 n: 384 p: 2 (RCC_PLLP_DIV2) q: 4 fusb: 48.0 fcpu: 96.0
FHSE didn't seem to fall in line with a 25mhz crystal
https://www.stm32duino.com/viewtopic.php?p=938#p938
https://www.stm32duino.com/viewtopic.php?p=950#p950
currently the f411 pill boards are apparently shipped with a 25mhz crystal
https://www.aliexpress.com/item/4000103610226.html
|
well, i work the numbers based on your pll dividers: which would hit the 48mhz required to keep usb working |
Change PLL dividers to meet 48 MHz USB clock.
|
You're right I wasn't aware of this. Yet USB was working fine with 50 MHz clock, at least for a short while, as I didn't do any long term tests. I have changed the clock according to your suggestions. |
|
thanks! i think users would appreciate it as i think even at 50 mhz, usb 'may' work. |
|
This one is replaced by #909 |

Added support for WeAct V2.0 STM32F411CEU6 dev. board a.k.a. BlackPill F411CE.