We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4040618 commit d72b902Copy full SHA for d72b902
README.md
@@ -125,3 +125,15 @@ conflict resolution. See below list with the proposed solution:
125
126
- i2c have different implement than current gd32 i2c driver. no need to patch
127
upper i2c speed requirement.
128
+
129
+- gd32a50x
130
131
+ - `SystemCoreClockUpdate` function contain an `pllmf` calculate error.
132
+ Fix by change `0xFU` to `RCU_CFG0_PLLMF`:
133
+ ``` diff
134
+ /* PLL multiplication factor */
135
+ pllmf = GET_BITS(RCU_CFG0, 18, 21);
136
+ pllmf += ((RCU_CFG0 & RCU_CFG0_PLLMF_4) ? 15U : 0U);
137
+ - pllmf += ((0xFU == (RCU_CFG0 & RCU_CFG0_PLLMF)) ? 1U : 2U);
138
+ + pllmf += ((RCU_CFG0_PLLMF == (RCU_CFG0 & RCU_CFG0_PLLMF)) ? 1U : 2U);
139
+ ```
0 commit comments