Skip to content

Commit

Permalink
完善sdram引脚定义
Browse files Browse the repository at this point in the history
  • Loading branch information
xjy198903 authored and Guozhanxin committed Jun 21, 2023
1 parent a602445 commit d1ed0f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bsp/imxrt/imxrt1060-nxp-evk/board/MCUX_Config/pin_mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,9 @@ void BOARD_InitSemcPins(void) {
IOMUXC_SetPinMux(
IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 is configured as SEMC_DM01 */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinMux(IOMUXC_GPIO_EMC_39_SEMC_DQS, 1U);
IOMUXC_SetPinMux(IOMUXC_GPIO_EMC_40_SEMC_RDY, 0U);
IOMUXC_SetPinMux(IOMUXC_GPIO_EMC_41_SEMC_CSX00, 0U);
IOMUXC_SetPinConfig(
IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 PAD functional properties : */
0x10B0u); /* Slew Rate Field: Slow Slew Rate
Expand Down Expand Up @@ -1031,6 +1034,9 @@ void BOARD_InitSemcPins(void) {
Pull / Keep Select Field: Keeper
Pull Up / Down Config. Field: 100K Ohm Pull Down
Hyst. Enable Field: Hysteresis Disabled */
IOMUXC_SetPinConfig(IOMUXC_GPIO_EMC_39_SEMC_DQS, 0x10B0u);
IOMUXC_SetPinConfig(IOMUXC_GPIO_EMC_40_SEMC_RDY, 0x10B0u);
IOMUXC_SetPinConfig(IOMUXC_GPIO_EMC_41_SEMC_CSX00, 0x10B0u);
}


Expand Down

0 comments on commit d1ed0f7

Please sign in to comment.