uart Questions

8

I am trying to implement UART in DMA mode to transmit a simple string every time a push button is pressed. So I have used CubeMX to generate the code and I have configured UART2 TX DMA in normal (...
Disbranch asked 8/4, 2017 at 18:16

2

Solved

The break and error indication glows up in real terms while communicating with RS-232. Sometimes, the CTS is also will be glowing. Due to this, the data in prints as junk for some time; later it g...
Francefrancene asked 31/5, 2016 at 8:12

3

I have a project based on embedded linux. My device communicates to another one through UART. It periodically reads the serial port from a high-priority thread. The port is configured to be in non-...
Deductible asked 14/8, 2023 at 7:59

1

Looking for some assistance testing a UART implementation with hardware flow contorl for the OMAP L138. To test the implementation I use minicom to emulate the other end of the serial link and I'm ...
Candycandyce asked 24/5, 2013 at 1:51

1

Solved

I'm trying to understand how the STM32F091VB manages the send of data via serial protocol with the function HAL_UART_Transmit_IT() At the moment I've a function called in the main() that creates th...
Verina asked 28/4, 2022 at 9:13

3

Solved

As you can see in this tutorial, the default latency timer for the COM port is 16ms. COM Port Latency But in most cases we want the minimum latency. On the internet we see a lot of explanation on w...
Pickens asked 28/1, 2021 at 16:13

14

I am really having hard time understanding the difference. Some say they are same, while others say there is a slight difference. What's the difference, exactly? I would like it if you explained wi...
Weathercock asked 12/12, 2013 at 3:19

3

Solved

I'm wanting to plot live data from the serial port. I figured R would be a good tool for the job. I'm stumbling on trying to read data from the serial port (COM4). I've verified the data is coming ...
Galah asked 30/12, 2015 at 3:29

3

I am examining a way to connect two microcontrollers. On the level of serialization I am thinking of using Nano protobuffers (http://code.google.com/p/nanopb/). This way I can encode/decode message...
Improvvisatore asked 30/1, 2014 at 23:27

1

Solved

I have an ESP32 connected to a computer via USB port. I can use the ESP32 to send data over the serial connection using the print statement, I need to periodically write commands into the ESP32. Ho...
Quantum asked 20/4, 2020 at 16:48

1

Solved

Question: How do I get the UART output from a baremetal program run with Qemu? Background Here is the command line invocation I have been using: qemu-system-arm -M xilinx-zynq-a9 -cpu cortex-a9...
Woodworker asked 5/3, 2020 at 19:2

1

Solved

I’m trying to use QEMU to emulate a piece of firmware, but I’m having trouble getting the UART device to properly update the Line Status Register and display the input character. Details: Target...
Haigh asked 22/10, 2019 at 18:46

0

I am flashing a Sparkfun edge board with the SparkFun Serial Basic Breakout - CH340G using some of the examples that the IDE provides in the oficial tutorial. Although, it has properly worked many ...
Beore asked 15/6, 2019 at 6:2

2

I have one energy meter and i am trying to retrieve voltage, freq values from meter on raspberry pi uart over RS485 My connections for raspberry pi and rs485 are as follows Rs485 DI - Tx of raspb...
Libeler asked 8/5, 2019 at 8:30

3

Solved

I'd like to read from two (or more) serial ports (/dev/ttyUSB0 etc) at the same time in python on Linux. I want to read complete lines from each port (whichever has data) and process the results in...
Shemikashemite asked 29/5, 2016 at 0:39

1

Solved

I have a project that I have used stm32f746g discovery board. It receives data with fixed size from Uart sequentially and to inform application about each data receive completed, dma callback is us...
Pacer asked 17/9, 2018 at 9:59

1

I am currently working with Gem5 and I have to access via UART from my Host to ARMv8 bare-metal option, so i tried lots way but i stocked yet. could you please let me know, how can i map my host's...
Carbide asked 28/4, 2017 at 14:11

1

Solved

I am unable to connect USART_1 with bluetooth hc-05. The Microcontroller is STM32F103RB. Here's the code (I am not using any library) #define APB2_FREQ 72000000 void USART1_Send(char* data) { u...
Investigate asked 14/6, 2018 at 17:41

2

I am trying to communicate between a single board computer and a PC over COM ports. On the single board computer I am running Debian Linux and there are two UARTs that I can use. On one of the UART...
Sapphire asked 9/5, 2014 at 21:0

2

Solved

I am new to writing firmware for 8-bit PICs and could use some help with my code. I am using a PIC16F1829 for an LED module which gets RX commands. I am just trying to get the basics setup like tur...
Shipper asked 4/9, 2017 at 5:12

3

I'm working on transfer folder of files via uart in python. Below you see simple function, but there is a problem because I get error like in title : IOError: [Errno 2] No such file or direct...
Apothecium asked 24/8, 2017 at 5:51

3

Solved

I've been trying to connect to the serial console of a Raspberry Pi 3 with Android Things using USB to TTL cable from my Linux (Ubuntu) machine. Despite I connected the cable as per the documentati...
Varve asked 22/4, 2017 at 0:47

1

I have a python 2.7 script running on a Raspberry Pi 3. class UIThread(threading.Thread): def __init__(self, threadID, name, counter, U): threading.Thread.__init__(self) self.threadID = thr...
Milkmaid asked 15/12, 2016 at 18:32

1

Solved

I am trying to read a register from an RS485 adapter using a UART connection on an ARM board with no success Machines ARM board: CM-T335 - TI AM335x Computer-on-Module http://www.compulab.co.il/...
Gimlet asked 13/2, 2017 at 4:6

1

Solved

The interrupt based UART IO allows the data transfer to take place without intervention of CPU. Now the question is, if not CPU who controls this ? Is it the DMA controller or some external master ...
Subequatorial asked 30/6, 2016 at 9:46

© 2022 - 2024 — McMap. All rights reserved.