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.

TMS570LC4357: I want to work on Optimized Trigonometric Functions on TI Arm Cores (sprad27.pdf) on TMS570LC4357

Part Number: TMS570LC4357


Tool/software:

I want to work on Optimized Trigonometric Functions (sprad27.pdf) on TI Arm Cores on TMS570LC4357. Is it possible? If possible, how can I do it?

I know both cores be R5 cores but I dont have any idea about how to do that.

  • Are the current functions too slow?

  • Yes, math.h 4-5x slower to Optimized Trigonometric Functions on TI Arm Cores . 

  • Hey, since I wrote this application note back then I'll chime in to give some inputs.

    first, some work should be done since when we implemented them we leaned on the Sitara MCU+ SDK while the Hercules uses probably a different SDK.

    Also, I am not sure that the Hercules has TCM memory? It's part of R5 Arm Architecture but I am not sure it was implemented in the Hercules silicon. The TCM increased significantly the performance of these functions since we implement more or less some sort of Fourier transforms (elaborated in the appnote) and located the coefficients in TCMA and TCMB of the AM263. 

    It doesn't say that you won't be able to use them, but you'll probably need to map differently the coefficients in the linker file to the OCRAM instead of the TCM addresses of Sitara MCU (AM2X).

    Besides that, the functions themselves does not really "SDK depended" since what we did in most of them is to implement optimized math functions with the understanding of the R5F architecture. once you have the C and H file of those functions, you can see their implementations its just C and Assembly code that can be compiled on Hercules.

    Cheers,

    Eyal.

  • Hi,

    I understand you. I need help for İmport to the Hercules TMS570LC4357

  • Hi Furkan,

    In our Hercules controllers we don't have any dedicated TCM memory, and we do have only SRAM and Flash.

    So, maybe we cannot simply port this library into our Hercules devices. And also, the memory architectures of Hercules and AM2x are completely different.

    So, to implement this requirement it might need some development effort. And currently there is no active development is going on Hercules controllers as they are legacy devices. 

    If it is any new requirement in these devices, then maybe we should need to analyze the business value and need to take the management approval.

    --
    Thanks & regards,
    Jagadish.