mcu_clock_check
Read STM32 RCC and FLASH_ACR registers to verify real SYSCLK/HCLK/PCLK1/PCLK2 MHz and Flash wait states, with optional expected-SYSCLK comparison.
Instructions
Read STM32 RCC & FLASH_ACR registers to verify real SYSCLK/HCLK/PCLK1/PCLK2 MHz and Flash wait states.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"family": "<family>"
},
"name": "mcu_clock_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| family | Yes | ||
| backend | No | jlink | |
| hse_mhz | No | ||
| mock_json | No | ||
| usb_serial | No | ||
| expect_sysclk_mhz | No |