Explorar o código

Merge pull request #1381 from uestczyh222/master

[Bsp][i.mx rt] SDIO Upper speed
Bernard Xiong %!s(int64=7) %!d(string=hai) anos
pai
achega
70f7ea2adc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bsp/imxrt1052-evk/drivers/drv_sdio.c

+ 1 - 1
bsp/imxrt1052-evk/drivers/drv_sdio.c

@@ -56,7 +56,7 @@ static int enable_log = 1;
 
 #define USDHC_ADMA_TABLE_WORDS      (8U)        /* define the ADMA descriptor table length */
 #define USDHC_ADMA2_ADDR_ALIGN      (4U)        /* define the ADMA2 descriptor table addr align size */
-#define IMXRT_MAX_FREQ              (400 * 1000u)
+#define IMXRT_MAX_FREQ              (50UL * 1000UL * 1000UL)
     
 #define USDHC_ADMA_TABLE_WORDS      (8U)        /* define the ADMA descriptor table length */
 #define USDHC_ADMA2_ADDR_ALIGN      (4U)        /* define the ADMA2 descriptor table addr align size */