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.

MSPM0L1304: Using Timer-Capture with internal events

Part Number: MSPM0L1304
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Dear TI team,

I am using two timers for measuring a frequency:

The COMPARE-TIMER is connected to a GPIO and generates an event whenever x edges have occurred at the pin. (I checked that the event is generated as expected)

The CAPTURE-TIMER is now supposed to measure the time for x edges to take. It is hence connected to the event.

However, it seems that the corresponding registers are not even written though 

DL_TimerG_initCaptureTriggerMode(FM_Event_Capture_INST,(DL_TimerG_CaptureTriggerConfig *) &gFM_Event_CaptureCaptureConfig);

Do you have an idea what I am doing wrong?

The capture compare register also show 0x00. 

THe registers seem to be written when I do not use en event as trigger for the capture.

I have read a similar thread here: MSPM0G3507: How to use events to latch timer input capture samples? - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

However, it was answered privately.

Thank you very much already in advance.

Best regards

Samuel