LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

ad7476A and device buffer size

Solved!
Go to solution

Hi, I'm using the BF Analog Read ad7476a vi (modified)!

But I can't get the size I want to the filled by the buffer..

Somehow I think the buffer is limited to an 128 elements array, but I defined it with 256, when I show the initialized array it only says I have 128 elements.. allthough using the array size function it shows 256..

If this is a limitation by blackfin, please tell me the best way to build an array with progressive buffer reads..

 

P.S. - I need a 10Khz sampling and a lots of samples to the filled into an array, or Real Time Calculations, but I don't know how to do it, please help me!

 

Thanks in advance

António Veríssimo de Freitas
Universidade de Aveiro Student
0 Kudos
Message 1 of 4
(7,093 Views)

Hi,

 

What is your version of LabVIEW and BlackFin module?

 

Regards,

0 Kudos
Message 2 of 4
(7,062 Views)
Solution
Accepted by topic author freitas

Hi there:

 

I discovered the problem.. the 128 size is a parameter that can be changed when "Configuring Target - Debug Options" (ADSP-BF537 in my case)!

Thanks

António Veríssimo de Freitas
Universidade de Aveiro Student
0 Kudos
Message 3 of 4
(6,974 Views)

Hi guys:

 

I need your help again, here is the problem.

I'm using AD7476A via SPI using circular buffer, the problem is, I want to be shure that whenever I read a subbuffer (after callback), I don't lose any data from the input signal, but using debug mode I can't know because the refresh rate is too slow..

Please look at my code ant tell me this is possible, I will need much higher refresh rate about 50KHz!

Just one more thing, I need to use several ADC's, I know how to config each one, but how to make them work at the same time?

Thanks in advance

António Veríssimo de Freitas
Universidade de Aveiro Student
Download All
0 Kudos
Message 4 of 4
(6,917 Views)