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.

how to config the "EMIFA input clock select" in the TMS320C6457

Other Parts Discussed in Thread: SPRC924

Yesterday, I wanted  to config  the clock mode of the EMIFA with  the SYSCLK7, but I have found the example of this .And I just write the code like this :

 

But the register of DEVSTAT was not been modified .Besides, in the <csl.h>of the CSL,there is no definition about the function CSL_sysInit().

Could you provide some examples about that ?

thank you for your reply!

  • From where did you get your CSL library? I find a csl.h in the pdk for the C6457 at pdk_c64x_1_00_00_06\packages\ti\csl\c6457\csl_c6457\inc and it does have a declaration for CSL_sysInit().

    The argument in the first CSL_FINST looks wrong, SHIFT. Why did you use that?

    You may want to review Section 3.4 of the C6457 datasheet to understand the use of the DEVSTAT register. This appears to be mostly a read-only register.

    Regards,
    RandyP

  • I get the CSL library from http://www.ti.com/tool/sprc924, and in the    sprc924(C6457 CSL)\C6457\csl_c6457\inc\csl.h ,there is no definition of the CSL_sysInit().In my project I only use the csl_c6457,and in the folder  of the csl_c6457 I can not find any .h source contains  the definition of the CSL_sysInit().while I using  the CSL_sysInit(),an error  appears.

    undefined    first referenced
      symbol          in file    
     ---------    ----------------
     _CSL_sysInit ./main.obj     

    error: unresolved symbols remain

  • This is a bit confusing. There is a declaration of CSL_sysInit in csl.h from sprc924, and it looks like an empty definition, but I am not positive on that distinction. It looks like this:

    csl.h said:
    void
        CSL_sysInit (
            void
    );

    Do you find this in your csl.h?

    Why do you have a call to CSL_sysInit()? From my search of the examples that come with sprc924, none of them include a call to CSL_sysInit(), so I wonder if there is any need for it to be called in your code.

    Regards,
    RandyP