Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

MCP4161 digital potentiometer SPI interfacing

$
0
0

Hi all,

 

I've done a bit with serial comms. before with NI VISA, but have a more basic question about what codes to send to my digital potentiometer. My pot is a MCP4161 with 256 settings for the wiper. The documentation shows the picture below.

 

It looks like code "100h" accesses the last resistor (N=257) and code "00h" accesses the first resistor (N=0).

 

Can anyone point me in the right direction to figure out everything in between? haha .... help a noob out here .....

 

Or, perhaps there is some LabVIEW SPI module that is designed to work with such a device? In the past I used NI VISA to talk to a RS-485 device.

 

Thanks for your help! 

 

PS. link to data sheet, see Section 5 for the wiper stuff https://www.mouser.com/datasheet/2/268/22059a-51937.pdf

 

Capture.PNG


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>