LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Separating Read and Write SPI action on NI USB-8451

Hi,
 
I have a temp sensor (Slave) with an SPI interface and the NI USB-8451 (Master) to communicate with the temp sensor. The Data of the Slave is clocked out on the falling edge of the clock (SCLK) , while data is clocked in on the rising edge of SCLK. On the SPI Configuration Property "Clock Phase" I can set the idle state of the clock for the SPI port but that is for one SPI Read Write process (SPI Read Write.vi). How can I separate the Clock phase for a write and read transaction ? I must write to the slave at rising edge and read data from slave at falling edge but the SPI Read Write.vi gives not the possible to do this. Can anyone help me, please.
 
Bye,
 
katsumi
 
 

Message Edited by katsumi on 06-18-2007 03:22 AM

0 Kudos
Message 1 of 2
(2,789 Views)

Dear katsumi

Unfortunately, I don't see a way to tweak LabVIEW's SPI Read/Write functions in such a low-level manner to achieve what you want.

Best regards

Philipp

0 Kudos
Message 2 of 2
(2,729 Views)