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

fix: command sequence for flash spi with dma #370

Merged

Conversation

cassio-lazaro
Copy link
Contributor

Description

According to the WBA manual, the SPI_CR1_CSTART has to be set after the SPI_CR1_SPE to enable the SPI with DMA since the first starts the master transfer while the second enables the peripheral.
In other words, it was starting the transmission with the peripheral disabled.
The solution consists in reorder them.

OBS:
The SPI_CR1_CSTART is a command for WBA family only (until now).

@cassio-lazaro cassio-lazaro requested a review from a team as a code owner August 6, 2024 15:52
@andjordan andjordan merged commit edbd1e3 into philips-software:main Aug 7, 2024
23 checks passed
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

Successfully merging this pull request may close these issues.

2 participants