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

Discussion Groups

Discussion Groups | Analog Devices DSPs | Using the SPI driver

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

  

Post a new Thread

Using the SPI driver - rtstofer - Dec 1 3:45:17 2007



I have the BF537 Stamp board and I need to use the SPI gadget.  Using
the adsp-spiadc example I have some of what I need.

Goals

1) Chip select idles high <= not met
2) Chip select goes low at start of transaction and stays low <= not met
3) Write 3 16 bit words, MSB first <= works except chip select toggles
4) Read 2 16 bit words, MSB first <= not met, read function doesn't
even clock (?)
5) Chip select goes high

Wandering through the files I have found, there doesn't seem to be
much of a description on how to make this happen.  I wandered over to
docs.blackfin.uclinux.org and there isn't much info there either.

An acceptable solution to the chip select is to use a GPIO not related
to the SPI gadget.  Suggestions on implementing this will be most welcome.

Any thoughts or references?

Richard



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