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.

TM4C129ENCPDT: PWM clock configuration

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: EK-TM4C129EXL

Hi,

I am using the launch pad EK-TM4C129EXL and IDE : Code Composer Studio (Version: 7.2.0.00013)

Recently start working with PWM firmware, have configured the system clock successfully to 120MHz and now am trying to configure the same clock to PWM; then found certain issues with PWM clock configuration, that the code halts at FaultISR. Please find attached images for clarification. Some help would be greatly appreciated.

Thanks

  • Have you not made your call to, "PWMClockSet()" (of PWM0) prior to (before) "ENABLING that PWM0 Peripheral?"

    Writing to any MCU peripheral - prior to it's being enabled (i.e. clocked) - is a "sure route" to the (always dreaded) "FaultISR."

  • Test ... (this is a test of the forum's "Reply Increment" function.)    Kindly disregard...

    Note: - Reply Field (instantly & correctly) incremented.     Viewed Field - in stark contrast - remained (impossibly) at ZERO!

  • Thanks a lot cb1_mobile, I am glad that it worked. sometimes we would be in loop upon within the box thoughts, once again thanks a lot for your guidance...

  • Glad to have assisted - and thank you too - Kurian.     Continue to read/review the "Peripheral Driver Library User Guide" - this proves (almost) as, "Valuable as gold" - and will "ease, speed & enhance" your programming efforts!

    Might you, "Click upon my earlier post," (the one arriving @ 03:28, Nov 28) which properly, "Resolved your Issue."     Best of luck to you & continue to "Make Progress..."