On the stm32h7b3i-dk port, how do I use the spi and gpio pins? #11770
Unanswered
4riceotter
asked this question in
STM32 / Pyboard
Replies: 1 comment 6 replies
-
@4riceotter What have you tried so far? https://docs.micropython.org/en/latest/library/machine.Pin.html On stm32, you can specify pins either by their CPU name (e.g. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, All,
I was able to to get started with micropython on the stm32h7b3i-dk board. Borrowing from some examples from the nucleo-stm32h743i blog,
I got the following working to blink the two LED's on board with a timer:
or the User switch:
But how do I use the on-board GPIO and SPI pins? With my previous micropython experience on the Raspberry Pi Pico, the micropython doc tells me which pins I can use for the SPI ports, and all available GPIO pins are addressable by their names. I tried a few guesses on the GPIO pin names, but they returned with errors. Any ideas?
Benjamin
Beta Was this translation helpful? Give feedback.
All reactions