Questions tagged [uart]

A Universal Asynchronous Receiver/Transmitter (UART) is used for serial (where each bit of data is transmitted along the same connection) communications over a computer or peripheral device serial port.

UART is usually an individual (or part of an) integrated circuit used for serial communications over a computer or peripheral device serial port. UARTs are now commonly included in microcontrollers.

Simple serial link via UART uses two lines TxD and RxD, other than ground, for transmit and receive data:

Simple UART connection

It is asynchronous communication. Hence data transfer settings (number of bits, baudrate etc.) should be matched between devices wanting to communicate. The electric signaling levels and methods are handled by a driver circuit external to the UART.

More information:

1817 questions
0
votes
1 answer

MSP430 UART receiving a string

Using MSP430F6736A embedded programming. Code written in Code Composer Studio. I want to send some string for example some number(26) and then send it back on screen to the PC. Now, I´m getting only strange charracters. What should I improve? int…
user5939530
  • 51
  • 1
  • 6
0
votes
1 answer

Connecting SmartFusion board to a Mac or Linux

I am currently trying to connect my smartfusion to my Mac computer. I have hooked up an FTDI chip to the SmartFusion and connected it via USB to my computer. I was under the impression that I could just open a file descriptor in the /dev directory…
Curious
  • 20,870
  • 8
  • 61
  • 146
0
votes
3 answers

Triggering Interrupt for any byte received

I'm trying to get a code to work that triggers an interrupt for a variable data size coming to a RX input of a STM32 board (not discovery) in DMA Circular mode. ex.:CONNECTED\r\nDATAREQUEST\r\n So far so good, I'm being able to receive data and all,…
0
votes
1 answer

Atmega highest BAUDRATE vs TIME-MEASUREMENT accuracy

In my project I need highest avaiable UART baudrates between Atmega328p and BTM-222 so I have to use 18.432.000 Mhz crystal to achieve 460.8 kbps transfer without erros. But same time I need high accuracy time measurement. Previously when I was…
Pierwiastek
  • 134
  • 9
0
votes
0 answers

Serial communication works only after screen

I noticed strange behavior while programming with the serial UART interface. First I set the right baud rate for the serial port. stty-F /dev/ttyS0 speed 9600 Then I'm reading with LUA like: rserial=io.open('/dev/ttyS0','r') print (Reading) …
Zuendi
  • 139
  • 1
  • 8
0
votes
0 answers

feed information from multiple lists async

for university I wrote an uart serial comport reader that reads packages into a big list of size N(300ish) of type T(class with data and some functions). The list is created on startup from a json, and then the new information from updates the…
0
votes
1 answer

UART Data Transmission

Currently, I'm hooking up sensors to an Arduino Mega and printing the readings through serial to a Beaglebone Black. I need the data to have timestamps in such a manner as seen in the Arduino's serial monitor. For instance: arduino serial…
boktor
  • 35
  • 1
  • 6
0
votes
1 answer

HLK-RM-04 - http response are not clear

Currently, i'm working with HLK-RM-04 wifi to UART module. I'm using this in server mode. I've connected this module(tx/rx) to my PIC16F887. Connections are fine and I can able to transmit and receive data. All i'm doing here is giving a html…
Neveth
  • 1
  • 1
0
votes
0 answers

Using Serial input together with SPI

I am working on a project where I am receiving serial data on UART6_RX. This works perfectly fine. However, when I add a touchscreen button to the screen and in the main while loop check if it is touched, the UART_RX doesn't receive any data…
Alex van Rijs
  • 803
  • 5
  • 17
  • 39
0
votes
1 answer

Maximum size of UART receive buffer for ESP8266

I am using SMING framework. What is the maximum size that the ESP8266 UART can receive at any one time? If I were to transmit a string of X bytes to ESP UART, what is the maximum size of X?
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
0
votes
0 answers

Is it possible to write Boot loader software without architecture specific registers?

I'm curious to know, is it possible to write Boot-loader software independent of Processor architecture specific registers? f.e., ARMv7 have its own specific registers for drivers, i like to know the difference between the following approach. 1).…
0
votes
1 answer

BeagleBone Black: UART crashes the BBB after two successful read write calls

I'm having some trouble getting consistent UART with the BBB. I've set things up as shown on this page for non-canonical inputs. I seem to be able to transmit just fine, even on the third cycle. It's the read command that seems to be getting me. I'm…
0
votes
0 answers

MSP 430FR5739 interfacing with Adafuit ultimate gps

i am doing a low power mode gps project for msp430fr5739 development board. this board's operating voltage is 3.3 volts and my gps module also can operate with 3.3 volts supplied power. How about effect of logic levels of UART protocol. do i have to…
0
votes
0 answers

Linux Uart write function signal handler

I am working on linux uart. In my application I can get interrupt via signal handler with above sample code. related link --> setting serial port interruption in linux and I used above code too. link -->…
0
votes
1 answer

Transmitte Two buffers Consequtively

I have Two character Buffers, on which I am gathering data. TxBuffer[1400]; TxBuffer2[1400] I have a situation is that, One buffer will be transmitting at a time over uart and on the other buffer I will be felling data,after one buffer is…
evaet1
  • 41
  • 10
1 2 3
99
100