cancel
Showing results for 
Search instead for 
Did you mean: 

EMI GPIO2

Posted on October 03, 2005 at 09:01

EMI GPIO2

2 REPLIES 2
Posted on September 29, 2005 at 15:46

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,

Manu

Posted on October 03, 2005 at 09:01

Great, I can configure EMI without the upper 4 address bits !

That's nice