LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating with Blackfin

Hi all,

Not sure if this is the right forum, but maybe someone can offer suggestions. We want to communicate with a Blackfin processor through USB and we do NOT have the embedded module. Can you offer places to start such as tutorials, manuals, etc.? Or maybe even LabVIEW, LabWindows, or C code? Thanks.

 

0 Kudos
Message 1 of 17
(8,530 Views)

Hey Redseal94,

 

Are you wanting to program/download code to the flash of the Blackfin or communicate with code that is already running on the Blackfin?

Regards,
Claire Reid
National Instruments
0 Kudos
Message 2 of 17
(8,510 Views)

Not sure if this answers your question, but I want to do tasks such as:

- Switch the output of a line from high to low. I can do this using VDSP++ using something like

adi_flag_Set(CS_DA);

 

- Control the SPI lines. For instance, we have an AD5628 12 bit DAC interfaced to the SPI_MOSI line. How could I output the max analog voltage to say Channel F?

 

 

0 Kudos
Message 3 of 17
(8,505 Views)

Hi Redseal,

 

In order to do this from LabVIEW you will need to get the LabVIEW Embedded Module. Please let me know if you would like me to have someone contact you about getting this Module.

 

 

Regards,
Claire Reid
National Instruments
0 Kudos
Message 4 of 17
(8,494 Views)
I did download the trial version to see how "easy" it is supposed to make it. But it is not that easy, still no communication 🙂
0 Kudos
Message 5 of 17
(8,480 Views)
I have also tried the examples in the embedded software but I always get compile errors such as LVGenIncludes, etc.
0 Kudos
Message 6 of 17
(8,476 Views)

Hey,

 

Check out the LabVIEW Embedded Module for Blackfin Processors 2.5 Help. This might be a good starting point.

 

Also, if you want to let me know the exact errors you are getting I can look into why they might be happening.

Regards,
Claire Reid
National Instruments
0 Kudos
Message 7 of 17
(8,469 Views)

Here is the error I get when I try to use any USB open.

 

*** compiler output ***


C:\WINDOWS>"C:\Program Files\Analog Devices\VisualDSP 5.0\ccblkfn.exe" -g -c -proc ADSP-BF527 -threads -labview -implicit-pointers -I. @.\prjHeaders.lst -DCHeadless -D__vdk -D__USE_FFT_REL45__ -Wsuppress 0001,1661 "Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application\BF_USB_Bulk_Open.c" @.\prjOptions.lst
'\\aries\users\rdresher\My Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
problem opening file `.\prjHeaders.lst'
problem opening file `.\prjOptions.lst'
"Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application\BF_USB_Bulk_Open.c", line 18: cc0005:  fatal error:
          could not open source file "LVCGenIncludes.h"
  #include "LVCGenIncludes.h"
                             ^

1 catastrophic error detected in the compilation of "Documents\LabVIEW Data\Programs\USB\USB 060909\BF527\VDK_Application\BF_USB_Bulk_Open.c".
Compilation terminated.
cc3089: fatal error: Compilation failed

*** linker output ***

Message Edited by Redseal94 on 06-10-2009 03:32 PM
0 Kudos
Message 8 of 17
(8,462 Views)

Hey,

 

What hardware do you have? Do you have the BF 527 EZ Kit? If so, please try running one of the BF 527 example vis.

 

We do have some USB VIs for BlackFin, but I am not sure if they are supported for the BF527. We are currently investigating this.

Regards,
Claire Reid
National Instruments
0 Kudos
Message 9 of 17
(8,457 Views)
Yes I do have a BF527. Are you saying that USB communication with it is not possible at this time using LabVIEW?
0 Kudos
Message 10 of 17
(8,447 Views)