Skip to main content
Visitor II
April 23, 2003
Question

iic slave code

  • April 23, 2003
  • 4 replies
  • 1027 views
Posted on April 23, 2003 at 13:03

iic slave code

    This topic has been closed for replies.

    4 replies

    nilsAuthor
    Visitor II
    February 19, 2003
    Posted on February 19, 2003 at 11:07

    Am looking for i²c slave driver software in assembler for a st6200 (the smaller the better)

    Visitor II
    February 20, 2003
    Posted on February 20, 2003 at 11:28

    Hi,

    How fast is the clock from the master?

    Simon

    [ This message was edited by: sjh on 12-11-2003 16:26 ]
    nilsAuthor
    Visitor II
    February 21, 2003
    Posted on February 21, 2003 at 06:25

    Speed is not critical, I was hoping for 100kHz, but can define it to run much slower.
    nilsAuthor
    Visitor II
    April 23, 2003
    Posted on April 23, 2003 at 13:03

    Ok, wrote a small program that does the job, since I'm a firm believer in open source here it is...

    3 Byte transmision: device address, data address, data read/write

    runs @ 10kHz (8MHz resonator) and does not hold the I²C spec.

    ________________

    Attachments :

    iic_rtx.asm : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0I3&d=%2Fa%2F0X0000000bXD%2FhBxNvBDlT2FU6x.lHW6ccTg5fT12MDoQuNZWFa8Rwfo&asPdf=false