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.

TM4C129XNCZAD: PWM Generator

Part Number: TM4C129XNCZAD

Dear Sir,

I want to generate PWM signal . 

Can I use PD4 as PWM generator?

In multiplexing the PD4 is not showing as PWM whereas Pin details its show as PWM0 .Kindly refer below image.

Some conflict 

PD4-----A4----AIN7----U2RX-----T3CCP0-----SSI1XDATA2

  • Hello Rajesh,

    PD4 in the datasheet is showing that it is a Timer pin which is PWM capable from the Timer peripheral. This is not a pin that is in the PWM peripheral. You can configure that timer to use it as a PWM but you wouldn't have all the feature the PWM module gives.

    The below image shows how PWM peripheral outputs are marked in the datasheet:

    Best Regards,

    Ralph Jacobi

  • Dear Ralph,

    TM4C129XCNZAD

    In pin_map.h it show

    #define GPIO_PD0_I2C7SCL              0x00030002ually 
    #define GPIO_PD0_T0CCP0               0x00030003
    #define GPIO_PD0_FAN0PWM4         0x00030004
    #define GPIO_PD0_C0O                     0x00030005
    #define GPIO_PD0_SSI2XDAT1           0x0003000F

    it show FAN0PWM4 what it means?

    It is not PWM?

    Actually In my designed PCB only this pin is accessible to me so can we use this pin?

  • Hello Rajesh,

    #define GPIO_PD0_FAN0PWM4         0x00030004

    Where did you get this pin_map.h file? This is not what we provide with TivaWare on TI.com. I don't understand how/where you got this pin_map.h file.

    What you are showing is for a peripheral on a non-public device family which we cannot support on E2E.

    Actually In my designed PCB only this pin is accessible to me so can we use this pin?

    I would say your best bet is to use Timer0 in PWM mode and output the PWM on PD0.

    Best Regards,

    Ralph Jacobi