Skip to content
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

SPI Examples? #27

Open
codewitch-honey-crisis opened this issue Feb 17, 2024 · 1 comment
Open

SPI Examples? #27

codewitch-honey-crisis opened this issue Feb 17, 2024 · 1 comment

Comments

@codewitch-honey-crisis
Copy link

I've been trying to get SPI to work (with DMA) on this device using your bare metal code. I've imported the HAL declarations and implementations for SPI but I cannot figure out the clocks, the dividers and the DMA setup, all of which is just different enough from what I'm used to that it's losing me.

And I'm pretty easily lost at this point admittedly, being fairly new to ARMs and brand new to Cortex As.

I was trying to use STM32CubeMX to cheat my way through some of it, but it's not working out. Also tried decoding devicetrees - which I can read a little of due to using zephyr, but I'm not getting very far.

@young-sea
Copy link

It is recommended that you use STM32CubeH7 to generate code for reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants