<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>[En-Nut-Discussion] Re: RE: Full Duplex operation</TITLE>
</HEAD>
<BODY dir=ltr>
<DIV>it aint i2c. 9346 is a 3-wire microwire serial
eeprom. found the data sheet.</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV> </DIV>
<DIV>essentially command is clocked out by realtek on rising edge.</DIV>
<DIV> </DIV>
<DIV>realtek outputs (can be read on rising edge of clock)</DIV>
<DIV>"1" start bit</DIV>
<DIV>2 bit command, can't remember what read is. i
think "11"</DIV>
<DIV>6 bit WORD address. eg "000000"</DIV>
<DIV> </DIV>
<DIV>serial eeprom on fall edge outputs "0" bit, then 16 bits MSbit
first. I'm not 100% on the 0 bit. going from memory here.</DIV>
<DIV> </DIV>
<DIV>So 9 clks for command in , 1+16 clocks to read first word out.</DIV>
<DIV> </DIV>
<DIV>repeats n times. I assume the realtek will read in address 0000 to
n sequentially. whatever n is.</DIV>
<DIV> </DIV>
<DIV>----------</DIV>
<DIV>There is a command in one of the realtek registers to initiate a reload
of the 9346. Data sheet indicates it should complete within 2ms of the
AutoLoad.</DIV>
<DIV>It should be possible to do this, reset a counter first, have clk on an
edge interrupt. then count the interrupts, then on 11th, 12th, ...
put the CONFIG data bits on an output pin, count another 9bits of command,
then output the next word, and so on.</DIV>
<DIV> </DIV>
<DIV>anyone want to try it? I won;t be able to till end of next
week.</DIV>
<DIV> </DIV>
<DIV>I know the Rabbit implementation is very close to this.</DIV>
<DIV><FONT size=2></FONT> </DIV></BLOCKQUOTE>
</BODY>
</HTML>