Skip to main content
carlo2
Associate II
May 21, 2003 10:38 AM UTC
Question

I2C on EMU3 with ST72321AR6

Posted on May 21, 2003 at 12:38

I2C on EMU3 with ST72321AR6

This topic has been closed for replies.

7 replies

carlo2
carlo2Author
Associate II
Mar 24, 2003 11:27 AM UTC
Posted on March 24, 2003 at 12:27

I try to use I2C HW in st72321, but i can't write registers with EMU3.

Registers appear but if i try to write them an error message appears saying that i try to write into a reserved area. In fact, if I watch in MCU configuration the I2C regosters area seems to be reserved, (from 0x18 to 0x1E) and if i try to reconfigure another error appears.

Is it a bug or am i doing something wrong?
shreya
Visitor II
Mar 27, 2003 6:22 AM UTC
Posted on March 27, 2003 at 07:22

It is a bug but fortunately this need not stop you. You could use one of the other 321AR7 or 321AR9 package for emulation for the time being.

florent2399
Associate
Apr 3, 2003 11:28 PM UTC
Posted on April 04, 2003 at 01:28

Any bug as well for the EMU3MDT10 (ST72264)? The I2C cell seems not OK on the emulator side....

johan239955_stm1_stmicro
Associate III
Apr 4, 2003 1:12 AM UTC
Posted on April 04, 2003 at 03:12

Yeph there is one.

I made some tests using STVD7 V2.5.1 and V2.5.2 and it seems that the I2C signal stop right after the start bit. At the first clock pulse to be exact.

The same program with a device (ST72264G2) works fine.

Jojo

florent2399
Associate
Apr 4, 2003 3:53 AM UTC
Posted on April 04, 2003 at 05:53

I got the same symptoms (not me, the emulator!)...Nothing after the start bit; any release/update to clear this problem?

Thanks

Florent
stephanie
Visitor II
Apr 4, 2003 4:58 AM UTC
Posted on April 04, 2003 at 06:58

A study is under doing in ST tools department concerning the MDT10 emu3 and the I2C. It will be corrected in the next release.

Workaround: any version of STVD7 older than the 2.5.1 work!
stephanie
Visitor II
May 21, 2003 10:38 AM UTC
Posted on May 21, 2003 at 12:38

The patch is now available on this site (download part: ST72264Gx I2C correction for ST7MDT10-EMU3). Make a search on I2C to find it easily.

Good work!