raspberry-piembeddedstm32raspberry-pi4stm32f4discovery

Do I need a level converter for Raspberry Pi and STM32 to communicate via GPIO(UART) port?


I want to connect an STM32F407 Discovery board with a Raspberry Pi 4 Model B.

And I want to use UART as communication so I plan to use PD5&6 on STM32 and Pin8&10 on RPi. But after looking up online it says that the voltage of a STM32 port is 5V and RPi is 3.3V, so it seems that I need a level converter between them?

And there are also some articles says that not all the STM32 port are 5V, some are 3.3V. But I cannot find any of that information in the datasheet. Can anyone tell me where can I find these information?

Thank you very much ~ ~


Solution

  • The STM32 uses 3.3V as well. But it's 5V tolerant.

    Just go ahead and connect them. There is no voltage difference.