Hey guys! I'm working on a project and need some quick guidance. I bought this chip :
http://tinyurl.com/ThanksMbedCommunity
From what I understand, I use 11 bits to control the digital potentiometers. The first 3 bits are address (000 - 101) with the following 8 bits to control the wiper arm. As simple as it may or may not seem, I can't figure out how to transmit an 11 bit data string to the SPI connection. I'm using the typical p5,p6,p7 SPI connection.
The examples I find are generally spi.write(0x07) but I need exactly 11 bits (I think).
Could someone give me a pointer on this? I'm sure it's simple and I'm over complicating it. Thanks guys!
Hey guys! I'm working on a project and need some quick guidance. I bought this chip :
http://tinyurl.com/ThanksMbedCommunity
From what I understand, I use 11 bits to control the digital potentiometers. The first 3 bits are address (000 - 101) with the following 8 bits to control the wiper arm. As simple as it may or may not seem, I can't figure out how to transmit an 11 bit data string to the SPI connection. I'm using the typical p5,p6,p7 SPI connection.
The examples I find are generally spi.write(0x07) but I need exactly 11 bits (I think).
Could someone give me a pointer on this? I'm sure it's simple and I'm over complicating it. Thanks guys!