Hello guys,
We are working on a project which need to communicate with a FPGA via EMIF16. But it seems that I am doing something wrong. This is my code:
#define hEmif16Regs ((CSL_Emif16Regs*) CSL_EMIF16_REGS) void emif16Init(void) { hEmif16Regs->A0CR = (0 \ | (0 << 31) /* selectStrobe */ \ | (0 << 30) /* extWait */ \ | (0 << 26) /* writeSetup 1 */ \ | (2 << 20) /* writeStrobe 3 */ \ | (0 << 17) /* writeHold 1 */ \ | (0 << 13) /* readSetup 1 */ \ | (8 << 7) /* readStrobe 9 */ \ | (0 << 4) /* readHold 1 */ \ | (0 << 2) /* turnAround 0 */ \ | (1 << 0)); /* asyncSize 16-bit bus */ }
Do I need to do something more? Some init script or something?
Thanks in advance,
Lars Jansen
The Netherlands