Relative Content

Tag Archive for msp430microprocessorscode-composer

MCP4131 Digital Potentiometer control with MSP430 microcontroller

I have been trying to control a simple digital potentiometer, MCP4131-502, through an MSP430G2553. I found a very useful source online that has already done a similar project, here linked, and I’ve tried to modify it to meet my requirements. However, after several attempts at debugging, I can’t get the oscilloscope to show any change on the PW0 pin, and I can’t see any change in the resistance. Below is the code I have been uploading to the microcontroller. The development board I am using is the MSP-EXP430G2 Rev1.5 and I only have the jumpers Vcc, test, and rst connected.