Skip to main content
MGhob.1
Visitor II
February 10, 2022
Solved

Hello We use an advanced timer with an internal clock of 16 MHz in input capture mode We give a pwm signal to tim1 We want Measure the D.Cycle of each pulse Question: What is the maximum frequency that can be given to the input?

  • February 10, 2022
  • 1 reply
  • 1457 views

..

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Not a STM8​ user but presume it would depend on the resolution/granularity you expect in the results.

    For useful duty cycle measurements, perhaps a few hundred KHz.

    If servicing interrupts, likely bound by those saturating too.​

    1 reply

    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    February 10, 2022

    Not a STM8​ user but presume it would depend on the resolution/granularity you expect in the results.

    For useful duty cycle measurements, perhaps a few hundred KHz.

    If servicing interrupts, likely bound by those saturating too.​

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..