Porting uPy to STM32F446

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
guanabana
Posts: 15
Joined: Mon Jan 04, 2016 8:45 pm

Porting uPy to STM32F446

Post by guanabana » Tue Jan 26, 2016 9:28 pm

Has anyone had any luck porting micropython to one of the 180MHz versions of the STM32F4 such as STM32F446, STM32F427, STM32F429, STM32F469?

Looks like the 446 is almost pin-compatible with the STM32F405RGT6 that is already on the pyboard so I imagine it would only need a very minimal alteration and recompile. I would give this a shot myself if someone could point me to a step by step how-to guide.

Seems like this would be an easy way to eek out a bit more speed out of the pyboard.

Thanks,
Steve

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Porting uPy to STM32F446

Post by dhylands » Tue Jan 26, 2016 9:34 pm

There is a port for the 429 already. I have some 427's and a 469 that I eventually want to get ports for.

guanabana
Posts: 15
Joined: Mon Jan 04, 2016 8:45 pm

Re: Porting uPy to STM32F446

Post by guanabana » Tue Jan 26, 2016 9:47 pm

I guess I am most interested specifically in the STM32F446RET6 so that I could rework one onto the existing micro python board. Any chance someone has got that working yet?

chrismas9
Posts: 152
Joined: Wed Jun 25, 2014 10:07 am

Re: Porting uPy to STM32F446

Post by chrismas9 » Fri Jan 29, 2016 3:19 pm

I guess I am most interested specifically in the STM32F446RET6
The F446 does not have PB11. It requires another cap in the pin for the core voltage regulator. The F411 is the same. Hence you might find it easier to modify pyblite which uses F411. You will loose I2C from pins Y9 and Y10 because the alternate function mapping is different between F411 and F446. You would have lost it anyway on pyboard without PB11.

Post Reply