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.

CC2642R: Timer capture module with DMA

Part Number: CC2642R

Is there an example for GPTimer capture module with DMA? Current TI Drivers does not include capture mode in timer.h and does not use DMA in timerCC26x2.h

Best regards,

Shuyang

  • Hi Shuyang,

    There is no GPTimer + DMA example currently available from TI resources.  Why does it need to be supported for the solution under consideration? Please see this relevant E2E response and TI Driverlib peripheral APIs.

    Regards,
    Ryan

  • Hi Ryan,

    Thanks for the helpful links.

    A customer would like to use the capture mode of GPTimer together with DMA for frequency measurement, they are considering DMA from the aspect of multi-thread performance and power consumption. Do you think it is making sense or not?

    If my understanding is correct, customer can add DMA to current GPTimer driver by themselves to achieve their goal, right?

    Best regards,

    Shuyang

  • Hi Shuyang,

    The GPTimer TI Driver has an Input edge-count mode which should be able to fulfill this application without using DMA.  Since the Timer must operate at a power consumption mode of Idle or Active, there will not be much reduction from adding DMA.  However, it they insist then it is possible to copy simplelink_cc13xx_cc26xx_sdk_7_10_01_24\source\ti\drivers\timer\GPTimerCC26XX.c directly into their project workspace so that they can add DMA Driverlib operations to these functions and have them apply to their application.

    Regards,
    Ryan