2.3.1 Description
UART is a serial communication protocol supported by SAM-BA® for programming and communicating with a target device. It is typically used when USB is unavailable.
Programming: transfer firmware to the MPU via a serial (UART) connection using SAM-BA.
To establish a UART connection with SAM-BA on the host computer, you need an FTDI FT232RL or USB-to-UART adapter, along with a connector or flying wires, to connect the TX, RX and GND pins of the target device with the computer USB port. Follow these steps:
- Connect the adapter to your PC and wire its TX, RX and GND lines to the corresponding UART pins on the target device.
- If required, install the appropriate USB-to-UART drivers, such as the FTDI or Silicon Labs CP210x drivers.
- Once the hardware is connected and the drivers are installed, ensure the target device enters the SAM-BA Monitor to enable communication with the host SAM-BA application via the UART interface.
