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.

TMS320F280049C: HRcap code for measuring delay between two pulses

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hey,

I'm trying to capture the time delay between two pulses using hrcap module. However, I'm not able to find any examples related to HRCAP for F280049C in C:\ti\c2000\C2000Ware_5_02_00_00\device_support\f28004x\examples

Even though some example are available in C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f28004x\examples\hrcap

I'm not well versed in the code available in driverlib. I am requesting someone to provide me the code for the HRCAP module.

Regards

Akash

  • Hi Akash,

    Unfortunately we only have driverlib examples for hrcap for F28004x. However you can use this example to view what bits are being configured and translate them to your bitfield code.

    We also have a device support example for our F2806x example that configures the HRCAP using bitfield. You could use this as a starting base template.

    C:\ti\c2000\C2000Ware_x_xx_xx_xx\device_support\f2806x\examples\c28\hrcap

    Best,

    Ryan Ma