My microcontroller is supposed to communicate with another controller/FPGA. For that purpose IO pins of two controllers are connected to each other. If no data direction is defined, and the pin state of the opposing controller is unknown, what is a secure state to set for my pins?
I think I once read that connecting a low output to a high output pin will cause a high current and destroy both chips. Is that true?
For pins that are floating/unconected, would I rather set high output or input with pull-up enabled in order to create a defined state for that pin?