Page 1 of 1

Chip Select is not working? see the code below ,please.

Posted: Tue Dec 30, 2008 10:32 pm
by savaliya_ambani
hi all,

I am trying to detect the CS (active low) after configuring it as below.

j1[7].function(pinj1_7_gpio);
j1[5].function(pinj1_5_cs1);

sim.cs[1].csar=0x0210;
sim.cs[1].csmr=0x021f; //(address range doesnt matter for my application)
sim.cs[1].cscr=0x0180; //auto acknowledge enable


please, note that there anre no more interface such as control signals and lower address lines.(A0 - A15) . i just want to check whether cs1 is getting low or not?
but i have tried all the way and i could not make it low(asserted) , so does any one have idea about this.

kindly reply urgently. thanks in advance.

Re: Chip Select is not working? see the code below ,please.

Posted: Thu Jan 01, 2009 3:11 am
by savaliya_ambani
hi all,

i got the problem solved. SO thanks to my debugger.