开发板使用的是GD32H757J-START搭载GD32H757VMJ6作为主控制器,
不连接开发板只是软件调试,运行128点FFT代码后,states数为22280,
连接开发板之后调试,states数为1902569,
两次调试不同只是软件调试修改了system_gd32h7xx.c文件,
/* wait until PLL0 is stable */
while(0U == (RCU_CTL & RCU_CTL_PLL0STB)) {
}
// /* wait until PLL0 is selected as system clock */
// while(RCU_SCSS_PLL0P != (RCU_CFG0 & RCU_CFG0_SCSS)) {
// }
}
软件调试时注释了这些语句
|