Questions tagged [uart]

A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Connecting iM881A-M to Arduino

I want to connect iM881A-M LoRa module to arduino. And I want to ask which external parts I need to connect it. In datasheet there are many parts that I think I don't need to use. Please help me , I ...
0
votes
0answers
28 views

Problem using UART0 in TM4C123 Tiva C Launch Pad

I'm trying to interface UART0 with the my laptop using the ICDI the code I used is from Mazidi's book : ...
0
votes
0answers
24 views

MSP430FR2433 SPI data corrupted

I'm currently working with MSP430FR2433 Micro. I want to interface this micro with the following modules: LCD screen via SPI (https://www.orientdisplay.com/store/amc0802br-b-y6wfdy-spi-8x2-character-...
0
votes
3answers
66 views

Is this analog switch good for UART lines?

Currently designing a circuit to switch between two UART lines using an analog dpdt switch. Been searching for a while and found the BL1532. The datasheet says it's a DPDT USB2.0 Analog Switch, but ...
0
votes
0answers
40 views

stm32f401 usart: start bit detection sequence when oversampling by 8

I'm currently using usart on stm32f401. I'm wondering how the receiver detects start bit when oversampling by 8 is selected. The reference manual (RM0368) states that the start bit detection sequnce ...
0
votes
1answer
88 views

Switch between two serial ports

I'm working on a device that is connected to 2 serial ports (both TX and RX).The first serial port is connected to a CP2104 USB chip, the second serial port is left open with TX,RX,GND,3V pins. I want ...
0
votes
2answers
58 views

Dealing with the “overflow” of data in a ring buffer

So I have a ring buffer that's used inside the USART's ISR to stores the user input and upon receiving \r, it calls the application callback where I parse the ...
0
votes
1answer
55 views

How to debug serial communication with RealTerm?

I am trying to debug an LCD device with an RS232 UART interface. I am using RealTerm on a Windows 10 machine. The UART interface works properly. I have checked the sending device, using an ...
0
votes
0answers
9 views

Issues with ISP Mode LPC 17XX

I have custom board utilising an LPC 1778 and I'm having issues entering ISP mode, or at least I think I am. I am using the ISP pin and the reset in to enter ISP mode. By holding the ISP pin low and ...
0
votes
1answer
37 views

HC-05 connection to Stm32f103c8

I wrote a code on stm32f103c8 to communicate with the HC-05 Bluetooth module. So far I have no problem and I receive and send any data correctly, but once I disconnect from the module via mobile phone ...
0
votes
0answers
16 views

STM32 NUCLEO-F302R8 UART : RX pin does not trigger RX callback

I'm using an STM32 NUCLEO-F302R8 and wish to communicate with it using any UART instance (1,2,3) through its RX/TX pins. So far, I've managed to read from the TX pin but never managed to send messages ...
0
votes
3answers
154 views

Electronics before Linux [closed]

I have been learning about the basics of electronics, and reverse engineering hardware using UART connected to my computer. I find it interesting how I can access the busybox which is Linux and then ...
0
votes
0answers
13 views

Arduino esp01 UART connected server with driver

I have a project of WiFi oven driver and I would like to know if I don't overcomplicate any aspects. Or are there any existing tools for what I'm trying to do. I decided, to connect mentioned devices -...
0
votes
0answers
78 views

How can I make a half-duplex UART to TTL converter for communicating to a servo with a HC04 and a HC126?

I have been trying to configure this circuit for some amount of time. I am using a HC04 chip and a HC126 chip. The HC04 is an inverter chip. The HC126 is a buffer gate. I found that for the servo ...
0
votes
0answers
9 views

PRU UART on the BeagleBone Black Problem

I am trying to get the PRU UART of the BeagleBone Black to send/receive 9-bits data. I used the stick parity to emulate 8M1 and 8S1 modes but when testing the parity bit is always a 0. it's like ...
1
vote
1answer
60 views

Cellular module(4G/3G/GSM) interface to host processor or microcontroller through UART how the data rate is achieved?

