fix(CMSIS,PeriphDrivers): MSDK-1343: Add missing BTLE clock enable support for MAX32655, MAX32657, and MAX32680 #1616
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 206 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.319
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1616"
general
weight: 0.35
ttmut
Description
Add the missing
MXC_SYS_PERIPH_CLOCK_BTLEenumeration value tomxc_sys_periph_clock_tfor MAX32655, MAX32657, and MAX32680, allowing callers to useMXC_SYS_ClockEnable/MXC_SYS_ClockDisableto control the Bluetooth clock on these parts.The
MXC_F_GCR_PCLKDIS1_BTLE_POS(bit 0 ofPCLKDIS1) hardware register bit was already present in thegcr_regs.hfor MAX32655 and MAX32680, but was missing entirely for MAX32657. The correspondingMXC_SYS_PERIPH_CLOCK_BTLEenum value was absent from all three parts'mxc_sys.hfiles. The BTLE bitfield at bit 0 ofPCLKDIS1was also missing frommax32657.svdandgcr_me30.svd.This fix is consistent with the existing implementation for MAX32665 and MAX32690, and is documented in the MAX32655, MAX32665/MAX32666, and MAX32680 user guides (GCR_PERCKCN1/GCR_PCLKDIS1 bit 0).
Files changed:
Libraries/CMSIS/Device/Maxim/MAX32657/Include/gcr_regs.h– addMXC_F_GCR_PCLKDIS1_BTLE_POSand maskLibraries/CMSIS/Device/Maxim/MAX32657/Include/max32657.svd– add BTLE field at bit 0 of PCLKDIS1Libraries/PeriphDrivers/Include/MAX32655/mxc_sys.h– addMXC_SYS_PERIPH_CLOCK_BTLELibraries/PeriphDrivers/Include/MAX32657/mxc_sys.h– addMXC_SYS_PERIPH_CLOCK_BTLELibraries/PeriphDrivers/Include/MAX32680/mxc_sys.h– addMXC_SYS_PERIPH_CLOCK_BTLELibraries/PeriphDrivers/Source/SYS/SVD/gcr_me30.svd– add BTLE field at bit 0 of PCLKDIS1Checklist Before Requesting Review