LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI control of AD5231 digital pot

I'm having trouble getting this to work. I get 000 data response. If I could just get one command working I should be OK. I wrote the command generator using the AD5231 truth table as a visual reference, figuring that would be easiest. Any ideas? Thanks in advance.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 1 of 2
(3,847 Views)

There are a few things that I notice:

You have a clock frequency of zero (0).

I think the device is CS "Active Low".

The frame size needs to be 3 [bytes] as far as I can tell.

For further help when using LINX, I highly recommend posting in the LINX forums.

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