Skip to main content
Visitor II
January 28, 2009
Question

max input frequency

  • January 28, 2009
  • 3 replies
  • 878 views
Posted on January 28, 2009 at 10:30

max input frequency

    This topic has been closed for replies.

    3 replies

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:02

    Hi I.Yeganeh,

    I have tried this example using Internal Clock source HSI (16Mhz), and it works correctly, I suggest you to change the input value of frequency and Try the example, this the only way to understand why it has been 50Mhz

    Best Regards

    Bassinux

    lyeganeh9Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:02

    Hi

    maximom clock input frequency parameter

    for stm8s micro is 24 MHZ (datasheet)

    but I2C_EEPROMReadWrite example in the

    stm8sfwlib filder input clock frequency

    set to 50MHZ. why is this?

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:02

    Hello l.yeganeh,

    The maximum frequency available for the I2C peripheral on STM8S is 24MHz. It can not be more as it is the maximum input frequency of the MCU.

    Best regards,

    Seb