BX01 SPI BUS

Started by adriaanswan April 19, 2006
Hi,

Does anyone know how I would go about connecting another device to the
SPI bus on the BX01. I have found source code for using the second
device in this group but no information on connecting it.

I want to connect this magnetometer
http://www.sparkfun.com/commerce/product_info.php?products_id$4
After more research I have come up with the following schematic
http://auv.co.za/images/SPIBusSchematic.bmp

Is this correct?

--- In b..., "adriaanswan" wrote:
>
> Hi,
>
> Does anyone know how I would go about connecting another device to
the
> SPI bus on the BX01. I have found source code for using the second
> device in this group but no information on connecting it.
>
> I want to connect this magnetometer
> http://www.sparkfun.com/commerce/product_info.php?products_id$4
>
> http://auv.co.za/images/SPIBusSchematic.bmp

I'm not a BX-01 user so I can't comment on the chip selects (/CS) but
MOSI and MISO must crossover. MasterOutSlaveIn -> MasterInSlaveOut,
and vice versa.
Tom