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.
Part Number: MSP430F5438A
Can we configure MSP430F5438A GPIOs as Open Drain when it is configured as Output?
In our design we are using one of the MSP430F5438A GPIO as a control signal to an I2C Buffer whose IO level is 1.8V, which is conflict since MSP430 IO level is 3.3V. So if we can configure that GPIO as Open Drain then this will work since we given pull-up externally to 1.8V.
I believe this thread describes how to setup an MSP430 GPIO for OC operation:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Leonardo Estevez:
Thanks for the Reply..!!
The thread you shared resolves the issue when the GPIO is configured as Input, but when it is configured as Output the answer suggested in the thread is little confusing.
My query is when the particular GPIO is configured as Output, whether it can be configured as Open Drain?
In reply to Chandrashekhar D R1:
One can emulate an open drain behavior by setting the output register of a GPIO to low, and switch it by using the direction register between input and output. If set to output it will actively pull the signal low and open the current path to GND, like an active open drain, while in input direction it will be high impedance pulled up by the external signal, like an inactive open drain.
The important limitation in comparison with a true open drain is the pulling signal level does not have to exceed the MSP430 supply voltage level, as then the clamping diodes would short the signal, while a true open drain can take higher signals then the supply voltage.
Thanks a lot for the detailed description and it helped a lot.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.