Skip to main content
Visitor II
May 31, 2006
Question

I2C problem (ST72F321)

  • May 31, 2006
  • 2 replies
  • 803 views
Posted on May 31, 2006 at 09:13

I2C problem (ST72F321)

    This topic has been closed for replies.

    2 replies

    yose_yasAuthor
    Visitor II
    May 25, 2006
    Posted on May 25, 2006 at 18:39

    hi,

    I use the communication between ST72F321 and memorie EEPROM 24c65 of microchip. all alone program I2C functions well in Reading & writing in the memory. but when I use interrupt Real Time Clock (RTC) [ MCCSR eo Timer B ], the bus I2C is frozen, I do not know why!? if you have an idea, pleaze help. thank you

    yose_yasAuthor
    Visitor II
    May 31, 2006
    Posted on May 31, 2006 at 09:13

    hi, i hope to have an unswer.

    I'm going explaine now the program:

    i'm using GPS data via SCI bus, en then each 10 second we should store data GPS in I²C memory.

    the problem is when 10s is reached, i can't write to I²C data register ( I²C bus is frozen).

    N.B: i'm not using Active halt Mode, the MCU is in run mode.