UART Communication with Jetson Nano and STM32F4

I am currently working on my grad project. In my project I have to communicate Jetson Nano with STM32F4 device via UART. I believe that it is possible but I couldn’t find any resource about how it can be done. Is there anyone who tried that before or can show me a way that how can I do that?

hello alpyildirim97,

may I know what’s the pin connection you’re used for uart communication.
Nano devkit also using uart for serial console, you may not used it to communicate with other devices.
you may also check similar discussion threads for reference, such as Topic 83810, and Topic 55988.
thanks

Hi, my device is Jetson Nano 2gb. I believe I am using J12 tx,rx and gnd pins. These pins are actually under my device. I have managed to connect my STM32 to jetson nano with a usb-ttl converter and I could send and receive data by minicom. When I connected the converter, nano recognized it as ttyUSB0 and by using that port I set my minicom. However I want to connect my devices by only pinheads. I connected their rx-tx pins crossly and have made a common ground but I don’t know what is the COM port right now. How can I learn the COM port when I using only pinheads?

hello alpyildirim97,

it’s register during kernel initial stage, you might see below from dmesg
for example,

nvidia@nvidia-desktop:~$ dmesg | grep UART
[    1.042539] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 64, base_baud = 0) is a TEGRA_UART
[    1.042933] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 65, base_baud = 0) is a TEGRA_UART

here’s a similar discussion thread you may also check, Topic 153941 for reference.
thanks

Hello,I am currently working on the same project and I didn’t found any documentation can you please show me how you solved this ?

You should probably start a new thread. The basics would be that your serial UART needs a 3.3V TTL logic level, and the default is speed 115200, 8-bit, no parity, and one stop bit. If you go above speed 115200, then you’ll want to use two stop bits. In all cases you’ll need to make sure the pins you connect to are not also the serial console (if it is you can either use a different UART or disable serial console, but serial console is rather important when developing).