Does the AM3358 have a way to configure an open-drain GPIO?
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.
Doug,
you can have a GPIO function as a pseudo open drain by setting up the GPIO DATAOUT register bit = 0, then use the OE register to drive a zero (set OUTPUTEN=0) or turn it into an input (set OUTPUTEN=1). In the pinmux register for the IO, ensure the RX enable bit is enabled, and no pulls are enabled (just rely on the board pullup).
Regards,
James
Yes, turning off the output enable will disable its output driver and turn it into an input only pin. This will allow an external source (pull up or other open drain output) to control the signal. Of course, care must be taken to ensure there is no contention on the signal if there is something other than the pull up controlling it.
Regards,
James