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.

Compiler/TDA2PXEVM: change the period of NULL LINK

Part Number: TDA2PXEVM

Tool/software: TI C/C++ Compiler

I found the period of the NULL LINK is 33ms.Please tell me how to change the period.

  • Please check the create parameters of NullSrc link, you need to set timerPeriodMilliSecs variable correctly. 

  • Hi,

    it is configured by "timerPeriodMilliSecs" in NullSrc create parameters (see struct NullSrcLink_CreateParams in links_fw/include/link_api/nullSrcLink.h) when creating the link in the particular usecase.

    You can check for example NullSrc -> Display usecase, in apps/src/rtos/usecases/null_src_display/chains_nullSrcDisplay.c there is:

    ...

    #define NULLSRC_TIME_INTERVAL           (33)

    ...

    pNullSrcPrm->timerPeriodMilliSecs = NULLSRC_TIME_INTERVAL;  /* this is in chains_nullSrcDisplay_SetAppPrms() */

    ...

    Regards,

    Yordan