Skip to content

Commit efd64fc

Browse files
actions-userozersa
authored andcommitted
Update Zephyr MSDK Hal based on MSDK PR: analogdevicesinc/msdk#1087
1 parent 5a3362a commit efd64fc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

MAX/Libraries/CMSIS/Device/Maxim/MAX32572/Source/system_max32572.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ __weak void SystemInit(void)
147147
MXC_SYS_Clock_Select(MXC_SYS_CLOCK_IPO);
148148
SystemCoreClockUpdate();
149149

150+
/* Set CTB clock frequency to match ISO (full speed). */
151+
/* On reset, GCR_CLKCTRL.crpytoclk_duv is set to 1 (ISO/2). */
152+
MXC_GCR->clkctrl &= ~(MXC_F_GCR_CLKCTRL_CRYPTOCLK_DIV);
153+
150154
MXC_SYS_ClockEnable(MXC_SYS_PERIPH_CLOCK_GPIO0);
151155
MXC_SYS_ClockEnable(MXC_SYS_PERIPH_CLOCK_GPIO1);
152156

MAX/msdk_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6a13b39e4b721f46278ba38faef4381875e4b987
1+
69cc1f00235752af4d81d63283e74692d9bc7c20

0 commit comments

Comments
 (0)