The majority of cellular modules are interfaced to host microcontrollers or microprocessors using UART interface or some times USB interface (where internally it's UART). But the data rate of UART is ...
0
votes
0answers
22 views

Read/write Artix RTL registers at runtime from UART interface

I have an RTL design on an Arty board that is composed of clock managers and counters. The counters have individual enables and wraparound values (all hardcoded). I want to enhance it to write ...
1
vote
2answers
34 views

USART2 setting for stm32l micro controller [closed]

Is there any default pin setting for stm32l micro controller?. Can we use PD5 or PD6 as txd and rxd instead of PA3 or PA4?
0
votes
0answers
37 views

UART Transmitter and Receiver on AXI bus

I designed two components: UART Transmitter and UART Receiver (sends/receives 8 bits of data). Both Tx and Rx are working fine but I'm unable to wrap them in a AXI bus interface component. My UART ...
1
vote
1answer
33 views

Do UART pins on the Beagle Bone Black require tri-state buffers?

The project I am working on uses a Beagle Bone Black (BBB) rev C, we are powering it externally through a cape according to the System Reference Manual's instructions. The System Reference Manual ...
1
vote
0answers
25 views

ESP32 with external power supply and serial communication between ESP32 and PC

I would like ESP32 with +3v3 external power supply. I don't want to use PC-USB's power supply through +3V3 voltage regulator. Is it possible to make serial communication between ESP32 and PC using usb-...
2
votes
1answer
56 views

What kind of serial cable do I need? (TTL vs RS232)

So I have a headless NAS that I'm trying to connect to via a serial console so I can install a different OS. It has a 3.5mm jack on the back I/O labeled COM1. I had ...
1
vote
1answer
44 views

max32660 sudden uart slowdown above 3MBaud

I am trying to set up UART1 for debugging on a MAX32660. At various baudrates, I print Hello, world!\n 1000 times, and measure the time elapsed for each case. <...
5
votes
2answers
463 views

UART in my code transmits a character, yet on the oscilloscope I find it gave me another signal

I using MSP430FR6989 microcontroller (development board MSP-EXP430FR6989) to try and send a UART signal via it's TX pin The configuration of the MSP430: Clock System 32.768 Khz Baud Rate 9600 8 bits, ...
1
vote
1answer
55 views

On my PCB, do I need to keep UART lines away from my 1/4 wave monopole antenna?

I am working on a PCB design with a 1/4 wave monopole helical antenna. Currently, I have the UART TX and RX lines running the length of the board, and about 1.8mm away from my antenna feed line and ...
0
votes
0answers
20 views

Multidrop bus protocol on the BeagleBone Black PRU

I am truying to implement the MDB protocol on the BeagleBone Black, the problem is : the protocol requires a 9 bit data via UART (9th bit used to differentiate if the sent/received data frame is an ...
2
votes
3answers
117 views

Name of UART standard, if any

my question simply is to know where is the origin of UART system. Is there any standard covering it. I can only see similar question here but the only answer is saying Wikipedia !!! I can see many ...
1
vote
1answer
71 views

Different voltage differences for a UART signal (when tested from one microcontroller, vs when tested between two microcontrollers)

I have a question regarding UART signals. I am doing a project where I press a pushbutton (BTN0, BTN1, BTN2) it registers at a microcontroller (MSP430FR6989), transmits a signal to another ...
1
vote
1answer
80 views

Glitching on UART RX line with RS485 transceiver

I have a custom PCB which has a RS485 transceiver chip interfaced to a Nordic microcontroller. I essentially have a daisy-chained arrangement of RJ-11 ports which are carrying the RS485 A/B signals as ...
1
vote
1answer
59 views

Is it feasible to use both MCU UARTs if it only has two?

I love STM32 nucleo boards and they have tons of UARTs. Now want to use two UARTS for protocol conversion (rx at 115200baud, tx at 38400) on a stm32g0316 discovery board that has only two UARTs. How ...
0
votes
0answers
27 views

Sending Serial Data via CAN transciever

I am required to transmit a standard Hex payload through serial com port to a device that has a CAN transceiver. The serial configuration is as follows: 500 kbps, 1, 8, None, 1. The DUT has a CAN ...
1
vote
0answers
93 views

UART serial communication between STM32 MCUs

Good day everyone I am new to the group. I would like to ask for your hints regarding the UART communication between 2 STM32 MCUs. Basically I have 2 STM32 MCUs connected through UART. A button on ...
0
votes
1answer
49 views

Cannot establish serial communication to ESP8266

I recently designed, had manufactured, and populated my first PCB. As context for the schematic and PCB, the requirements were as follows: Independent control of seven LEDs The ability to program ...
1
vote
0answers
52 views

MAX487 can transmit but won't receive

I am trying to use a MAX487 chip to convert a regular UART signal to half-duplex RS485 signal and vice versa. I am using Atmega328PB as my micro controller. My circuit has no problem with transmission,...
0
votes
3answers
75 views

Ambiguity about concept of baud rate and bit rate

I know that there is lots of questions and answers that is related to this topic, but i can not clearly and distinctively find answers to my questions, yet. In addition i found some answers which ...
1
vote
1answer
32 views

USART and ATmega RX Problem

I'm trying to understand how USART of ATmega works. I read some pages and I've picked information about it. To test functionality I've written this code: ...
0
votes
0answers
51 views

STM32G474 HAL Interrupt problem

I've just started learning STM32. I want to make a simple code that uses UART in interrupt mode. Unfortunately I can't make it work. I want an interruption occur when the microcontroller receives a ...
0
votes
0answers
28 views

What would be the ASMD chart (or State Transistion diagram) for the UART transmitter?

Here is the diagram of the UART design. I am trying to write a SystemVerilog code from the ASMD chart of the UART transmitter. I have done the the UART receiver ASMD chart below. I know that the ...
0
votes
0answers
20 views

Communication with 14 UART/LIN devices

I'm working on device that will communicate with 13 LIN buses and forward everything to single UART bus. LIN is basically UART which uses one Bidirectional line that represents the single-wire bus ...
0
votes
0answers
32 views

Virtual terminal in proteus outputs garbage values

I am using the LPC2148 MC to interface its UART in proteus, I have tried using the UART window in Keil uVision 4 and got the correct outputs. but in proteus, it spews out garbage values. The clock ...
1
vote
2answers
73 views

Sensor data transmission without using a microcontroller?

What is the most traditional approach to getting sensor data onto a radio from an embedded device pcb that doesn’t utilize a microcontroller? Up until now, we’ve been utilizing a convenient firmware ...
0
votes
1answer
57 views

Adding a callback for processing the UART data seems to cause issues with I2C interrupts

So I wrote peripheral drivers on STM32 and wrote a simple application to read the user input via terminal and respond accordingly. I am using interrupts for both UART and I2C but the way I previously ...
1
vote
2answers
117 views

Difference between UART and USART and the essense of oversampling on STM32F4

USART is an asynchronous transmission whereas UART isn't (unless there's more to it). As shown in the photo below, USART being synchronous doesn't need start and end bits since clock is used to sync ...
-1
votes
2answers
79 views

Hardware-Software synchonization with clock in a microcontroller

From what I understand, there is a clock in a micro-controller, and every little task is executed at a clock pulse. Can two or more actions be performed simultaneously (In the same clock pulse)? For ...
0
votes
0answers
44 views

Understanding the flow of the application with UART interrupts

I am trying to think of a design to make better use of UART interrupts. Currently, what I have involves calling a function that enables the UART interrupt control bits, and continues to poll till a ...
6
votes
5answers
2k views

Decode/Analyse the following UART signals

I have sent a 2 and a 9 using UART. The baud rate is 9600, there is no parity, and it has 8 data bits. As we know 9 is represented as 1001 in binary. However, this is what I get from my UART signal: ...
0
votes
2answers
66 views

Flashing program into microcontroller, usb-ttl, idea behind?

I have limited knowledge on this topic(MCUs, communication protocols, etc.). I back then worked with an STM32 MCU and did some UART(or USART, can't remember) communication between a PC and the MCU. ...
1
vote
1answer
34 views

Cannot connect Arduino Uno REV3 ATmega16u2 serial connection to outside serial connection

I wanted to simply use the ATmega16u2 on my official Arduino Uno with a serial connection. I connected my Serial Board (where I can simply connect any serial connection and read it on my PC via Putty)...
1
vote
0answers
62 views

TXE Interrupt is not generated ARM STM32F103C6

I'm trying to write a class to have the possibility of sending data using UART by TXE (TDR is empty) Interrupt. The class uses only USART1. The class has a ring data buffer to send. I have written a ...
1
vote
1answer
82 views

Finding each UART pin with multimeter

I am trying to findout the pinout for Serial Connection to a router. However I wasn't able differentiate the pins other than GND. Pinout: ...

1
2 3 4 5
24