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.

TMS470MF03107: Consultation on Capture Function of TMS470MF03107

Part Number: TMS470MF03107
The chip I use is TMS470MF03107. After reading a lot of forum posts, PCNT configuration is not very difficult, but I still haven't used the Capture function myself. The configuration process is as follows:
1. Use the default clock configuration;
2. Set Pwm0-7, select HET[2] as PWM output, cycle 10000us, duty cycle 50%, Enable, Pin2;
3、pwm interrupt、Edge0-7、Edge interrupts Default;
4. Cap0-7, Capture uses HET6 and uses the default CAP 3;
5. Pin0-7, HET2 is configured as output, and HET6 is configured as input;
6. After configuring the generated code, modify the code according to the TMS570 HR share function in the forum
    /* PCNT: Capture Duty 3
    *         - Instruction                  = 31
    *         - Next instruction             = 32
    *         - Conditional next instruction = na
    *         - Interrupt                    = na
    *         - Pin                          = 6
    */
    {
        /* Program */
        0x00020700U | (1U << 5U)  | (6U),
        /* Control */
        0x00000000U,
        /* Data */
        0x00000000U,
		/* Reserved */
		0x00000000U
    },
    /* PCNT: Capture Period 3
    *         - Instruction                  = 32
    *         - Next instruction             = 33
    *         - Conditional next instruction = na
    *         - Interrupt                    = na
    *         - Pin                          = 6  + 1
    */
    {
        /* Program */
        /*原代码0x00021700U | (1U << 5U)  | ((6U) + 1U),*/
        0x00021700U | (3U << 5U)  | ((6U) + 0U),
        /* Control */
        0x00000000U,
        /* Data */
        0x00000000U,
		/* Reserved */
		0x00000000U
    },
7. main part code;
#include "system.h"
#include "het.h"
/* USER CODE BEGIN (0) */
hetSIGNAL_t pluse10;
hetSIGNAL_t pluse_pwm;
/* USER CODE END */

/* USER CODE BEGIN (1) */
/* USER CODE END */

int main(void)
{
/* USER CODE BEGIN (2) */
    hetInit();

    pwmStart(pwm0);

    while (1)
    {
        pwmSetDuty(pwm0, 30);

        pluse_pwm = pwmGetSignal(pwm0);

        pluse10 = capGetSignal(cap3);
    }

/* USER CODE END */

    return 0;
}
8. The measured waveforms of PWM using oscilloscope are as follows:

9. Read the variable values as follows;
The circuit board has connected HET2 and HET6 together, and the value of pluse10 variable is always 0 ? ? ?