Skip to main content

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.

0 votes
0 answers
20 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
6 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
27 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
67 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
38 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
59 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
57 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,246
0 votes
0 answers
87 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
65 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
68 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
57 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
0 votes
1 answer
104 views

UART issue in ATmega2560 and Microchip Studio

Using Microchip Studio, I have implemented a code snippet to send a character via UART using ATmega2560 and a USB-to-TTL device. The code for sending a character is as follows: void USART0_Init(...
Muhammad Fouad Alharoon's user avatar
1 vote
1 answer
53 views

Same code for ATmega2560 works on Arduino Sketch but doesn't work on Microchip Studio

#include <SoftwareSerial.h> void setup() { uint8_t ubrr = 103; UCSR3A = 0x00; //reset; Bd factor is not doubled, UCSR3B |= (1 << RXEN3) | (1 << ...
Muhammad Fouad Alharoon's user avatar

15 30 50 per page
1
2 3 4 5
128