I'm attempting to talk to a digipot over SPI with energia. The pot in question is a microchip mcp4261 (http://ww1.microchip...eDoc/22059b.pdf).
To communicate with it, you pull the CS pin active (low), send it a 2 byte command then pull the CS pin back high. Without quoting the entire the data sheet, the basic command sequence is a 4 bit register address, 2 bit command, and 9 data bits. When you issue the read command, it is supposed to return 9 bits of data (the value of the register).
I've bread boarded this up using the SPI examples with the following layout:
CS -> P2.0