1 2 Previous Next 14 Replies Latest reply on Jul 20, 2017 7:24 AM by graa Go to original post
      • 15. Re: Writing 0 or period to PWM Compare
        michael_1534646

        Connecting logic 1 to Stop signal - doesn't work (the output is low).

           

        Connecting logic 0 to Stop signal - works like a charm.

           

        Thank you very much.

           

        By the way, where did you find a list of CNT_STOP_SEL field values? In the TRM it only says "Selects one of the 16 input triggers as a stop trigger", but I couldn't find an explanation which triggers are possible.

        • 16. Re: Writing 0 or period to PWM Compare
          graa

          Great. Glad it worked!

             

           

             

          Even I was first looking for the values for the CNT_STOP_SEL field in the register TRM.  But as it was not listed there, I just connected a logic 1 to the Stop signal, built and programmed, and read the register value using debugger.  Then I connected a logic 0 to the stop signal, built and programmed, and read the register value using debugger.  

             

           

             

          Will check why this information is left out of the register TRM.

          1 2 Previous Next