STM32F42X 5V tolerant?


#1

Hello,

short quick question, since I am building a little bit of gear by myself.
I do connect the usually 5V midi signals over a Optocoupler 6N137 or 138 to my MSP430 processor, at leats that is the plan :slight_smile:
Now I ran into some troubleshooting on my own boards, which lead me to take a look at some other gear i got lying around, like the good old axoloti.

I realized form the schematics you also run the Midi signal with 5 V

1: without an pull up on the 6N137, which is a bit odd I think, cause all my other gear does have it.

2: it your STM32 processor 5V tolerant? your Optocoupler 5V output signal directly goes to an input pin right?

Thanks for reading, best reagrds.


#2

Datasheet says STM32 I/O is 5v tolerant, and the MIDI GPIO input on the STM32 is set to PAL_MODE_INPUT_PULLUP.
SN137 has internal pull-up on the enable pin, so pin 7 is OK floating.