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