EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Slowing Down ShiftIn/ShiftOut Clock Speed

Started by Andy Michalicek April 7, 2003
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 ">http://docs.yahoo.com/info/terms/


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.





The 2024 Embedded Online Conference