Skip to main content
dhutchison1945
Associate III
Mar 29, 2010 12:07 PM UTC
Question

writing on the eeprom without disabling external interrupts

Posted on March 29, 2010 at 14:07

writing on the eeprom without disabling external interrupts

    This topic has been closed for replies.

    2 replies

    fggnrc2
    Associate III
    May 17, 2011 1:07 PM UTC
    Posted on May 17, 2011 at 15:07

    The STM8 Family documentation says that, if your device has the read while writing feature and your code doesn't program a block, there is no need to disable interrupts.

    Even if your code rewrites a block, the interrupts are disabled by hardware...

    So, in my opinion, there is no need to disable interrupts.

    Ciao

    EtaPhi

    dhutchison1945
    Associate III
    May 17, 2011 1:07 PM UTC
    Posted on May 17, 2011 at 15:07

    thanks EtaPhi,

    as always,you have a deep knowledge of the mcu :)

    b.r.

    spectre