Hi,everyone
I'm trying to use emif16 and fail to configure it.
According to cslr_emif16.h I create a CSL_Emif16Regs handle EMIF16_REGS,fill the value and copy it to 0x20C00000(emif config address).But after memcpy the memory browzer tells me nothing has changede in EMIF config register.I find a post herehttp://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/171091/626862.aspx#626862
and I think maybe my LPSC for EMIF16 is shut down.
So I add this to my code(3 is module num for emif16 and srio according to datasheet of 6678) :
CSL_PSC_setModuleNextState(3,PSC_MODSTATE_ENABLE);
CSL_PSC_startStateTransition(1);
while(!CSL_PSC_isStateTransitionDone (1));
while(!CSL_PSC_isModuleClockOn(3));
but the program stuck in while(!CSL_PSC_isModuleClockOn(3));,namely clock module for emif16 is still shut down.
I believe there is something I missed to configure it correctly,could anyone help me?
Thank you very much.
Zhao