cancel
Showing results for 
Search instead for 
Did you mean: 

iic slave code

nils
Associate II
Posted on April 23, 2003 at 13:03

iic slave code

4 REPLIES 4
nils
Associate II
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)

simonharrison9
Associate II
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 ]
nils
Associate II
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.
nils
Associate II
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