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.

RM48HDK EMIF Read delay issue in between two consecutive read cycles

Other Parts Discussed in Thread: ADS8568EVM-PDK, RM48L952, ADS8568

Hi,

I'm using RM48 HDK with L950. In order to get the external ADC readings, I've connected the EMIF to a ADS85xEVM board. Here's the setup I have for the EMIF:

EMIF clock is 100MHZ. The EMIF MPU region is configured to be Device Type.

EMIF configuration register is initialized as:

emifREG->CE4CFG = (1U << 31U)|
                      (0U << 30U)|
                      (0U << 26U)|
                      (0U << 20U)|
                      (0U << 17U)|
                      (1U << 13U)|
                      (4U << 7U)|
                      (0U << 4U)|
                      (2U << 2U)|
                      (emif_16_bit_port) ;

For testing purpose, the code to read all the eight ADC results is simply written as:   
         AdcRaw[1]= ExMemAddr[1];
         AdcRaw[2]= ExMemAddr[2];    
         AdcRaw[3]= ExMemAddr[3];
         AdcRaw[4]= ExMemAddr[4];    
         AdcRaw[5]= ExMemAddr[5];
         AdcRaw[6]= ExMemAddr[6];    
         AdcRaw[7]= ExMemAddr[7];

With this setup above, I observed that the read cycle takes about 50ns. But to my surprise, the delay in between the  two consecutive read is about 180ns. To complete the eight reads, it takes about 1.7us in total from the first read cycle to the last one.

Is the delay in between the two consecutive EMIF read normal? Any suggestion to improve the speed?

Thanks,

Holly

  • Hi Holly,

         Thanks for your post. We haven't used the EVM board. Would you please provide more information about the application?  I can't find the exact ADS85x EVM information.  Can you post the EVM user guide or send it to my mailbox: shelford-zhu@ti.com. Then we can look into this and get back to you later.

    Best Regards,
    Shelford

  • Hi Shelford,

    Thanks for the quick response.

    The external ADC board we use is from TI as well. Here's the link to the ADS8568EVM board:

    http://ca.mouser.com/ProductDetail/Texas-Instruments/ADS8568EVM-PDK/?qs=dn9%252bmHMlkg%252b8n9gNjz4eew==&cm_mmc=google-_-ppc-_-americas-_-TI-CoOp&gclid=CPu_gOnpibYCFad_QgodDCUAPA

    My colleague observed similar issue when he connected RM48 HDK with FPGA via EMIF. With his setup, the EMIF read to the FPGA memory takes about 100ns, while the delay in between two consecutive reads takes about 500ns. We're both puzzled where the long delay comes from.

    Thanks

    Holly

  • Holly Zhou said:

    The external ADC board we use is ... the ADS8568EVM

    My colleague observed similar issue when he connected RM48 HDK with FPGA via EMIF. With his setup, the EMIF read to the FPGA memory takes about 100ns, while the delay in between two consecutive reads takes about 500ns. We're both puzzled where the long delay comes from.

     
    My understanding is that this unexpected delay is not necessarily dependent on the ADS8568 Performance Demonstration Kit ADS8568EVM-PDK or on the RM48 EMIF.  I was told you also observe delays when reading internal registers of the RM48L952.  Would you elaborate on this?
  • Hi Holly,

    The delay between the read you observed is expected. Please refer to the following thread for details: 

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/211679.aspx

    Regards,

    Qingjun