01-24-2009 09:10 PM
I am trying to use the Blackfin 548 SPI port with the ADC7476A SPI Stamp board.
I tried the provided ADC7476A LabVIEW drivers, but received linking errors.
Last two lines read:
[Error li1021] The following symbols referenced in processor 'p0' could not be resolved:
'lv_adi_AD7476A_Control [_lv_adi_AD7476A_Control]' referenced from '.\BF_AD7476A_Control.doj'
'lv_adi_AD7476A_Open [_lv_adi_AD7476A_Open]' referenced from '.\BF_AD7476A_Open.doj'
I also tried to build up an example is VisualC++ per the document "adi_spi_dma.pdf", but the compiler complained that this chip was not supported with this device.
I did also read that the touch screen display and the Serial Flash memory are shared devices on the bus with the open SPI connection. The Visual DSP help for the SPI bus states that SPI flag pin for EZ-Extender board interface that the SPI0SEL3 flag pin should be set becuase SPI0SEL1 and SPI0SEL2 are dedicated for the serial flash and touchscreen controller, respectively.
So my question to the experts are, "Is it possible to use the BF548 with the AD7476A?", and if I can not, is there a SPI or SPORT ADC that has drivers that can be implemented on this board? Thanks...
01-29-2009 02:32 PM
Hello,
The source file may give a good indication:
C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\lib\src\drivers\adc\adi_ad7476a.c
#ifndef __ADSP_BRAEMAR__
#error "AD7476A driver is not available for the current processor"
#endif
What this seems to mean is that if you're not using a "Braemar" processor (codename for a certain kind of Blackfin chip), then the driver is not supported. I believe that the Braemar processors are basically the 533 and 537s.
Have a great day!
01-29-2009 04:29 PM
02-03-2009 04:32 PM
Hello Joe,
To answer your question, it is possible to use the generic SPI VI’s to read a SPI based ADC. It will take extra programming without a driver but it is possible.
You would have to write the spi code, which means that you would have to refer to the adi system services driver docs.
Have a great afternoon.