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.

[FAQ] Timer Capture Issue in "Period Capture Mode" for MSPM0 Production Sample

Other Parts Discussed in Thread: MSPM0L1306

Automatically set the LOAD_VALUE into TIMx.CTR via TIMx.CCCTL.LCOND is not work for period capture. It will have influence on "Period Capture" mode and "Combined Pulse Width and Period Time" mode. (Only use "Pulse Width Capture" mode will NOT be affected).

Here are two workaround for the solution:

# Workaround 1: Manual reload the LOAD_VALUE.

Here is the brief introduction:

SDK ( gives the solution through manual reload LOAD_VALUE into TIMx.CTR. The details please refer to code example:  "timx_timer_mode_capture_duty_and_period_LP_MSPM0L1306_nortos_ticlang".

# Workaround 2: Manual calculate the period.

Here is the brief introduction:

It will be a little complicated for "Combined Pulse Width and Period Time" mode, as shown in the below:

The reference code for #Workaround  2: Workaround 2 - Manual

**Attention** This is a public forum