From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI communication without sending data

We are using LINX for SPI to communicate between a BeagleBone Black and custom hardware (amplifier that sends voltage values). We can configure the hardware with LINX for continuous or non-continuous reading successfully and now receive signals correctly. We would prefer to use continuous reading (to achieve constant sampling frequency), but it seems this necessitates that we send an array to receive an array. Is there anyway to just listen to an SPI port and read data when available? Or is it necessary to send data?

 

We have instead moved forward with non-continuous communication at variable sampling frequency, which we then re-sample from labview (point by point spline interpolation). This works (finally), but we would definitely prefer continuous reading with hardware specified timing.

 

Anyways, I thought I'd check before abandoning continuous communication entirely.

 

Thanks!

0 Kudos
Message 1 of 1
(980 Views)