Re: Bluepill F4 board, anyone still working on it?
Posted: Sun Jan 05, 2020 2:35 pm
looks interesting, for the variant
try both the PILL_401 variant
https://github.com/stm32duino/Arduino_C ... ILL_F401XX
as well as the NUCLEO F411 variant
https://github.com/stm32duino/Arduino_C ... LEO_F411RE
for the nucleo F411 variant, would need to re-do the clocks pill board is 25 Mhz while nucleo is 8 Mhz
viewtopic.php?f=41&p=398#p393
https://github.com/stm32duino/Arduino_C ... t.cpp#L150
but i'm guessing that F411 variant may get a better fit (likely has 'more' things than is available on F411CC)
but it would take to reduce the 'unnecessary things' e.g. ld script sram start and size, flash start and size
non-available pins etc
if you start with the PILL_401 variant
you could try to tune the clocks as well as the clocks i set for the 'overclocked' F401 set is literally the normal running frequency of F411 (96 Mhz)
off by 4mhz (100mhz max) as at 100mhz there are no prescalers which would keep usb running at 48mhz
viewtopic.php?f=41&p=398#p393
viewtopic.php?f=14&t=9&start=30#p392
the other things are to look in the ld script, the sram start address and size as well as flash start address and size
the other things my guess would be the pin maps to get the additional more 2 spi and sdio
my guess is to reach for the F411 reference manual and specs sheets comparing between the nucleo f411 variant and pill 401 variant to see which fits in which
try both the PILL_401 variant
https://github.com/stm32duino/Arduino_C ... ILL_F401XX
as well as the NUCLEO F411 variant
https://github.com/stm32duino/Arduino_C ... LEO_F411RE
for the nucleo F411 variant, would need to re-do the clocks pill board is 25 Mhz while nucleo is 8 Mhz
viewtopic.php?f=41&p=398#p393
https://github.com/stm32duino/Arduino_C ... t.cpp#L150
but i'm guessing that F411 variant may get a better fit (likely has 'more' things than is available on F411CC)
but it would take to reduce the 'unnecessary things' e.g. ld script sram start and size, flash start and size
non-available pins etc
if you start with the PILL_401 variant
you could try to tune the clocks as well as the clocks i set for the 'overclocked' F401 set is literally the normal running frequency of F411 (96 Mhz)
off by 4mhz (100mhz max) as at 100mhz there are no prescalers which would keep usb running at 48mhz
viewtopic.php?f=41&p=398#p393
viewtopic.php?f=14&t=9&start=30#p392
the other things are to look in the ld script, the sram start address and size as well as flash start address and size
the other things my guess would be the pin maps to get the additional more 2 spi and sdio
my guess is to reach for the F411 reference manual and specs sheets comparing between the nucleo f411 variant and pill 401 variant to see which fits in which