DSPRelated.com
Forums

McBSP for multi-SPI

Started by jrobillart February 26, 2002
Hi,

How can I connect many components with SPI interface on the same
McBSP port of a TMS320C5416 ?

Thanks,

Jerome



On Tue, 26 Feb 2002 20:26:21 -0000, you wrote:

>Hi,
>
>How can I connect many components with SPI interface on the same
>McBSP port of a TMS320C5416 ?

If they are really SPI (Clock, Data in, Data Out and ChipSelect) then
you connect them all to the SPI bus (clock,din,dout) and use a GPIO
line for the chip select of each device.

I2C is a bit nicer for things like this, each device has a unique ID
that can be addressed over the bus and you don't need a seperate chip
select for each.

Brian

-----------------
Brian C. Lane (KC7TYU) Programmer
www.shinemicro.com RF, DSP & Microcontroller Design