Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Slowing Down ShiftIn/ShiftOut Clock Speed

Discussion forum for the BasicX family of microcontroller chips.

Slowing Down ShiftIn/ShiftOut Clock Speed - Andy Michalicek - Apr 7 10:53:00 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





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: Slowing Down ShiftIn/ShiftOut Clock Speed - Frank Manning - Apr 7 11:32:00 2003

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.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: Slowing Down ShiftIn/ShiftOut Clock Speed - Harry J. White - Apr 7 11:36:00 2003

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]




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Slowing Down ShiftIn/ShiftOut Clock Speed - Andy Michalicek - Apr 8 15:45:00 2003

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.




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )