Force PWM Output to "Low Level" and “High Level” in Traveo S6J3XXX Series MCUs – KBA218099

Version 4

    Version: *A

     

    Translation - Japanese: Traveo S6J3XXXXシリーズMCUのPWM出力を“Lowレベル”および“Highレベル”に強制する - KBA218099 - Community Translated (JA)

     

    Question:

    Can the PWM output be forced to "Low level" and “High level” in Traveo™ S6J3XXX series MCUs?

     

    Answer:

    Yes. To force the PWM output to "Low level", set the Pulse Output Mask bit (PMSK) of the Timer Control Register (TMCR) to "1". Another option is to set the PWM duty value to "current duty value > cycle value" while outputting the PWM signal, which will force the output to "Low level" when the next underflow event occurs.

    To force the PWM output to "High level" (= 100% Duty pulse), set the same values for the PWM Cycle Setting Register (PCSR) and the PWM Duty Setting Register (PDUT). This will force the output to "High level" when the next underflow event occurs.

     

    Note: This KBA applies to the following series of Traveo MCUs:

    S6J3110

    S6J3120

    S6J3200

    S6J3300

    S6J3350

    S6J3360

    S6J3370

    S6J3400

    S6J3510