Read / capture pwm signal

hi sir/madam

how to read /capture pwm signals and calculate duty cycle,
right now i am connecting PWM source to gpio pin.
and that gpio pin i configured as input pin, trigger at both,

please suggest me how to proceed further ,

Hi @mohan

For reading/capturing PWM signals using Apalis TK1, you can use the FlexTimer Signals from the MCU K20 on the Apalis TK1 module. These Signals are described in the Table 6-41 in the Datasheet of Apalis TK1. Further please have a look here too.

Best regards,