6649 views|1 replies

251

Posts

0

Resources
The OP

STC MCU PWM wave frequency calculation [Copy link]

STC microcontroller, I use 11.0592MHz crystal oscillator, Timer 0 as PCA input source, Timer 0 is set to 1T mode and auto-reload mode, if I want to generate 1KHz PWM wave, what should the initial value of Timer 0 be set to? Is it TH0=TL0=2 to the 8th power - 11.0592MHz/256/1KHz=256-43=213? Thank you all :) :) :)
This post is from MCU

251

Posts

0

Resources
2
Heroes on the other side, please look over here, the questions here are difficult to answer, please don't just pass by and ignore them. Thank you. :) :) :) :kiss:
This post is from MCU

Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list