5 Replies Latest reply on Jan 13, 2016 6:18 AM by user_1377889

    PWM signal Switching between line to line_n at run time

    user_491123998

      i am using CYBLE-022001-00 / BLE module and generating 1Hz to 40 Hz PWM signal . some time i need inverted signal of waveform signal (example 1Hz signal ). for that i need two different pin for taking inverting and non-inverting signal out .

         

      Instead of two GPIO pin  i want to use only single GPIO pin for generating both signal and that switching event must be control through my main() program .

         

      KEYWORD-

         

      void TCPWM_SetPWMInvert(uint32 mask)

         

      Example -

         

      T0 second  - PWM output through PIN 1 is Non_Inverting

         

      T0+1 second - PWM output through PIN 1 is Inverting 

         

       

         

      *Please check the attached jpg also.