Skip to main content
The 2024 Developer Survey results are live! See the results

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
0 votes
0 answers
10 views

UART sends but does not receive: ODROID C4 using Android-Serialport-API library

I have an ODROID-C4 that I am trying to get to communicate with an external controller using the UART1 port on the 40-pin header. I am programming in Android and using Android-Serialport-API library ...
adgm's user avatar
  • 1
1 vote
1 answer
77 views

C serial communication, Why does read() lose some data bytes at high baud rates (e.g., B921600)?

Question: I am implementing a C program to communicate between two serial ports on the same machine. The setup involves two serial ports connected via a Null Modem adapter, and I am experiencing an ...
callumQ's user avatar
  • 11
0 votes
0 answers
35 views

How to use UART in PIC16F877A with assembly code?

I am using UART in PIC16F877A with test board HJ-5G. My oscillator is 4MHz (KDS4.000). I tried to receive data from my computer.(Serial Debug Assistant) But I do not receive anything. And I tried to ...
kkyleyang's user avatar
0 votes
0 answers
16 views

EVA DTS for vending machine

I'm looking for information about EVA-DTS (DEXUCS/DDCMP) in order to get all of information in the vending machine (prices, stock, selles, etc) I contact with Eurpean vending association seeking ...
Oniguirii's user avatar
0 votes
0 answers
28 views

Fysetc E4 board + TMC2209 stepper driver via UART

I am trying to establish UART communication between Fysetc E4 (ESP32) board and TMC2209 driver with no luck. Here is the github repository for Fysetc E4; https://github.com/FYSETC/FYSETC-E4 Motor UART ...
Matija Pozojevic's user avatar
1 vote
1 answer
70 views

How to implement functions within a UART Interrupt Handler?

I know this is an incredibly long questions but ive posted as much detail so I can give the most context and hopefully make it easier to answer. I am currently creating a program to receive messages ...
Samosi IV's user avatar
2 votes
1 answer
41 views

How to clear the receive buffer in a serial bus (SERDEV) kernel driver

I'm writing a very simple linux kernel driver for my serial keyboard, employing serdev. The driver works and the function static size_t serdev_keyboard_recv(struct serdev_device *serdev, ...
Victor Modamio's user avatar
0 votes
0 answers
62 views

Issues with UART Transmitter in VHDL for an FPGA

I am a newbie in the world of VHDL and FPGAs. I'm trying to build an UART Tx module in VHDL for the Altera DE10-Lite board. So far I've been able to establish connection with a COM emulator (Putty), ...
Diego Corisco's user avatar
0 votes
0 answers
23 views

c# .Net trouble with Timer Callbacks/UART receive event

I want to reiceive data over UART and trigger an receive event with an delay of 50ms after the last data on UART was received. The goal is to receive complete blocks and trigger the event after the ...
user24852915's user avatar
0 votes
1 answer
69 views

Writing to qemu RISCV UART using c

I made a helloworld program on RISC-V qemu using the UART using https://popovicu.com/posts/bare-metal-programming-risc-v/ Uros Popovicu's guide in RISC-V assembly. I was wondering how I could write to ...
Jip Helsen's user avatar
  • 1,256
0 votes
0 answers
89 views

Enable UART2 of LX2160A in Linux

I tried to use UART serial port in user-application on SoC running Linux on a LX2160ARDB board. There are 2 UART ports using PL011 UART hardware (UART1, UART2). After Linux boots up, I can find the ...
김태윤's user avatar
1 vote
1 answer
77 views

STM32 Nucleo64 Serial UART Communication not working in CubeIDE

I have a very simple code on an Arduino I am trying to make work on my STM32f446 Nucleo board. This is the very early stages of the project because I am simply trying to send a hex value/array to a &...
Hunter Marlette's user avatar
0 votes
0 answers
53 views

Break the loop if stdin has value

I can not stop the loop if there is not a gap in data send via UART. If there is gap in data it listens to the command but does not read the UART data anymore. I would like to I read data on UART and ...
petrbon's user avatar
2 votes
0 answers
71 views

Problem with receiving data via UART on Linux Ubuntu for first time uppon boot

I have some weird problem with my console application. To make this short, my app is supposed to send and receive some Mavlink messages via UART, and my program stalls just when i start it first time ...
filipembedded's user avatar
1 vote
1 answer
59 views

Why is UART receiving data during MCU initialization (STM32F4)

I have code that initializes UART2 on the STM32F4 (and some other peripherals). When the MCU completes initialization, it enters the USART2_IRQHandler and executes the Timer_Timeout_Enable function, ...
RUMBUFDSI's user avatar

15 30 50 per page
1
2 3 4 5
128