Part Number: RM57L843
Tool/software: TI C/C++ Compiler
Hi All,
I'm using the async emif interface with CS4, in the HAL Code Generator I have only selected the async interface with CS4. But when I try to make a write cycle CS doesn't go down it is still high. I also monitore the WE and two Adress bits, these signals are working? I'm using the developement kit from TI.
I do it like this
emif_ASYNC3Init();
Ext_Async_Mem_Write2(EMIF_CS4_ADDRMAP_START, 0x66AAFF44, NO_OF_WORDS);
The function is below:
unsigned int Ext_Async_Mem_Write2(unsigned int Ext_Mem_Address_Ptr,
unsigned int Data_To_Write_Ptr,
unsigned int No_Of_32BitData)
{
unsigned short *Addr = (unsigned short *) Ext_Mem_Address_Ptr;
while(No_Of_32BitData > 0)
{
*Addr++ = Data_To_Write_Ptr;
No_Of_32BitData--;
}
}