From: Makarand Purohit on
Hi,
I am trying to read the data from a sensor(ADIS16006 - SPI output). I
have a BF533 EZ kit lite board(older version without P6). I have somehow
managed to get the connections made from the expansion interface. As per my
limited knowledge I need to configure BF533 as master and the sensor device
as slave to read the data. The only example with VDSP++ which uses SPI is
the Audio talkthrough (which is only to configure the audio codec). Please
help me with the programming the various registers properly in general and
SPI_FLG in particular.

Thanks,
Makarand Purohit


From: Vladimir Vassilevsky on


Makarand Purohit wrote:

> Hi,
> I am trying to read the data from a sensor(ADIS16006 - SPI output). I
> have a BF533 EZ kit lite board(older version without P6). I have somehow
> managed to get the connections made from the expansion interface. As per my
> limited knowledge I need to configure BF533 as master and the sensor device
> as slave to read the data. The only example with VDSP++ which uses SPI is
> the Audio talkthrough (which is only to configure the audio codec). Please
> help me with the programming the various registers properly in general and
> SPI_FLG in particular.

My dear friend from India, who ventured out the difficult way of the
sacred knowledge. Behold: the SPI programming is explained in the very
detail at the "Blackfin BF533 hardware manual" page 437.


Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com