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.

MSP430 I2C Setup, Port 8 setup

Other Parts Discussed in Thread: MSP430F5638

Hello!  I have an I2C port mapping issue. On our prototype board, we used PORT 2 and on the real hardware we're on PORT 8 now.  I'm unsure if I have the initialization correct sine it's no longer port-mapped.

I'm doing this:

	// Port 8 setup

	GPIO_setAsOutputPin(GPIO_PORT_P8, GPIO_PIN1 + GPIO_PIN2);
	GPIO_setAsInputPin(GPIO_PORT_P8, GPIO_PIN3 + GPIO_PIN4);

    // Assign I2C pins to B1 I2C

    GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P8, GPIO_PIN5 + GPIO_PIN6);

..but it's unclear if this is the canonical way to do it.  I have my scope wired to SCL/SDA and neither line is moving when I transmit to my I2C GPIO expander (a TI part).

All help appreciated!

Ed Averill

**Attention** This is a public forum