Part Number:tms320c6713b
Tool/software: TI C/C++ Compiler
Hi,
I am working on TMS320c6713 EMIF to read from asynchronous FIFO. FIFO is connected on CE0 region of memory map. When i cast the CE0 address with (unsigned int *) then the EMIF reads wrong data,
when i cast it with (unsigned short *), the EMIF reads correct data. see the following code.
int emif_data = 0;
emif_data = * (unsigned int *) 0x80100000; //Reads wrong data from FIFO
emif_data = * (unsigned short *) 0x80100000; //Reads correct data from FIFO
Kindly share some technical explanation of this behavior.
Regards,