Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Ads

Discussion Groups

Discussion Groups | Analog Devices DSPs | need help using spi..enabling 8 devices and getting data one by one

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

need help using spi..enabling 8 devices and getting data one by one - dsp_kits - Jul 8 8:39:01 2008



Hi,
  I have to interface 8 codecs(adc) having one channel each with 
bf533 ....for that I am using Spi interface..now i have to enable them 
one by one and transfer data from them to the memory of dsp kit 533...

question1:
  can anybody suggest how can i enable first one and transfer its 
data,then enable 2nd one and transfer its data through to the 8th one? 

question 2:
  May i use pf pins to first enable the codec and then transfer data 
using spi???

If anybody has worked on it or any one has any helping code of spi with 
codec or so do gimme a favour...

Thanks in advance..

------------------------------------



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

Re: need help using spi..enabling 8 devices and getting data one by one - Mike Rosing - Jul 8 9:12:55 2008

An easy way to do that is a 1 of 8 decoder.  Use 3 GPIO's to select
one of the 8 devices, and tie the spi lines to all devices in parallel.

Patience, persistence, truth,
Dr. mike

On Tue, 8 Jul 2008, dsp_kits wrote:

> Hi,
>   I have to interface 8 codecs(adc) having one channel each with
> bf533 ....for that I am using Spi interface..now i have to enable them
> one by one and transfer data from them to the memory of dsp kit 533...
>
> question1:
>   can anybody suggest how can i enable first one and transfer its
> data,then enable 2nd one and transfer its data through to the 8th one?
>
> question 2:
>   May i use pf pins to first enable the codec and then transfer data
> using spi???
>
> If anybody has worked on it or any one has any helping code of spi with
> codec or so do gimme a favour...
>
> Thanks in advance..
>

------------------------------------



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