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.

PWM using timer 0 for Tiva C series

Hi, I had generated PWM signal using timer 0 on the pin Pb6. But I can't able to view the output on the logic analyzer of the Keil MDK. I had tried to add portb.6 signal on the logic analyzer but failed , need help.

  • Hello Nithin,

    Did you check the Keil MDK Troubleshoot site and document? I bet TM4C is doing it fine unless there is a coding error. Also how do you know that Timer-0 PWM signal is working fine in the first place if the LA is not working (Just a thought)

    Regards

    Amit

  • Hello Amit,

                     I had already viewed signals in the logic analyzer for GPIO and systick. Same way I had tried for timer0 PWM but failed. I have changed the debug DLL and done proper option settings.For GPIO and systick I had done the texasware codings,but I can't find any coding for PWM using timer0 in texasware. Also I want to know whether any API's are provided for timer0 PWM. I had attached my code along this please go through it.

    Regards

    Nithin

    Timer0APWM_4F120.zip
  • Hello Nithin

    Do you mean TIVAWare instead of "texasware"?

    It could be possible that the code has a problem. Will check and let you know.

    Regards

    Amit

  • Hello Amit,

                       I had got this code from from EDX course. Actually I am beginner in Tiva C series so I had downloaded all the lab files from EDX.I had got Texasware , labware subfolders in the Keil folder.Also I had downloaded launchpadware there I can find the driver libraries,API's, but can't find any timer0PWM API's. I had not at all downloaded any files such as Tivaware that you have mentioned.

    Regards,

    Nithin