UART
Last updated
Last updated
UART (Universal Asynchronous Receiver/Transmitter) is a device-to-device communication protocol that allows interface and talk to exchange among devices. Within the Otii 3 Desktop App, the UART settings allow engineers and developers to:
monitor and analyze data transmitted directly from the device under test (DUT) to the Otii 3 Desktop App,
or transmit data directly from the Otii 3 Desktop App to the DUT; for example, send AT commands to the DUT while simultaneously observing the behavior and response via the console log.
By capturing and analyzing the UART data displayed within the Otii 3 console log, developers can gain insights into the DUT's behavior and precisely identify and troubleshoot any issues that might be causing the DUT's energy source-drain.
You can either use the built in UART of your Otii hardware, or you can use use a third party USB UART.
While configuring the DUT in the CONTROL section of the Otii 3 Desktop App, navigate to the last setting option: Uart.
Set the baud rate on the respective field. To guarantee serial communication, assign the same baud rate as the one assigned in the DUT.
Enable the serial communication in the Channels option by clicking the "UART log" button. Upon enabling it, the console log will be automatically displayed at the bottom section of the Otii 3 Desktop App.
Once activated, with the additional connection required to establish serial communication between the DUT and the Otii hardware, the data transmitted will be displayed on the console log after the power supply is switched ON and the recording starts.
If you have a third party USB UART connected to your computer it will be shown below the Otii hardware with the name of the computer device it is connected to. To add it, click the "Add" button.
Set the baudrate of the device and click in "UART log" to enable it for recording.