2024-04-24 01:35 AM - last edited on 2024-04-25 05:51 PM by SofLit
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
Solved! Go to Solution.
2024-04-24 02:20 AM
eg, for the High Resolution Timer (HRTIM):
have you also looked at Application Note AN4013, Introduction to timers for STM32 MCUs:
2024-04-24 01:44 AM
All the pin names & Alternate Functions are listed in the chip's datasheet.
2024-04-24 01:52 AM
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
2024-04-24 02:01 AM
You'll also need to look in the Timer descriptions in the Reference Manual - that'll tell you what Alternate Functions are used ...
2024-04-24 02:12 AM
Are you aware of it?
Reference manual is fine, but still i didnt found straight away? like other controllers alternate fucntions showos EPWM or PWM
2024-04-24 02:20 AM
eg, for the High Resolution Timer (HRTIM):
have you also looked at Application Note AN4013, Introduction to timers for STM32 MCUs:
2024-04-24 02:33 AM
Thanks Andrew for your quick support.
Yes this will work fine for for pwm.
Also input capture compare for any pwm incoming signal will use below TIMx_CCRx
2024-04-24 02:53 AM
Hope i can see CCR pins in datasheet for input pwm capture