STM8 six-step PWM output for motor control

Publisher:asd999dddLatest update time:2020-07-06 Source: eefocusKeywords:STM8 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

When complementary outputs are required on one channel, the preload bits are OCiM, CCiE and CCiNE. These preload bits are transferred to the shadow register bits when a COM commutation event occurs. This allows you to pre-set the next step configuration and modify the configuration of all channels at the same time. COM can be generated by software by setting the COMG bit in the TIM1_EGR register, or by hardware on the rising edge of TRGI.


Figure 73 shows the OCx and OCxN outputs in three different configurations when a COM event occurs.

STM8 generates six-step PWM, example using COM (OSSR=1)
(Figure 73: Example of STM8 generating six-step PWM using COM (OSSR=1))

Keywords:STM8 Reference address:STM8 six-step PWM output for motor control

Previous article:STM8 brake function motor control
Next article:STM8 PWM mode

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号