2005-10-03 12:01 AM
2005-09-29 06:46 AM
I was wondering :
EMI use port P2.0 to P2.3 to generate CS0 to CS3 (corresponding to 4 banks EMI) So we configure GPIO as follows : GPIO_Config(GPIO2, 0x000F, GPIO_AF_PP); But port P2.4 to P2.7 are also used to for address bits A20 to A23. Do we have to configure these port pins to Alternate Function ? Why don't we configure GPIO2 like this : GPIO_Config(GPIO2, 0x00FF, GPIO_AF_PP); Unless that the P2.4 to P2.7 remains undefined ? What's wrong in my deduction ? Thx, Manu2005-10-03 12:01 AM
Great, I can configure EMI without the upper 4 address bits !
That's nice