6 Replies Latest reply on Dec 5, 2015 3:21 AM by user_1377889

    generate 1 Hz to 40 Hz signal

    user_491123998

      I am using CY8C28445. I am facing problem with TIMER. I want to generate 1 Hz to 40 Hz signal in two pins and change PWM signal with certain period of time.

         

      Example:

         

      TIME | PIN0 Freq. | PIN0 PWM |   PIN1 Freq. |    PIN1PWM | Alternate Mode  
      T0   |    2Hz            |             50% |              2Hz |               50% | 0   
      T1   |    3Hz            |             50% |            15Hz |               20% | 0  
      T2   |  30.5Hz         |             40% |           2.5Hz |               50% | 0  
      T3   |    2Hz            |             50% |              2Hz |               50% | 1
      Alternate Mode activate gives 180 degree phase shift b/w PIN0 and PIN1.