Micropython with HSI on F767 for testing

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
Sunnyside
Posts: 1
Joined: Mon Aug 08, 2022 6:04 am

Micropython with HSI on F767 for testing

Post by Sunnyside » Mon Aug 08, 2022 6:23 am

I have a custom board that's based on the nucleo f767. I created board.definition files based on the nucleo files and I am able to get the python console prompt on my uart but Ethernet doesn't work. I think I have a hardware issue with my clock. I am able to use the Ethernet interface only when the hsi is used with a cube IDE project so I would like to try this in my micropython.

How do I setup the board to use HSI?

thanks.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Micropython with HSI on F767 for testing

Post by jimmo » Thu Aug 11, 2022 1:36 am

I'm guessing that there's missing config to make the ethernet peripheral use the HSI. You can use machine.mem32[stm.REGISTER] to access the clock registers at runtime and see that everything is set up the same way as your cube IDE config.

Post Reply