[En-Nut-Discussion] Re: RE: Full Duplex operation

Damian Slee damian at commtech.com.au
Fri Mar 12 14:51:47 CET 2004


it aint i2c.  9346 is a  3-wire microwire serial eeprom.  found the data sheet.

	 
	essentially command is clocked out by realtek on rising edge.
	 
	realtek outputs (can be read on rising edge of clock)
	"1" start bit
	2 bit command, can't remember what read is.  i think "11"
	6 bit WORD address.  eg "000000"
	 
	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.
	 
	So 9 clks for command in , 1+16 clocks to read first word out.
	 
	repeats n times.  I assume the realtek will read in address 0000 to n sequentially.  whatever n is.
	 
	----------
	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.
	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.
	 
	anyone want to try it?  I won;t be able to till end of next week.
	 
	I know the Rabbit implementation is very close to this.
	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040312/ef22b964/attachment-0001.html>


More information about the En-Nut-Discussion mailing list