fix(CMSIS,PeriphDrivers): Fix multiple SVD issues for me30 (MAX32657, MAX32658) #1631
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 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.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1631"
general
weight: 0.35
ttmut
Description
Fixes 18 Jira-tracked SVD issues across nine me30 peripheral SVD files and the
combined
max32657.svd. All peripheral SVD changes are mirrored inmax32657.svd; device version bumped from 1.0 to 1.1.Each Jira ticket has its own commit for easier per-change review:
| Commit | Ticket | Summary |
|--------|--------|---------|
| 1f320b7 | MSDK-1486 | Fix ICC_HBOUND description and REGCTRL.EXC bitOffset |
| d9ad18e | MSDK-1488 | Add missing ICC_CTRL fields BUSY and CRB_FLUSH_EN |
| edbb22c | MSDK-1489 | Fix PWRSEQ SRAMRET_EN description |
| cd86bbe | MSDK-1504 | Fix multiple GCR SVD errors in gcr_me30 |
| 56719a9 | MSDK-1505 | Fix PWRSEQ LPWKFL0/LPWKEN0 pin count and W1C flags |
| 249340a | MSDK-1508 | Fix MCR description typos and add OUTEN.PDOWNEN |
| 30aac2a | MSDK-1509 | Add write-only access to MCR RST register |
| 4b0525d | MSDK-1510 | Fix MCR CTRL.CLKSEL enum value 2 name |
| 7115bdd | MSDK-1512 | Add explicit read-write access to SIR BTLELDO registers |
| 0edd105 | MSDK-1516 | Fix FCR CTRL I3CDGENx enum polarity and add resetValue |
| 670651e | MSDK-1517 | Fix FCR AUTOCAL0 enum names, resetValue, and TRIM_OUT access |
| 59fa2cf | MSDK-1519 | Model FCR INTFL ERFO_RDY and FRQCNT as write-1-to-clear |
| d2a7f63 | MSDK-1520 | Add FCR FRQCNTCTRL CMP_CLKSEL RTC_ALT and fix START description |
| 466205e | MSDK-1476 | Fix TMR4/5 base addresses and DIV_BY_4096 descriptions |
| 60b685f | MSDK-1477 | Fix SPI base address |
| 8265561 | MSDK-1523 | Document UART CTRL STOPBITS field values |
| 7e79b29 | MSDK-1524 | Model UART INTFL fields as write-1-to-clear |
---
icc_reva_me30.svd (MSDK-1486, MSDK-1488)
REGION[%s].HBOUNDdescription (was copy-pasted from a DMA register)ICC_REGCTRL.EXCbitOffset: 8 → 16 (RTL writes/reads EXC at bits [23:16], not [15:8])CRB_FLUSH_ENfield at bit 24 ofICC_CTRL(R/W, reset 0)BUSYstatus field at bit 7 ofICC_CTRL(read-only)gcr_me30.svd (MSDK-1504)
SYSCTRL.ICC_FLUSHdescription: Cortex-M4 → Cortex-M33SYSCTRL.BSTAPEN(bit 0) andSYSCTRL.RR(bit 1) fieldsSYSCTRL.CHKRES(bit 15)<access>read-only</access>(HW-set result bit); fix trailing double-period typoPM.MODEdescription: "two bit field" → "4-bit field" (field is 4 bits wide)<access>read-only</access>toSYSST.ICELOCK(combinational, no write path)PCLKDIS1.ICCclock-disable field at bit 11 (RTL-confirmed:G_GCR_CLKDIS1_ICACHE)EVENTEN.TXfield at bit 2 (G_GCR_EVENTEN_MAX=2; bit 2 not implemented in ME30 RTL)modifiedWriteValues=oneToCleartoECCERR.FLASHandECCCED.FLASH(W1C flags)ECCADDR(DADDR/DB/DE/TADDR/TB/TE) with asingle read-only 32-bit flash byte-address field; ME30 cache ECC is disabled (
C_ECC_EN=1'b0)BTLELDOCTRLdelay-status bits [15:12] (BB_EN_DLY,RF_EN_DLY,RF_BP_EN_DLY,BB_BP_EN_DLY)<access>read-only</access>(write path captures onlyPWDATA[11:0])BTLELDODLYBB_CNT/RF_CNTlabels: bits [16:8] = RF LDO delay (VDDA_RF), bits [28:20] = BB LDOdelay (
VDDA_BB), per UG Table 4-37 and RTL signal namesCLKCTRL.SYSCLK_DIVdescription: remove stale PLL0 reference (MAX32657 is IPO-based, no PLL)pwrseq_me30.svd (MSDK-1489, MSDK-1505)
SRAMRET_ENdescription (removed stale "two bits"/"RREGEN" references)LPWKFL0.PINSandLPWKEN0.PINSbitWidth: 12 → 14 (GPIO0 has 14 pins)write-onlyaccess andmodifiedWriteValues=oneToCleartoLPWKFL_CLRmodifiedWriteValues=oneToCleartoLPWKFL0.PINS,LPPWST.BACKUP, andLPPWST.RESET(W1C status flags)sir_me30.svd (MSDK-1512)
read-writeaccess toBTLELDO_BBandBTLELDO_RFregisters(overrides peripheral-level
read-only— these registers are R/W in RTL)mcr_me30.svd (MSDK-1508, MSDK-1509, MSDK-1510)
write-onlyaccess toRSTregister (no read path)CTRL.CLKSELdescription typo ("Clcok" → "Clock")CTRL.CLKSELenum value 2:RTC_IN_DIV8→GPIO_P0_12(P0.12 is undivided on the 32kHz path)BYPASS1description (was a copy-paste ofBYPASS0)OUTEN.PDOWNENfield at bit 1 (vestigial, not connected to logic)fcr_me30.svd (MSDK-1516, MSDK-1517, MSDK-1519, MSDK-1520)
CTRL.I3CDGEN0/1enum polarity (bypass control, not enable) and addCTRLresetValueAUTOCAL0enum copy-pastes (GAIN_INV,ATOMIC); addTRIM_OUTread-only access; modelATOMICself-clear; add resetValuemodifiedWriteValues=oneToCleartoINTFL.ERFO_RDYandINTFL.FRQCNTFRQCNTCTRL.CMP_CLKSELvalue 1 (RTC_ALT); modelSTARTself-clearing triggerspi_reva_me30.svd (MSDK-1477)
<baseAddress>:0x400BE000→0x40046000(per UG Table 3-24 and RTL;wrong address caused silent bus faults or hard faults on any SPI register access)
uart_revb_me30.svd (MSDK-1523, MSDK-1524)
enumeratedValuestoCTRL.STOPBITSand update description to documentthe CHAR_SIZE-dependent behavior: 1.5 stop bits for 5-bit characters, 2 for 6/7/8-bit
modifiedWriteValues=oneToClearto all eightINTFLfields (RTL is W1C on all flags)INTEN.CTS_EVdescription: "Error" → "Event"max32657.svd only (MSDK-1476)
<baseAddress>:0x50080C00→0x50014000(per UG Table 3-24 and RTL)<baseAddress>:0x50081000→0x50015000(per UG Table 3-24 and RTL)SVDconv Validation
max32657.svd: 0 errors, 23 warnings — reduced from 25: the TMR4/TMR5 address-overlap warning is eliminated by the MSDK-1476 fix; remaining warnings are pre-existing (intentional AES register aliases, minor documentation gaps).*_me30.svd): 4 errors / 2 warnings each, unchanged from baseline. These are structural artefacts of the fragment format (missing<peripherals>wrapper required by the SVD schema); content validation is correctly done via the combinedmax32657.svd.Checklist Before Requesting Review
---
🤖 Generated with Claude Code