cancel
Showing results for 
Search instead for 
Did you mean: 

P6.0 & P6.1 chip select

jm
Associate II
Posted on July 21, 2003 at 13:51

P6.0 & P6.1 chip select

3 REPLIES 3
jm
Associate II
Posted on July 21, 2003 at 08:56

Hi,

Although I declare external memory, the 2 chip enable are inactif (P6.0 and P6.1), maybe the start file isn't correctly configured.....

Could you tell me which register I must change or other..

STARTA66 is attach, so you can look my configuration

Thanks

maxime2399
Associate II
Posted on July 21, 2003 at 11:53

The selection of the nunber of chip select is done by hardware and not by software, as well as the clock selection and the number of address lines.

you need to place on the port0 P0H1 and P0H2 (cf user's manual) the right configuration of pull-down in order to have 2 chip select lines.

If you have no chip select instead of the two expect you probably have the combination 01 instead of 10 set with the pull down resistors on P0H2:1 .

Then you need to have the related BUSCONx and ADRSELx registers set up for the related Chip Select.
jm
Associate II
Posted on July 21, 2003 at 13:51

Hi,

thanks a lot for your help, the system is OK !

THANKS

BYE