NEW! RS-232
/ I²C-Adapter & Parallel I/O Module
-
I2C Master
Interface: This software works with the SX Demo Board provided by
Parallax to write to, read from or erase the serial EEPROM memory device.
-
I2C Slave Interface: This software
works with the SX Demo Board provided by Parallax to write to, read from
or erase the serial EEPROM memory device.
-
I2C Slave
-
I2C Master
-
I2C Multi-Master
-
I2C Dual-channel Multi Master 11/09/99
Integrations:
-
19.2kbaud UART, two 8-bit
A/D converters, two
PWM outputs, one
I2C serial link for
EEPROMs, two 16-bit independent
timers, Time clock (keeps count in msec), a software execution path switcher
and push button detection and debounce. SX Demo Enhanced 2.0 by Craig Webb
of Parallax Inc.
-
19.2k baud UART, two 8-bit
A/D converters, two
PWM outputs, one
I2C serial link for
EEPROMs, two 16-bit independent
timer, and all implemented as Virtual Peripherals, in software. This is
compatible with the SX Demo Board from Parallax, and is the same code is
shipped with the Parallax Inc.
tools.
Also:
William
Says:
I was debugging my project that uses an I2C EEprom and
found a small bug in the example VP code. At the end of the I2CRead subroutine,
after sending a Stop, the example code sends an ACK. This appears to cause
the Start sent with the next command to fail, not a big deal since the Start
is repeated again. The documentaton for the I2C EEproms, under READ OPERATIONS,
states:
"... The 24xx00 will then issue an acknowledge and transmits
the eight bit data word. The master will not acknowledge the transfer but
does generate a stop condition and the device discontinues transmission (Figure
8-2). After this command, ..."
Comment out the 2 lines that send the ACK and it works
fine:
:non_seq JMP Send_stop ; no, signal stop & exit
; doc says "The Master will not acknowledge the transfer but does
generate a stop ..."
; CLRB out_bit ; yes, setup acknowledge bit
; CALL Write_bit ; and send it
RETP ;leave and fix page bits
Comments: