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.

PROCESSOR-SDK-J722S: how to get timerp inputClkHz

Part Number: PROCESSOR-SDK-J722S

Tool/software:

Hi TI expert,
    1. i am using J722s evm  and sdk v11  example code as environment. sdcard, spl boot mode.

    2. i want to use timer in visionapp, mcu20. and i got init code as below

    TimerP_Params_init(&timerParams);
    timerParams.inputPreScaler = 1u;
    timerParams.inputClkHz = 250u * 1000u * 1000u;
    timerParams.periodInUsec = durationUs;  // eg 100us
    timerParams.oneshotMode = 0;
    timerParams.enableOverflowInt = 1;
    TimerP_setup(timerBase, &timerParams);


my question is:
1.  if i want get a 100us interrupt inverval, and i set periodInUsec  =100,  the interrupt trigger is not correct.  i want to know how to set value inputPreScaler/  inputClkHz   to make it correct.  where can i get them.

thanks