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.

MSP-EXP430FR5994: Help Connecting AS6221 Temperature Sensor to MSP-EXP430FR5994 via I2C

Part Number: MSP-EXP430FR5994
Other Parts Discussed in Thread: MSP430FR5994

Tool/software:

Hi everyone,

I'm trying to interface an AS6221 temperature sensor with the MSP-EXP430FR5994 LaunchPad via I2C, but I'm running into issues. I'm not getting any valid temperature readings, and I'm not sure if I’m connecting it correctly.

Here’s what I’ve done so far:

  • AS6221 VCC → 3.3V

  • AS6221 GND → GND

  • AS6221 SDA → P7.0

  • AS6221 SCL → P7.1

My main problem is that I’m not sure which physical pins on the MSP430FR5994 correspond to I2C SDA and SCL. Some sources mention P1.6 and P1.7, others mention different ports or that it depends on the USCI module.

Could someone help me with:

  1. Which specific pins (both port and header pin numbers) I should use for SDA and SCL on the MSP-EXP430FR5994?

  2. The correct way to initialize I2C for this setup?

  3. A minimal example of how to read the temperature from the AS6221 and print it via UART or the console?

I’d really appreciate any working code or pointers to documentation that can help me get this sensor running.

Thanks so much!!

**Attention** This is a public forum