I would like to send messages from STM32F4Discovery board to Arduino Mega 2560 via UART. How do I connect the Arduino to the STM32F4Discovery? Do I need any extra electronics? If I understand correctly, Arduino's UART has voltage level of 5V and the STM32F$ 3.3V.
Answer
You only need wires. The STM32F4 has 5V-tolerant inputs and 3.3V is above the '1' threshold for the AVR. Connect ground and one or both pairs of TX/RX depending on whether you want bidirectional comms.
No comments:
Post a Comment