-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create ospi instance for stm32h7b0 #3097
Comments
OCTOSPIM is a new peripheral that sits on top of OSPI1 and OSPI2 and does some kind of pin muxing. So, fixing this requires adding support in embassy-stm32 for configuring the OCTOSPIM I think. |
Is there any reference about doing this type of configuring? I'd like to fix it if possible |
check the Reference Manual for your chip, it explains how OCTOSPIM works. |
Should I implement a separate peripheral |
I'm trying to use stm32h7b0's octospi peripheral as the following:
But the compiler reports all the pins are not impl for
OCTOSPI1
. I checked thestm32-data-generated
, it seems that the pins are defined inOCTOSPIM
peripheral, but notOCTOSPI1
andOCTOSPI2
:https://github.com/embassy-rs/stm32-data-generated/blob/e30c7694016fa9a326f153fff84dedb0c02b8676/data/chips/STM32H7B0VB.json#L4147-L4235
However,
Ospi::new_quadspi
doesn't acceptp.OCTOSPIM
as theperi
. Is there any method to fix it?---- Attached: parts of the compiler error
The text was updated successfully, but these errors were encountered: