DSPRelated.com
Forums

Having Problems in getting EMIF/SDRAM to Work.

Started by cg53...@bristol.ac.uk August 10, 2006
Dear All,

I am trying to interface an ADC to my C6416 DSK, but canot get it to work.
Since I was not able to visualize any kind of signal variation on WR/, RD/ and other signals, I therefore tryed to use the onboard SDRAM. However, if I thougth it was working at the beginning, I came to the conclusion that it was actually not, since I could not again see any signal variation on the external connector (no CS, RD, etc).

The problem might come from some wrong CCS settings which I am using for parameter settings.

#define INTDSK_CE0 0x80000000

void main (void)
{
interrupt_init();
IRQ_globalEnable();
CSL_cfgInit();

while(1)
{
return;
}
}

/* Isr occuring periodically. Make use of "IRQ_EVT_SDINTA" command when
setting "IRQ". + use of the dispatcher*/

void isr_sub(void)
{
static unsigned int a;
static unsigned int b0;

*(unsigned volatile int *)INTDSK_CE0 = b; //Write to SDRAM
a = *((unsigned volatile int *)INTDSK_CE0); //Try to Read SDRAM

return;
}
It's a bit hard to sort this out alone. My superviser is on holiday and I realy need to understand it this week. It would be more than appreciated if you could give me some guidance.

Regards and thanks,

Christophe G.