Hi Ranjith Shanbhag,
Thank you for your trust.
Do you just want to configure the counter to up-down mode?
If yes, please modify the SCT control register, BIDIR_L and BIDIR_H to 1.
Just like the user manual, SCT regiser description:

Please try it on your side.
Wish it helps you!
If you still have question, please let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------