

12:53 pm

August 1, 2016

Hello, I am trying to communicate with an AD board via SPI but I am having a problem with the SPI Transfer vi. I set the CS pin to 8 but pin 8 does not do anything when I call the vi. I got around this by manually pulsing the CS pin before calling the SPI Transfer vi. Has anyone else had this problem?
5:40 pm

March 12, 2015

What type of board are you using? If it is the Due, there are only certain allowable CS pins and 8 is not one of them. The only pins allowed on the Due are 4, 10, 52, and 54. Otherwise, for standard Arduino boards this API just configures it as a digital I/O as you are doing manually, so you should not have to do this and pin 8 should work. Take a look at the included SPI example and the help for SPI Open Express.vi which explains how the CS works.
25
1 Guest(s)
