AnsweredAssumed Answered

How to control an external digital potentiometer with the STM32F3DISCOVERY via SPI

Question asked by vergara.daniele on Jul 24, 2017
Latest reply on Jul 24, 2017 by AvaTar

Hi guys,
I need to control an external digital potentiometer (setting the variable resistance wiper position) with a STM32F3DISCOVERY MCU, via SPI interface.
The digital potentiometer is an AD5293.

I just need to change the variable resistor wiper position. I don't need to read values from the external digital potentiometer, I just have to set the wiper position to a desired one and nothing more.

After setting up the SPI interface (using the MCU as the master), I need to fisically link the STM32F3 to the AD5293 to send the data input.


My question is:

which pin (or pins) of the STM32F3 should I use to insert the wire to connect the two devices? 

Thank you in advance for your answers!