次级引导加载程序示例的启动代码绕过了 sysclock 初始化。 我想弄清楚为什么这样做。 这不会导致应用程序以较低的系统频率运行吗? 请参阅下面的 SBL 代码。
// Initialize the SOC configuration
memset ((void *)&socCfg, 0, sizeof(SOC_Cfg));
// Populate the SOC configuration
socCfg.clockCfg = SOC_SysClock_BYPASS_INIT;
// MPU is configured by SBL. Bypass the default configuration.
socCfg.mpuCfg = SOC_MPUCfg_BYPASS_CONFIG;
// DSS MUST be in halted state during SBL execution. Failure to do so will cause a crash.
socCfg.dssCfg = SOC_DSSCfg_HALT;
// Initialize the SOC Module. The default MPU configuration is bypassed.
gSblMCB.socHandle = SOC_init (&socCfg, &errCode);