Skip to main content
Visitor II
April 24, 2024
Solved

STM32G474VET3: pin names for motor controller PWM out question

  • April 24, 2024
  • 2 replies
  • 1727 views

HI I need to know the pin names for motor controller PWM out 

PWM High and PWM LOW

i can not directly PWM out function for pins

Also need capture control pin details to measure the PWM.

As i have to assign these pins for controller

    This topic has been closed for replies.
    Best answer by Andrew Neil

    eg, for the High Resolution Timer (HRTIM):

    AndrewNeil_0-1713950383553.png

     

    have you also looked at Application Note AN4013, Introduction to timers for STM32 MCUs:

    https://www.st.com/resource/en/application_note/an4013-introduction-to-timers-for-stm32-mcus-stmicroelectronics.pdf

     

    2 replies

    Super User
    April 24, 2024

    All the pin names & Alternate Functions are listed in the chip's datasheet.

    sagAuthor
    Visitor II
    April 24, 2024

    TIM17_BKIN,
    USB_CRS_SYNC,
    I2C2_SMBA,
    SPI2_MISO,
    TIM1_CH3,
    USART1_RX,
    COMP6_OUT,
    TIM2_CH4,
    TIM8_BKIN, SAI1_D1,
    SAI1_SD_A,
    EVENTOUT

     

     

    Where is the PWMout from above alternate fucntions?

    or how can check CCP for pwm measurement

    Super User
    April 24, 2024

    You'll also need to look in the Timer descriptions in the Reference Manual - that'll tell you what Alternate Functions are used ...

    sagAuthor
    Visitor II
    April 24, 2024

    Hope i can see CCR pins in datasheet for input pwm capture