零件编号: TMS570LS3137
Dear team,
My customer is using TMS570LS3137. I do not have this device,please help me to test his configuration.
The customer wants to realize the pulse catching function through the NHET of TMS570LS3137. He used HALCoGen to configure the pin crossbar switch, edge and cap functions, as follows:
1. The signal source is generated using the PWM module, using the 2-pin output, and returning to the 0 pin through the external loop;
2. Pin 0 is configured as an NHET pin and is an input pin, and pin 2 is an NHET pin and an input pin;
Test Results:
The signal generated by the PWM module is normal. The signal drives an indicator, the flashing frequency of the light is correct, but the capture module uses the edgeGetCounter and/or capGetSignal functions to capture pulses, the number of pulses, period and duty cycle are both 0.
Please help.
