Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/tms320c6713b: Read FIFO via EMIF

$
0
0

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,

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>