Skip to main content
SJadh.1
Associate
June 2, 2020
Question

Is it possible to generate 114khz frequency on stm8s gpio pin

  • June 2, 2020
  • 2 replies
  • 1046 views

..

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    June 2, 2020

    You'd likely want to use a pin tied to a TIM peripheral, and then configure the timer to drive the pin.

    The frequency will dictate the period and prescaler used, and perhaps the overall frequency you clock the part. Need to be integer multiples.​

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    SJadh.1
    SJadh.1Author
    Associate
    June 5, 2020

    Thank you clive1