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.

CC2652R: Input capture

Part Number: CC2652R


Hi Team,

Customer is interested in calculating frequency and duty cycle of an incoming signal, likely between 33Hz and 200Hz. From the Reference Manual (SCU185E), it seems like the best way to do this would be to use a GPTimer with Input Edge-Time mode. Customer has been able to do this using GPTimerCC26xx.h driver and is seeing interrupts on both edges as expected. 

However, they need to scale down the clock using a prescaler and are running into troubles doing this with the driver. Can you help provide some suggestions here?

BR,

-RT

  • Hi RT,

    Here is the GPTimer File Reference and TRM (Chapter 15) for easy reference.  The Driverlib may also be useful for changing clock settings.  The GPTimer clock is dependent on the MCU system clock.  If very high-accuracy outputs are needed, the application should request using the external HF crystal.  They should not be modifying the MCU system clock if also using the RF radio.  What specific issues is the customer experiencing while using the existing TI Driver?  Can they give direct examples of what they are trying to achieve?

    Regards,
    Ryan