STM32 PWM channel configuration pins

Publisher:chi32Latest update time:2018-07-06 Source: eefocusKeywords:stm32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

I have always been confused about PWM until I saw this description,
TIM1_ETR PA12 PE7 
TIM1_CH1 PA8 PE9 
TIM1_CH2 PA9 PE11 
TIM1_CH3 PA10 PE13 
TIM1_CH4 PA11 PE14 
TIM1_BKIN PB12 PA6 PE15 
TIM1_CH1N PB13 PA7 PE8 
TIM1_CH2N PB14 PB0 PE10 
TIM1_CH3N PB15 PB1 PE12 


TIM2_CH1_ETR PA0 PA15 PA0 PA15 
TIM2_CH2 PA1 PB3 PA1 PB3 
TIM2_CH3 PA2 PB10 
TIM2_CH4 PA3 PB11 


TIM3_CH1 PA6 PB4 PC6 
TIM3_CH2 PA7 PB5 PC7 
TIM3_CH3 PB0 PC8 
TIM3_CH4 PB1 PC9 


TIM4_CH1 PB6 PD12 
TIM4_CH2 PB7 PD13 
TIM4_CH3 PB8 PD14 
TIM4_CH4 PB9 PD15


TIM5_CH4 Channel 4 of TIM5 is connected to PA3 LSI internal clock is connected to the input of TIM5_CH4 for calibration

Keywords:stm32 Reference address:STM32 PWM channel configuration pins

Previous article:STM32F103_Frequency meter
Next article:STM32F207 TIM1 compares output and outputs multiple channels with different frequencies

Recommended ReadingLatest update time:2024-11-23 07:54

STM32 controls the LCD driver driven by ILI9341
/* Select BANK1-BORSRAM1 to connect TFT, address range is 0X60000000~0X63FFFFFF * FSMC_A16 connects to DC (register/data select) pin of LCD * 16 bit = FSMC corresponds to HADDR * Register base address = 0X60000000 * RAM base address = 0X60020000 = 0X60000000+2^16*2 = 0X60000000 + 0X20000 = 0X60020000 * When a differe
[Microcontroller]
STM32 learning - low power mode
Chip model: STM32F10X Reference: STM32F10XXX User Manual  Zhu Youpeng's MCU Complete Learning Course In the power management system of STM32, software engineers need to focus on the selection and implementation of low-power modes. When designing a product, there will be situations where lower power consumption is requ
[Microcontroller]
STM32 learning - low power mode
stm32 compile error..........ER_IROM1: File exists problem
The chip model is STM32F103CB (128K). A constant array is defined at address 801F000 in the project. When compiling, an error occurs: ER_IROM1: File exists ........ It is found that the chip model was previously set to STM32F103C8 (64K) for the convenience of the program. The program space size is different, so an er
[Microcontroller]
Summary of STM32 program transplantation skills
1. The project replaces different STM32 chips eg: stm32f103rct6 ---- stm32f103c8t6: 1.1. Modify the chip Click the magic wand, and in the menu bar that appears, select the chip in the Device option. 1.2. Modify the startup file Here is an example of changing RCT6 to C8T6. Because the flash capacity is different
[Microcontroller]
Summary of STM32 program transplantation skills
STM32 study notes 9——Structure assignment problem
TCP/IP is used to report collected data, and a data buffer is established in the form of a structure. When assigning initial values ​​to the structure as a whole (for example, the frame header can be assigned values ​​first), it is found that the structure can only be assigned initial values ​​as a whole when it is de
[Microcontroller]
Design of PWM Function Based on AVR Microcontroller
1. Key points of timer/counter PWM design According to the characteristics of PWM, the following points should be noted when using the ATmega128 timer/counter to design output PWM: 1. First, the PWM frequency range to be output should be determined according to the actual situation. This frequency is related to the ob
[Microcontroller]
Design of PWM Function Based on AVR Microcontroller
LED dimming and color adjustment method based on two-channel PWM
introduction In 2002, David Berson and others from Brown University in the United States discovered a third type of photoreceptor cell on the retina of mammals, which mainly plays a role in regulating human endocrine, controlling physiological rhythms and other non-visual biological effects. Lighting design
[Power Management]
LED dimming and color adjustment method based on two-channel PWM
Online UPS with PWM Rectification Control Technology
1 Overview PWM front-end controlled rectifier is widely used in three-phase AC/DC voltage system due to its advantages such as DC voltage change, input power factor correction (PFC) and input current harmonic control. The three-phase AC/DC voltage system composed of front-end rectifier, D
[Power Management]
Online UPS with PWM Rectification Control Technology
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号