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 for SAI on STM32U5 #243

Open
tyler-gilbert opened this issue Sep 4, 2023 · 2 comments
Open

Add support for SAI on STM32U5 #243

tyler-gilbert opened this issue Sep 4, 2023 · 2 comments

Comments

@tyler-gilbert
Copy link
Contributor

This doesn't follow any of the sai_vx.yaml patterns. It is a new (and hopefully improved) SAI block.

If no one is working on this, I work on getting a PR ready.

@tyler-gilbert
Copy link
Contributor Author

tyler-gilbert commented Sep 4, 2023

Correction. The STM32U5 uses the sai_v4. So no MR needed to add the yaml. I will still verify the register map matches V4 and add it to perimap.

@tyler-gilbert
Copy link
Contributor Author

The datasheet has a mismatch with sai_v4:

enum/CKSTR:
  bit_size: 1
  variants:
    - name: FallingEdge
      description: Data strobing edge is falling edge of SCK
      value: 0
    - name: RisingEdge
      description: Data strobing edge is rising edge of SCK
      value: 1
ckstr

Some discussion here. The ST employee seems to confirm the datasheet is correct.

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

1 participant