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.

MSP430F2132 Open Drain Output

Other Parts Discussed in Thread: MSP430F2132

Hi,

I'm using the MSP430F2132 in an ultrasound distance measurement project.

For the ultrasound detector, there are two op-amp gain stages, the second stage has its gain controlled by setting the gain resistors (R20, R21, R23, R24) high or low.

To control the resistors and allow them to sink current, P1.4, P1.5, P1.6, P1.7 should be set as open-drain as far as i understand.

From what i gather on the forums, the MSP430 does not support open-drain.  So question is, can anyone explain how i should set up the pins to achieve this?

Thank you.

**Attention** This is a public forum