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.

CC2340R5: Timer issue

Part Number: CC2340R5

Tool/software:

Hi,
How can I use the timer on the CC2340R5 board (SDK 8_20_00_119) to capture the current time when a button is pressed and released? Additionally, how can I use a timer in general?

  • Greetings,

    To familiarize yourself with how to use the timer on the CC2340R5 device, you can look at the documentation that is provided in the LGPTimerLPF3.h file located under $SDK_INSTALL_DIR$/source/ti/drivers/timer.

    For your specific use-case, I am a little unsure about what you mean by "measure current time when a button is pressed and released". Do you intend to measure the RTC time on button press? Or do you intend to measure the time delay between the button being pressed and released?

    Best,
    Achyut Ray