LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI arduino uno / labview

Hi,

I’m experimenting with the Arduino Uno’s SPI using the labview arduino toolkit. Need to send registers to a device with a SCLK: 2Mhz and the timing between two registers needs to be 2tSCLK. How can I manage this 2tSCLK between the two registers?

2tSCLK = 1uS

In my VI I can successfully write the bytes with the array, but when I check the signal on the oscilloscope I notice between two registers the timing is 250uS and while loop: 500uS.

Hope someone can help me with this.

VI:

SPIarduino.PNG

Oscilloscope:

spiRegT.jpg

byte 1: decimal value: 8

spiRegT1.jpg

0 Kudos
Message 1 of 1
(7,480 Views)