DM368的AEMIF 地址线配置寄存器AECFG[2:0]的功能是什么?
假设AECFG[2:0]=000,是不是只有EM_A[1]、EM_A[2]可以作为地址线,其他的引脚都作为gio使用,不能作为地址线?
PINMUX2[5:0] 与 AECFG[2:0]是不是一定要匹配。即假设AECFG[2:0]=0x0,是不是PINMUX2[5:0]也应该等于0x0?
如果AECFG[2:0]=0x0,PINMUX2[5:0]=0x2A,EM_A[7:0]能不能作为地址线?有没有冲突呀?
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.
DM368的AEMIF 地址线配置寄存器AECFG[2:0]的功能是什么?
假设AECFG[2:0]=000,是不是只有EM_A[1]、EM_A[2]可以作为地址线,其他的引脚都作为gio使用,不能作为地址线?
PINMUX2[5:0] 与 AECFG[2:0]是不是一定要匹配。即假设AECFG[2:0]=0x0,是不是PINMUX2[5:0]也应该等于0x0?
如果AECFG[2:0]=0x0,PINMUX2[5:0]=0x2A,EM_A[7:0]能不能作为地址线?有没有冲突呀?
下面是AECFG[2:0]功能的描述
AECFG[2] controls AEMIF size configuration 0=8bit, 1=16bit.
AECFG[1:0] control different AEMIF Data/Address pin availability at reset.
AECFG只是决定EMIF管脚在Reset时的默认配置, boot后, 这些EMIF管脚可以通过PINMUX2, PINMUX5重新配置, 增加或较少地址线. 见数据手册第63页上的描述"The device configuration pins are multiplexed with AEMIF pins. Note that the AECFG[2:0] inputs only select the default AEMIF address pin muxing. The number of active address pins may be increased or reduced at any time by modifying the appropriate bits in the PinMux2 control register. After the device
configuration pins are sampled at reset, they automatically change to function as AEMIF pins."
假设AECFG[2:0]=000,只有EM_A[1]、EM_A[2]可以作为地址线,表中其他的引脚都作为gio使用,不能作为地址线, 要作为地址线, 在device boot后可以重新设置PINMUX.
PINMUX2[5:0] 与 AECFG[2:0]只是在Device Reset时是匹配的, 见PINMUX2[5:0]有定义说明During device boot PINMUX2 [1:0] = AECFG[1:0].
假设AECFG[2:0]=0x0, PINMUX2[5:0]不一定要等于0x0, 根据您的应用可以配置PINMUX.
如果AECFG[2:0]=0x0,PINMUX2[5:0]=0x2A,EM_A[7:0]在boot后能作为地址线,