← Back to Pull requests

fix(CMSIS): MSDK-1532: Fix PT peripheral baseAddress stride in 7 SVDs #1636

Closed
unknown closed this pull request without merging on Oct 12, 2026 11:51 UTC
View on GitHub
unknown unknown commented on Oct 08, 2026 12:46 UTC
Author

Description

Fixes MSDK-1532: All affected devices had Pulse Train (PT) peripheral
instances PT1+ using a 0x10-byte stride in the SVD, instead of the
correct 0x20-byte stride confirmed by CMSIS device headers and UG
memory maps.

Correct PT layout (PTG at base, PT0 at base+0x20, then 0x20 per instance):

PTG  : 0x4003C000          (global registers - unchanged)
PT0  : 0x4003C020          (unchanged - already correct)
PT1  : 0x4003C040          (was 0x4003C030)
PT2  : 0x4003C060          (was 0x4003C040)
PT3  : 0x4003C080          (was 0x4003C050)
PT4  : 0x4003C0A0          (was 0x4003C060)  -- 16-instance devices only
...
PT15 : 0x4003C200          (was 0x4003C110)  -- 16-instance devices only

max32650.svd - PT1-PT15 fixed (16 instances).
Also fixes PT14 which had an additional 9-digit typo (0x4003C1000 -> 0x4003C1E0).
Version 1.0 -> 1.1

max32655.svd - PT1-PT3 fixed (4 instances). Version 1.0 -> 1.1

max32662.svd - PT1-PT3 fixed (4 instances). Version 1.0 -> 1.1

max32680.svd - PT1-PT3 fixed (4 instances). Version 1.0 -> 1.1

max32690.svd - PT1-PT15 fixed (16 instances). Version 1.1 -> 1.2

max78000.svd - PT1-PT3 fixed (4 instances). Version 1.0 -> 1.1

max78002.svd - PT1-PT3 fixed (4 instances). Version 1.0 -> 1.1

SVDconv Results (--strict)

| File | Errors | Warnings | vs. Baseline |
|------|--------|----------|--------------|
| max32650.svd | 32 | 4 | 32 pre-existing; -1 warning |
| max32655.svd | 2 | 81 | 2 pre-existing; -1 warning |
| max32662.svd | 2 | 99 | 2 pre-existing; -1 warning |
| max32680.svd | 0 | 81 | -1 warning |
| max32690.svd | 38 | 148 | 38 pre-existing; -1 warning |
| max78000.svd | 0 | 81 | -1 warning |
| max78002.svd | 32 | 68 | 32 pre-existing; -1 warning |

No new errors or warnings introduced. The -1 warning in each file
reflects elimination of the PT address-overlap warning SVDconv was
reporting due to the incorrect stride.

Checklist Before Requesting Review

  • PR Title follows correct guidelines.

  • Description of changes and all other relevant information.

  • SVDconv run; no new errors or warnings introduced.
  • ---

    🤖 Generated with Claude Code

    Diff: 277 lines (+207 / -70) across 3 files Reviewer: ttmut Review duration: 5704m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 277 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.337
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1636"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.6% (MEDIUM) · Higher = larger blast radius
    39.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.6% · Safe to merge
    15.6%