Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How fast can I send commands using SPI in a NI8451 from python?

Solved!
Go to solution
I am using SPI Communication with NI8451 from a python code. I want to know how can I increase the speed at which I can send the commands ? and What is the maximum you can go to. I am developing a real time application so I want to keep reading data as fast as possible.
0 Kudos
Message 1 of 7
(3,723 Views)

The maximum clock rate supported by the NI 8451 is 12 MHz

0 Kudos
Message 2 of 7
(3,705 Views)
The clock rate is 12MHz but the time between the chip select going low and high again is different from the clock. And there is a delay between two commands as well. I want to know how fast can I send 16 bit commands?
0 Kudos
Message 3 of 7
(3,703 Views)

What do you mean by "time between the chip select going low and high again is different from the clock"?

0 Kudos
Message 4 of 7
(3,701 Views)
What I meant was, that there is an inherent delay in the clock starting after the chip select goes low. I checked on the oscilloscope as well.
0 Kudos
Message 5 of 7
(3,699 Views)
Solution
Accepted by topic author sb2nov

I don't think there is any way to overcome that, since the line selections and update is completely done in hardware by the microcontroller inside the 8451. The rate at which data is sent to the microcontroller depends upon how fast the code on the Host platform is running and the time it takes for the data to traverse through USB(which can be ignored).

0 Kudos
Message 6 of 7
(3,697 Views)
Thank you for the response.
0 Kudos
Message 7 of 7
(3,693 Views)