This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Reading data from Emif interface of AM-1808

Other Parts Discussed in Thread: OMAP-L138

Hi !

I want to use EMIF-A interface on the am-1808 board (LOGIC ZOOM develop kit). I will connect a fpga to EMIF-A. The fpga will send the data to EMIF-A and i want to read and process that data.

Can anyone please guide that from where to start. I am using code composer studio.

Any suggestions on how can i accomplish this task ?

regards

usama

  • Hi Usama,

    Idenitfy on which Chip Select you are going to use for reading data from FPGA.

    Configure the corresponding timing register CExCFG register where x is 2 to 5.

    For example if you are using CS2 chip select then use the memory range from 0x6000 0000 to 0x61FF FFFF. Map one of the address as the data register and read from it using Memory pointer in C.

    The best starting point would be understanding existing NAND interface on OMAP-L138 which is using one of the EMIFA CS. Then read the OMAP-L138 data sheet and EMIFA datasheet.

    Regards,

    GSR

  • Hi GSR,

    Thanks for your reply,

    Actually the hardware part has been taken care of (CS2 chip select etc), i am more interested in handling the software part, that how can i access CExCFG registers ? In short i want to write drivers for EMIF.

  • Hi,

    Please refer either CCS Examples or NAND Driver code.

    You understands it easily.

    Regards,

    GSR