Skip to content

Commit d1ed0f7

Browse files
xjy198903Guozhanxin
authored andcommitted
完善sdram引脚定义
1 parent a602445 commit d1ed0f7

File tree

1 file changed

+6
-0
lines changed
  • bsp/imxrt/imxrt1060-nxp-evk/board/MCUX_Config

1 file changed

+6
-0
lines changed

bsp/imxrt/imxrt1060-nxp-evk/board/MCUX_Config/pin_mux.c

+6
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,9 @@ void BOARD_InitSemcPins(void) {
641641
IOMUXC_SetPinMux(
642642
IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 is configured as SEMC_DM01 */
643643
0U); /* Software Input On Field: Input Path is determined by functionality */
644+
IOMUXC_SetPinMux(IOMUXC_GPIO_EMC_39_SEMC_DQS, 1U);
645+
IOMUXC_SetPinMux(IOMUXC_GPIO_EMC_40_SEMC_RDY, 0U);
646+
IOMUXC_SetPinMux(IOMUXC_GPIO_EMC_41_SEMC_CSX00, 0U);
644647
IOMUXC_SetPinConfig(
645648
IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 PAD functional properties : */
646649
0x10B0u); /* Slew Rate Field: Slow Slew Rate
@@ -1031,6 +1034,9 @@ void BOARD_InitSemcPins(void) {
10311034
Pull / Keep Select Field: Keeper
10321035
Pull Up / Down Config. Field: 100K Ohm Pull Down
10331036
Hyst. Enable Field: Hysteresis Disabled */
1037+
IOMUXC_SetPinConfig(IOMUXC_GPIO_EMC_39_SEMC_DQS, 0x10B0u);
1038+
IOMUXC_SetPinConfig(IOMUXC_GPIO_EMC_40_SEMC_RDY, 0x10B0u);
1039+
IOMUXC_SetPinConfig(IOMUXC_GPIO_EMC_41_SEMC_CSX00, 0x10B0u);
10341040
}
10351041

10361042

0 commit comments

Comments
 (0)