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.

Something about the DM3730's internel DSP's arithmetic speed

Other Parts Discussed in Thread: DM3730, OMAP3530

Hi, all

    We are using DM3730 on our board, with "dvsdk_dm3730-evm_04_03_00_06_setuplinux".

    We are porting a piece of code to DM3730. This code deals with less than 1MBytes data in RAM, generates the result to RAM. There are also floating point operations.

    In MPU side, this procedure takes about 10 seconds, which is too long for us. So, we move the procedures to the DSP side. However, it takes more seconds.

    In CFG_OMAP3530.c, the CPUFREQ is configured to -1. I have tried some other values, like 204800, but it's seem no difference. I have checked the register 0x48004040, the value always be 0x8F005.

    My question is:

   1. Is the IVA2's arithmetic speed slower than MPU's?

    2. How to improve the DSP's performance?

   

 

  

  • Hi Bennett,

    I check the default value for the CPUFREQ in the CFG_OMAP3530.c is 450000 which correspond to the DSP Frequency (in KHz). The CM_CLKSEL1_PLL_IVA2 register with address 0x48004040 has value 0x0009900C.

    The frequence of the DSP is lower then the cpu, therefore if you execute the same code on the DSP and cpu the code working on the DSP will be slower.

    The improve the speed by using the DSP you should use DSP specific functions which will optimize the work.

    BR

    Tsvetolin Shulev

  • Hi, Cvetolin Shulev-XID

      Thanks very much for your reply.

      Do you use the same SDK? Because in my "dvsdk_4_03_00_06" sdk, the default value for the CPUFREQ in the config/all/CFG_OMAP3530.c is '-1'. And if i changed this value, and rebuild dsplink(make dsplink_clean; make dsplink), the CM_CLKSEL1_PLL_IVA2 register's value would not change.

      Yesterday, I learned TMS320C64X in DM3730 is a fixed-point DSP. Meanwhile our code has quite a few floating-point operations. I think this also slowed down the execution speed.

      By the way, because we found linux kernel2.6.37 has some problem with hub & high-speed usb2.0 devices, and linux kernel3.3.7 has fixed it, I haved download the package "ti-sdk-beagleboard-05.05.01.00-Linux-x86-Install", but it seems doesn't support dsplink(syslink) on DM3730. I will be much appreciated to you if you teach me how to use DSP in ti-sdk-beagleboard-05.05.01.00.

      Thanks again!

     

     

  • Hi Bennett,

    I use the same version of the SDK - ti-dvsdk_dm3730-evm_04_03_00_06.

    BR

    Tsvetolin Shulev

  • Really?

    Did I made some mistakes? Tomorrow, I will re-do ./dvsdk_dm3730-evm_04_03_00_06_setuplinux & setup.sh, and check the dsplink.../dsplink/config/all/CFG_OMAP3530.c.

    BTW: Do you know how to enable DSP in "ti-sdk-beagleboard-05.05.01.00-Linux-x86-Install"?

    thank you very much.