Discussion forum for the BasicX family of microcontroller chips.
|
I am talking to a I2c device that is extremely slow (~20 khz). Is there a way to slow down the clock used in the ShiftIn/ShiftOut commands? Andy |
|
|
|
From: Andy Michalicek <> > I am talking to a I2c device that is extremely > slow (~20 khz). Is there a way to slow down the > clock used in the ShiftIn/ShiftOut commands? Not unless you use a slower crystal or something. ShiftIn and ShiftOut are set for fixed speeds. -- Frank Manning -- NetMedia, Inc. |
|
|
|
If the BasicX is being used as the bus master then it has full control over the buss speed. Just place some delays in the code. -----Original Message----- From: Andy Michalicek [mailto:] Sent: Monday, April 07, 2003 11:53 AM To: Subject: [BasicX] Slowing Down ShiftIn/ShiftOut Clock Speed I am talking to a I2c device that is extremely slow (~20 khz). Is there a way to slow down the clock used in the ShiftIn/ShiftOut commands? Andy [Non-text portions of this message have been removed] |
|
Bit Banging it is, then. --- In , "Frank Manning" <fmanning@n...> wrote: > From: Andy Michalicek <andrew.michalicek@h...> > > > I am talking to a I2c device that is extremely > > slow (~20 khz). Is there a way to slow down the > > clock used in the ShiftIn/ShiftOut commands? > > Not unless you use a slower crystal or something. ShiftIn and > ShiftOut are set for fixed speeds. > > -- Frank Manning > -- NetMedia, Inc. |