This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP432P401R: Code for controlling Adafruit-MCP4725 using MSP432

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hi,

I am have just started using the MSP432 microcontroller and I am facing some difficulties in using it. I would like to program the Adafruit-MCP4725 using this microcontroller. Can someone please tell me how can I do that? I was previously doing it with Arduino and it was quite simple, but doesn't seem with MSP432! Here are a few questions that I'd like help with.

Q1. Can someone please share the code for controlling the Adafruit-MCP4725 with MSP 432. I don't mind if the code is for Energia or CCS. The code can be as simple as setting the DAC to 2 Volts as I only need the method of enabling the I2C communication. Please mention the ports that I must use for SDA/SCL.

Q2. In the Pin label diagram of Energia, given on their website, There are two sets of SDA/SCL as P1_6/P1_7 and P6_4/P6_5. while trying to get P6_4/P6_5 working, I burnt P6_5. Can I use P1_6/P1_7 for I2C communication? If so, How can I do that? What changes are required, say I am using Energia for coding my uC.

Thank you in advance.

**Attention** This is a public forum