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

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | Network emulation

Discussion forum for the BasicX family of microcontroller chips.

Network emulation - Chris Benton - Jun 15 7:58:00 2000

Hi All,
Does anybody know how to emulate networking on the BX-24?
I want to set up a BX-24 network and control them from a PC something like
the I2C protocol.
Any help would be much appreciated. Chris Benton
East Point Military Museum
www.epmm.com.au





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


Re: Network emulation - Jon Hylands - Jun 15 8:30:00 2000

On Thu, 15 Jun 2000 22:28:57 +0930, "Chris Benton"
<> wrote:

> Does anybody know how to emulate networking on the BX-24?
> I want to set up a BX-24 network and control them from a PC something like
> the I2C protocol.
> Any help would be much appreciated.

It kind of depends on what hardware features of the BX-24 you're
willing to give up for it. If you can give up one of the serial ports
and pin 11 (the HW interrupt pin), then it would be relatively simple
to make a two-wire master/slave bus with one master and an arbitrary
number of slave devices on it. If you wanted a little better
reliability so you could handle longer transmissions, you could add a
clock signal pin as well.

The nice thing about using an interrupt-driven signal line is that the
slaves on the bus can be doing other stuff, and they will get
interrupted when the master has something to say. If the master is
talking to another device, then the slave can go back to whatever it
was doing, and ignore completely what is coming in on the clock and
data lines.

Later,
Jon

--------------------------------------------------------------
Jon Hylands http://www.huv.com/jon

Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
http://www.huv.com





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