Content-Length: 432396 | pFad | http://github.com/stm32-rs/stm32-rs/pull/640/files/29fc34e74f972c3989e9e1085835a3fbfa8a58d6

03 H7 RM0433: Add NOMCK at SAI [AB]CR1 bit 19 and remove MCKEN by richardeoin · Pull Request #640 · stm32-rs/stm32-rs · GitHub
Skip to content

H7 RM0433: Add NOMCK at SAI [AB]CR1 bit 19 and remove MCKEN #640

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

Merged
merged 2 commits into from
Oct 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions devices/common_patches/h7_sai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
_modify:
MCKDIV:
bitWidth: 6
NOMCK:
name: NODIV
_add:
MCKEN:
description: Master clock generation enable
bitOffset: 27
NODIV:
description: No fixed divider between MCLK and FS
bitOffset: 19
bitWidth: 1
AFRCR:
_modify:
Expand All @@ -18,12 +16,10 @@
_modify:
MCKDIV:
bitWidth: 6
NOMCK:
name: NODIV
_add:
MCKEN:
description: Master clock generation enable
bitOffset: 27
NODIV:
description: No fixed divider between MCLK and FS
bitOffset: 19
bitWidth: 1
BFRCR:
_modify:
Expand Down
19 changes: 19 additions & 0 deletions devices/common_patches/h7_sai_mcken.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Applies to H7 RM0399, RM0455, RM0468

"SAI*":
ACR1:
_delete:
- NOMCK
_add:
MCKEN:
description: Master clock generation enable
bitOffset: 27
bitWidth: 1
BCR1:
_delete:
- NOMCK
_add:
MCKEN:
description: Master clock generation enable
bitOffset: 27
bitWidth: 1
1 change: 1 addition & 0 deletions devices/stm32h735.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ _include:
- common_patches/h7_adc_boost_rev_v.yaml
- common_patches/h7_octospi.yaml
- common_patches/h7_sai.yaml
- common_patches/h7_sai_mcken.yaml
- common_patches/h735_747_753_dfsdm.yaml
- common_patches/h7_spdifrx.yaml
- common_patches/h7_otg.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h747cm4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ _include:
- common_patches/h7_dualcore_flash.yaml
- common_patches/h7_hsicfgr_csicfgr_rev_v.yaml
- common_patches/h7_sai.yaml
- common_patches/h7_sai_mcken.yaml
- common_patches/h7_spdifrx.yaml
- common_patches/h7_otg.yaml
- common_patches/sai/sai_v1.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h747cm7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ _include:
- common_patches/h7_dualcore_flash.yaml
- common_patches/h7_hsicfgr_csicfgr_rev_v.yaml
- common_patches/h7_sai.yaml
- common_patches/h7_sai_mcken.yaml
- common_patches/h735_747_753_dfsdm.yaml
- common_patches/h7_spdifrx.yaml
- common_patches/h7_otg.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32h7b3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ _include:
- common_patches/h7_adc_boost_rev_v.yaml
- common_patches/h7_octospi.yaml
- common_patches/h7_sai.yaml
- common_patches/h7_sai_mcken.yaml
- common_patches/h7_spdifrx.yaml
- common_patches/h7_otg.yaml
- common_patches/flash/flash_dual_bank.yaml
Expand Down
6 changes: 3 additions & 3 deletions peripherals/sai/sai.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"SAI,SAI?":
"*CR1":
#MCKDIV:
NODIV:
MasterClock: [0, "Master clock generator is enabled"]
NoDiv: [1, "No divider used in the clock generator (in this case Master Clock Divider bit has no effect)"]
NOMCK,NODIV:
MasterClock: [0, "MCLK output is enabled. Forces the ratio between FS and MCLK to 256 or 512 according to the OSR value"]
NoDiv: [1, "MCLK output enable set by the MCKEN bit (where present, else 0). Ratio between FS and MCLK depends on FRL."]
DMAEN:
Disabled: [0, "DMA disabled"]
Enabled: [1, "DMA enabled"]
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/stm32-rs/stm32-rs/pull/640/files/29fc34e74f972c3989e9e1085835a3fbfa8a58d6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy