看到ADC demo有这么一段说明,假如主频时200Mhz,那sram是不是需要设置相应的等待周期
/* If the system clock frequency is higher than 100MHz and SRAM1, SRAM2, SRAM3 or Ret_SRAM is used,
the wait cycle must be set. */
stcSramConfig.u8SramIdx = Sram12Idx | Sram3Idx | SramRetIdx;
stcSramConfig.enSramRC = SramCycle2;
stcSramConfig.enSramWC = SramCycle2;
stcSramConfig.enSramEccMode = EccMode0;
stcSramConfig.enSramEccOp = SramNmi;
stcSramConfig.enSramPyOp = SramNmi;
SRAM_Init(&stcSramConfig);
|