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.

PWM Demodulation using MSP430



Hi,

     I could find many sample code on msp430 for PWM pulse generation.

But ,not any samples on PWM signal Detection and demodulation  yet.

Do we have any sample ,which detects a incoming PWM signal to any of the GPIO pins or Comparator pins ,and demodulate the Data .

Thanks

Lakshmikandhan.

  • I fail to understand the problem well.
    In principle, for detecting a PWM signal, try to use a capture/compare module, in order to determine the relative times of high and low signal. These modules, obviously, are not available on all GPIO pins.

    Lakshmikandhan Paulsamy said:

    Do we have any sample ,which detects a incoming PWM signal to any of the GPIO pins or Comparator pins ,and demodulate the Data .

    Using a capture/compare module interruption, detection signal could be done by evaluating the signal periods to determine if this is the expected signal.
    The demodulation of this signal is a separate issue. You need to be more specific about this topic. What do you want to accomplish?

**Attention** This is a public forum