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

Add support of SPI API for STM32H5 family #324

Merged
merged 24 commits into from
Sep 8, 2024

Conversation

JohnK1987
Copy link
Member

Summary of changes

This PR will add support of SPI API for STM32H5 family

Impact of changes

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

I performed just test with SD card read/write.

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[x] Tests / results supplied as part of this PR

@multiplemonomials
Copy link
Collaborator

With the DMA fix plus the SPI clock change, the test results are:

  • spi-basic passes completely
  • spi-microsd works for the serial implementation but infinite hangs for interrupt and DMA transfers
  • spi-slave-comms passes except for the test cases which use SPI modes 1 and 2

@JohnK1987
Copy link
Member Author

  • spi-microsd works for the serial implementation but infinite hangs for interrupt and DMA transfers
  • spi-slave-comms passes except for the test cases which use SPI modes 1 and 2

Ok, and is this related just to STM32H5 or complete STM32?

@multiplemonomials
Copy link
Collaborator

I'm going to go ahead and merge this for now -- though it still is exhibiting some issues with the DMA SPI stuff, I think that that is more to do with the DMA code and not with this specific platform port specifically.

@multiplemonomials multiplemonomials merged commit fa86c2b into mbed-ce:master Sep 8, 2024
10 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