Content-Length: 518929 | pFad | http://github.com/stm32-rs/stm32-rs/pull/613/files/cb707dbf7c64b3bd743aa1b6d129ca6f8500a0df

57 [stm32f7] Fix RCC registers by maximeborges · Pull Request #613 · stm32-rs/stm32-rs · GitHub
Skip to content

[stm32f7] Fix RCC registers #613

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 4 commits into from
Sep 28, 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
3 changes: 2 additions & 1 deletion devices/common_patches/f730_f7x2_f7x3_common.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_include:
- f730_f7x2_f7x3_syscfg.yaml
- f730_f7x2_f7x3_tim.yaml
- f730_f7x2_f7x3_tim.yaml
- f730_f7x2_f7x3_rcc.yaml
21 changes: 21 additions & 0 deletions devices/common_patches/f730_f7x2_f7x3_rcc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
RCC:
APB1RSTR:
_delete:
- SPDIFRXRST
- I2C4RST
- CAN2RST
- CECRST
AHB1LPENR:
_delete:
- ETH*
- DMA2DLPEN
- GPIOKLPEN
- GPIOJLPEN
APB1LPENR:
_delete:
- CAN2LPEN
_add:
RTCAPBLPEN:
description: RTCAPB clock enable during Sleep mode
bitOffset: 10
bitWidth: 1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_include:
- f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
- f745_f750_f765_f7x6_f7x7_f7x9_syscfg.yaml
- f745_f750_f765_f7x6_f7x7_f7x9_syscfg.yaml
- f745_f750_f765_f7x6_f7x7_f7x9_rcc.yaml
19 changes: 19 additions & 0 deletions devices/common_patches/f745_f750_f765_f7x6_f7x7_f7x9_rcc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
RCC:
AHB1ENR:
_modify:
CCMDATARAMEN:
name: DTCMRAMEN
APB1ENR:
_modify:
LPTMI1EN:
name: LPTIM1EN
AHB1LPENR:
_add:
AXILPEN:
description: AXI to AHB bridge clock enable during Sleep mode
bitOffset: 13
bitWidth: 1
DTCMLPEN:
description: DTCM RAM interface clock enable during Sleep mode
bitOffset: 20
bitWidth: 1
77 changes: 77 additions & 0 deletions devices/common_patches/f765_f7x7_f7x9_common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
RCC:
APB1RSTR:
_add:
CAN3RST:
description: CAN 3 reset
bitOffset: 13
bitWidth: 1
APB2RSTR:
_add:
MDIORST:
description: MDIO reset
bitOffset: 30
bitWidth: 1
DFSDM1RST:
description: DFSDM 1 reset
bitOffset: 29
bitWidth: 1
DSIRST:
description: DSI reset
bitOffset: 27
bitWidth: 1
AHB2ENR:
_add:
JPEGEN:
description: JPEG enable
bitOffset: 1
bitWidth: 1
APB1ENR:
_add:
CAN3EN:
description: CAN 3 enable
bitOffset: 13
bitWidth: 1
APB2ENR:
_add:
MDIOEN:
description: MDIO clock enable
bitOffset: 30
bitWidth: 1
DFSDM1EN:
description: DFSDM1 clock enable
bitOffset: 29
bitWidth: 1
DSIEN:
description: DSI clock enable
bitOffset: 27
bitWidth: 1
AHB2LPENR:
_add:
JPEGLPEN:
description: JPEG module enabled during Sleep mode
bitOffset: 1
bitWidth: 1
APB1LPENR:
_add:
CAN3LPEN:
description: CAN 3 clock enable during Sleep mode
bitOffset: 13
bitWidth: 1
APB2LPENR:
_add:
MDIOLPEN:
description: MDIO clock enable during Sleep mode
bitOffset: 30
bitWidth: 1
DFSDM1LPEN:
description: DFSDM1 clock enable during Sleep mode
bitOffset: 29
bitWidth: 1
DSILPEN:
description: DSI clock enable during Sleep mode
bitOffset: 27
bitWidth: 1
SDMMC2LPEN:
description: SDMMC2 clock enable during Sleep mode
bitOffset: 7
bitWidth: 1
9 changes: 6 additions & 3 deletions devices/stm32f745.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ SYSCFG:
MEMRMP:
_delete:
- FB_MODE
#
#RCC:
# DCKCFGR1:
# _delete:
# - ADFSDM1SEL
# - DFSDM1SEL

_include:
- common_patches/f7_interrupts.yaml
Expand Down Expand Up @@ -118,7 +124,6 @@ _include:
- common_patches/f7_rcc_rename_dckcfgr.yaml
- common_patches/f7_rcc_dckcfgr.yaml
- common_patches/f7_rcc_dckcfgr_sdmmc1.yaml
- common_patches/f7_rcc_dckcfgr_RM0410.yaml
- ../peripherals/dac/dac_wavegen.yaml
- ../peripherals/dac/dac_common_2ch.yaml
- ../peripherals/dac/dac_dmaudr.yaml
Expand All @@ -127,8 +132,6 @@ _include:
- ../peripherals/rcc/rcc_v2_i2s_pllp.yaml
- ../peripherals/rcc/rcc_v2_sai_pllr.yaml
- ../peripherals/rcc/rcc_v2_dckcfgr_saidivr.yaml
- ../peripherals/rcc/rcc_v2_dckcfgr_dfsdm_f7.yaml
- ../peripherals/rcc/rcc_v2_dckcfgr_dsisel.yaml
- ../peripherals/rcc/rcc_v2_dckcfgr2_cecsel.yaml
- ../peripherals/rcc/rcc_merge_rtcsel.yaml
- ../peripherals/gpio/gpio_v2.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32f765.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ _include:
- common_patches/tim/v2/f7.yaml
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
- common_patches/f745_f750_f765_f7x6_f7x9_tim.yaml
- common_patches/f765_f7x7_f7x9_common.yaml
- common_patches/f765_f7x6_f7x9_common.yaml
- common_patches/f765_f7x7_f7x9_syscfg.yaml
- ../peripherals/tim/v2/ccm.yaml
Expand Down
13 changes: 1 addition & 12 deletions devices/stm32f7x7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,6 @@ FLASH:
name: OPTKEYR

RCC:
AHB1ENR:
_add:
DTCMRAMEN:
description: DTCM data RAM clock enable
bitOffset: 20
bitWidth: 1
APB2ENR:
_add:
MDIOEN:
description: MDIO clock enable
bitOffset: 30
bitWidth: 1
PLLCFGR:
_add:
PLLR:
Expand Down Expand Up @@ -325,6 +313,7 @@ _include:
- common_patches/tim/tim_ccr.yaml
- common_patches/f7_tim.yaml
- common_patches/tim/v2/f7.yaml
- common_patches/f765_f7x7_f7x9_common.yaml
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
- common_patches/f765_f7x7_f7x9_syscfg.yaml
- ../peripherals/tim/v2/ccm.yaml
Expand Down
1 change: 1 addition & 0 deletions devices/stm32f7x9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ _include:
- common_patches/tim/tim_ccr.yaml
- common_patches/f7_tim.yaml
- common_patches/tim/v2/f7.yaml
- common_patches/f765_f7x7_f7x9_common.yaml
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
- common_patches/f745_f750_f765_f7x6_f7x9_tim.yaml
- common_patches/f765_f7x6_f7x9_common.yaml
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/613/files/cb707dbf7c64b3bd743aa1b6d129ca6f8500a0df

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy