I've to control the AD5293 digital potentiometer via SPI interface and set the variable resistor wiper position, using an STM32F3 microcontroller. It is set in master mode, while the AD5293 should be the slave.
I would to ask you two questions about this matter:
1) What AD5293 pins should I use to realize the connection between those two devices?
Should I link the SDI pin to a MISO pin of the STM32F3, the SDO pin to a MOSI pin of the STM32F3 and the SCLK to a NSS pin of the STM32F3?
Or I only need to connect the SDI pin to make the microcontroller sends the data as input to the AD5293?
2) Should I need to supply power to the AD5293, using VDD, VLOGIC and VSS pins, or can I avoid it?
Thank you very much in advance for your answers.
P.S. I already connected the capacitance to the appropriate pins.