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.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the lowest clock frequency of NI USB-8451 for SPI communication?

When I use NI USB-8451 to communicate with STM32 as SPI, 8451 is the Master. I need the clock frequency of 8451 to be 2KHz, but when the setting is less than 48KHz, there is no clock signal of 8451. The frequency range of the 8451 is 48kHz to 12MHz?

0 Kudos
Message 1 of 5
(1,099 Views)

Is there any way to set the clock frequency of NI USB-8451 to 2KHz, thank you!

0 Kudos
Message 2 of 5
(1,045 Views)

According to the manual, the USB-8451 supports a SPI clock ranging from 48kHz to 12MHz.  If you upgraded to the USB-8452, you still only have 25kHz to 50MHz.  So those devices are not going to go slow enough for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(1,038 Views)

Hi

You are probably better off with a software implementation on a digital IO card or USB with digital IO.

SPI is not that difficult to emulate at low frequencies.

greetings from the Netherlands
0 Kudos
Message 4 of 5
(1,036 Views)

Another option is to use an Arduino or RaspberryPi to act as your SPI controller and pass the data up to the PC over serial or Ethernet.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(1,032 Views)