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.

Enabling a Pull up resistor in the 5438A and I2C example

Other Parts Discussed in Thread: MSP432WARE

I am trying the I2C example to control a camera. The camera's docs say that the two I/O pins (called 'SCL' and 'SDA') need pull up resistors.

The example in the MSP432ware for the 5438A that we have uses GPIO_PORT_P3, GPIO_PIN1, and GPIO_Pin2, while any document I see generally would use P3SEL and P3DIR. And the pullup resistors are set with P3REN for BIT1 and BIT2 or probabl use in hex, 0x06.

Can I still use P3REN to enable pull up resistors for the port pins 1 and 2? I want to make sure this is correct as a known for debugging possible other problems.

Thanks

**Attention** This is a public forum