- Configure UART with the desired settings (baud rate, data bits, stop bits, parity).
- Use firmware (e.g., HAL library) to send data via UART.
- Connect STM32 TX to adapter RX, and RX to TX.
- Open MATLAB and use the serialport function:
- Ensure the STM32 is sending data continuously or upon request.
- Run the MATLAB script to read and display the data from the STM32.
