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

Discussion to talk about software related topics only.
Post Reply
savaliya_ambani
Posts: 19
Joined: Fri Dec 12, 2008 2:54 am

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

Post 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.
savaliya_ambani
Posts: 19
Joined: Fri Dec 12, 2008 2:54 am

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

Post by savaliya_ambani »

hi all,

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