Sending and Receiving Data from STM32 with Jetson Nano

I’m creating a blink detector using the Jetson Nano for a school project. It will take in video from a webcam and detect how many times the user blinks and for how long. I need it to receive data from the STM32 about the blink pattern it should be looking for (i.e. two long blinks, followed by a short one, etc.) and send back information about whether it detected the correct pattern.

I’ve been looking around and came across the UART protocol that both boards use. Would that be the way to go? How would I go about doing this? I’d appreciate any advice.

Thanks.

hello aryanprasad090,

so, you’re actually receiving the signaling from STM32,
please have a try to setup the connection via 40-pin expansion header, i.e. NVIDIA Jetson Nano J41 Header Pinout - JetsonHacks.
you may also refer to Topic 73073 to setup the serial port communications.
thanks