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.

Neon on Ti8168

Hi TI experts,

I need to write code for the Neon on the TI8168, i read the folowing forums:

http://processors.wiki.ti.com/index.php/Cortex_A8

http://www.arm.com/files/pdf/NEON_Support_in_the_ARM_Compiler.pdf

I know what should i do and how should i do it. now i want to start with an example on the TI8168. is there any example for this somewhere in the EZSDK?

Thanks,
Gabi 

 

  • Hi,

    I have found this post:

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/60530.aspx

           
        RegisterSet(&PM_PWSTCTRL_MPU, 0x3, 2, 16);//L2 Cache memory is ON when domain is ON
        RegisterSet(&PM_PWSTCTRL_MPU, 1, 1, 8);//L2 Cache memory is retained when domain is in RETENTION state
       
        RegisterSet(&CM_CLKSTCTRL_NEON, 0, 2, 0);//Automatic transition of clock state is disabled
       
        RegisterSet(&PM_PWSTCTRL_MPU, 1, 1, 2);//Logic and L1 Cache are retained when domain is in RETENTION state
        RegisterSet(&PM_PWSTCTRL_MPU, 0x3, 2, 0);//Power state control: ON
       
        RegisterSet(&PM_WKDEP_NEON, 1, 1, 1);//NEON domain is woken-up upon MPU domain wake-up.
        RegisterSet(&PM_PWSTCTRL_NEON, 0x3, 2, 0);//Power state control: ON

    According to what it says there is an initialization stage need to be done that includes the RegisterSet function or macro.
    However i have searched all the EZSDK for this function or macro and it can not be found anywhere, does anyone knows how to perform this initialization otherwise?

    Thanks,
    Gabi 

  • I found out that when working with linux in the EZSDK the Neon is enabled by default and no need to change any registers.
    But the codesourcey lite toolchain that comes with the EZSDK is missing some run time libraries which are needed for the Neon, thus the code is compiled with Neon instructions but when running it you get segmentation fault.
    Is there is a way to get those run time libraries for free somehow? 

    Thanks,
    Gabi