Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Hello, I want to read a PWM signal output from a sensor. I am feeding this continuous PWM signal to P1_5. I tried many examples from here. But I always have a false trigger on the pin, even if I remove the sensor from the pin. Can you please guide me how to measure PWM signal properly?
I am using CY8CKIT with CY8C5888LTI-LP097 microcontroller on it. I tried the oscilloscope too. A signal is perfect PWM changing duty cycle according to physical change. I just want to read duty cycle and frequency of a signal. It would be great if you can provide me any code for this. I tried with PWM, counter and UART to read out values.