This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EMIF扩展SDRAM时配GPIO的另一个问题

工程师您好:

以下这些GPIO在连SDRAM的时候并没有使用,有些接口是用于配置ASRAM或者FLASH的,但是我们例程中的这个函数setup_emif1_pinmux_sdram_16bit将不需要使用的接口也设置成了EMIF的功能口,我们是否可以将这些不用的口设置为普通的GPIO呢,还是说只要使用EMIF模块,那么这些GPIO都必须设置为EMIF的功能口,谢谢。

祝好心情!

//GPIO33 EM1RNW 
//GPIO34 EM1CS2
//GPIO35 EM1CS3
//GPIO36 EM1WAIT
//GPIO37 EM1OE

//GPIO90 以及GPIO91

void setup_emif1_pinmux_sdram_16bit(Uint16 cpu_sel)
{
int i;

for (i=29; i<=52; i++)
{
if ((i != 42) && (i != 43))
{
GPIO_SetupPinMux(i,cpu_sel,2);
}
}