10-30-2006 01:48 PM
10-30-2006 02:58 PM
11-10-2006 01:34 PM
06-30-2009 12:23 PM
can someone look at michael's code please?
I can't get dataready to go TRUE, I think the buffer doesn't get full and don't call de callback.vi, why?
thanks in advance
07-01-2009 08:20 AM
I am on and off working of a SPI driver for the AD7476A on the BF548. The first thing you want to do is verify that the clock is working by monitoring it with a scope when you perform a SPI transaction. If you don't see a clock, then you have the wrong port selected. Also, check the MOSI or MISO is setup properly in the code (sorry for the lack of detail, I am going off the top of my head), you should be setup MISO (Master Input Slave Output).
After that, there are a bunch of parameters that need to be verified to match your situation. I would put up an example of my driver, but it is a work in process. I can do three quierries, then it crashes. So I am in the stage of verifying all the setup parameters. Also, there is a decent explanation of each parameter in the help files!
Hope this helps...
Joe
07-07-2009 12:49 PM
Hi:
The I/O Analog Read (AD7476) from the Blackfin Pallete works great..
I'm going to use that as a base for my work, my question now is, I want to get the buffer full (imagine 1024 samples) and then call a VI that process all the data..
Do I use the AD7476A open callback VI ?
Best regards
08-28-2009 11:54 AM
Hi, Michael P.
You code works fine, except for the sub-buffers..
One question, I need to use several ADC's 7476A... how do i use it?
I know the lines are shared (SCLK, MISO and MOSI) but how do I change between ADC's?
I just use digital ouputs to change CS, or is there other way to do it? I know there is a SPI vi that has an input as the port number, is this the better way?
Thanks,
António Veríssimo de Freitas