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.

EMIF16 read latency.

Hi everyone~

I am testing about EMIF16.

I have EVMC6678 and CCS6.

I had various work for EMIF but.

EMIF MAX speed is write: 320Mbps and Read : 96Mbps.

I chaged EMIF register.

 EMIF16_REGS.A0CR = (0
         | (1 << 31)     /* selectStrobe */
         | (0 << 30)     /* extWait */
         | (0 << 26)     /* writeSetup  12 ns */
         | (0 << 20)     /* writeStrobe 24 ns */
         | (0 << 17)     /* writeHold    6 ns */
         | (0 << 13)     /* readSetup   12 ns */
         | (0 << 7)      /* readStrobe  48 ns */
         | (0 << 4)      /* readHold     6 ns */
         | (0 << 2)      /* turnAround  12 ns */
         | (1 << 0));    /* asyncSize   16-bit bus */

And I disalbed emif internel feature.

 *(Uint32*)0x20C00008 |= 0x80000000; // Disable unused internal EMIF feature

I read this question.

http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/339211

I have same Kebin's situation.

So I want know how setting up EDMACC1 transfer and using EDMA.

Please somebody help me.

I looking for this 2weeks.

Taeyang,

  • Hi,

    Thanks for your post.

    In order to address setting up EDMACC transfer configuration, you can find dat example under the EDMA directory edma3_lld_02_xx_xx_xx\examples\CSL2_DAT_DEMO

    Kindly check the above example for EDMA CC configuration.

    Thanks & regards,

    Sivaraj K

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------

  • Thank you, Sivaraj~

    I will try.

    Taeyang.

  • Hi Sivaraj K,
    I imported the project, but I can't test the project.
    When I imported the project, dat_demo_configuration imported also.
    but configuration project was empty.
    And build doensn't work too.
    So I checked the project.
    It seems like to my souce.
    I don't understand where is EDMA CC configuration.
    Thanks,
    Taeyang.
  • Hi,

    Please check the edma3_drv_bios6_c6678_st-sample application project from the below path:

    ~\ti\Keystone_MCSDK_02_01\edma3_lld_02_11_05_02\examples\edma3_driver\evm6678\sample_app

    Also, please check the below source file 'csl2_dat_edma3lld.c' from the below path in which, you could find edma3init(0, &edmaResult) to initialize EDMA3 first:

    ~\ti\Keystone_MCSDK_02_01\edma3_lld_02_11_05_02\examples\CSL2_DAT_DEMO\src\dat_edma3LLD

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------