LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Arduino MEGA 2560 + LabView

excuse me, it was 5 us

0 Kudos
Message 11 of 16
(1,835 Views)

That is strange that you would get that error with my VI.  Did you use my VI unmodified?  If yes, I would try and probe the "SPI Data" wire and the output of "Array Size" in "SPI Send Receive.vi" while it's running to see what is actually being sent to the subVI.

0 Kudos
Message 12 of 16
(1,835 Views)

Yes, I used your VI unmodified.

I just got a good CS in pin 53. I tried with several DIO pins.

Later I check all block diagram for any problem to SPI Data because I always got the 8 most significant bits.

00101010

0 Kudos
Message 13 of 16
(1,835 Views)

Any DIO pin should work for the CS (Chip Select).  Pin 53 is designated as SS (Slave Select) which is only required when the Arduino is being used as a SPI slave device.

0 Kudos
Message 14 of 16
(1,835 Views)

I am going to do proofs today again.

Later I write you how they were

0 Kudos
Message 15 of 16
(1,835 Views)

Hello Nathan. Today I got those signals at oscilloscope.

I tried transfering 1100101010101010.

Yellow signal is SPI Data (pin51) and blue signal is clock signal.

I don't know why bits sent don't have a continous transfer...first 8 MSB are sent.

I need 16 bits are sent continuosly.DS0001.BMP

0 Kudos
Message 16 of 16
(1,835 Views)