I'm having problems interfacing my ADSP-21489 with SDRAM MT48LC16M16A2-7E, in my custom board. I have been reading EE-286 and configured the Sharc registers, but i can't write or read correct words from SDRAM. I verified the connections between DSP and SDRAM and everything seems ok.
My code is attached. The link to MT48LC16M16A2 datasheet is here.
Can anyone see if I'm doing anything wrong?