Continue to Site

Welcome to

Welcome to our site! is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Reading MCP10XXX datasheet

Not open for further replies.


Advanced Member level 4
Jul 15, 2012
Reaction score
Trophy points
Epping, Victoria, Australia
Activity points
Reading the datasheet for MCP10XXX digital potentiometer.


Refer to page 18.

I sort of get the structure of the data you are supposed to transmit to the POT. 3 x 16 bit integers.

The first 16 bit integer contains a max of 10 bits corresponding to the resistance you want to set the POT at.

The second 16 bit integer contains the channel or channels you want to set at the former resistance value. But the second byte of that is ignored.

The third 16 bit integer contains the command to either shutdown the channel or set its resistance value. Again the second byte of that is ignored.

But what does "the first 16 bits shifted out will be 0s' mean?

That seems to be in conflict with the rest of the data structure you send to the device via SPI.

Either it means that the device expects 4 x 16 bit integers, in which case the first one you send is 0 and 'the first 16 bits shifted out will be 0s' makes sense.

Or it means that 3 x 16 bit integers are expected but the first 16 bit integer will be 0 only if the command byte contains the 'shut down command'. In which case a resistance value in the first 16 bit integer is irrelevant.

So which is it? The author of this datasheet is being ambiguous.


are we reading the same datasheet?
(added: oh indeed you talk about MCP10xxx but the link is for MCP41xxx. Below text is for MCP41xxx)

See "Figure 5.1"
There is only one 16 bit transfer. Not two 16 bit.

The 16 bit are divided in
* 8 bit control byte
* 8 bit data byte

Don´t care about "SO" as long as you don´t use multiple MCP10xxx daisy chained.


Not open for further replies.

Part and Inventory Search

Welcome to