Skip to main content

Questions tagged [uart]

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

2 votes
1 answer
51 views

In AVR-GCC, I am trying to get an atmega328p to sleep and then wake on USART RX, but it locks up

My hardware is pretty straight forward. I have an ATMEGA328P hooked up with an LED on PB5, primarily to troubleshoot, and a wire that connects PD2 (INT0) to PD0 (RX), hoping to use INT0 to wake up the ...
Erik Vincent's user avatar
0 votes
2 answers
50 views

CH32V003 MCU max USART baud rate

I will work with the CH32V003A4M6 microcontroller and must configure its USART for serial communication. My application needs to go up to 460800 baud rate. Does someone know if this is possible, or ...
Sebastian Medina's user avatar
1 vote
1 answer
87 views

Problem in detecting the line feed character in inter-micro UART communication [closed]

Setup: There are two MCUs, communicating with each other over UART. Let's call the transmitting MCU as A, and receiving MCU as B. MCU A and B are different. A is SAML22 (using IAR Compiler) and B is ...
user8737703's user avatar
0 votes
1 answer
54 views

STLink v3 serial doesn't work

I'm trying without any success to get STLINK-V3MINIE serial to work. It shows up as a serial port on the laptop: ...
brigadir's user avatar
  • 273
0 votes
2 answers
62 views

Do FT232 come pre-programmed out of the package?

I'm working on a board which requires USB serial communication. For this I want to use an FT232RNL, however I'd like to know if I need to program it before I install it on the board. Also, do I need ...
hdaniu's user avatar
  • 31
1 vote
2 answers
232 views

LED does not blink when transmitting/receiving UART

I constructed the circuit as shown in the picture (I omitted the unnecessary parts) I expected the LED to blink when the UART transmits and receives, but the LED is always on. Is something wrong with ...
bomdong2230's user avatar
0 votes
2 answers
74 views

Efficient Padding for UART to Minimize Power Consumption

So, I am implementing a custom protocol over UART (data field in the packet is fixed at 8 bytes + contains a len field). If the data len is less than 8 bytes, 0xFF is being used for padding. I ...
dsoham's user avatar
  • 3
-1 votes
1 answer
92 views

Communication does not occur when connecting an LED to the UART line

I attached LEDs using transistors to UART RX and TX as shown in the attached photo. But the led doesn't work and the uart doesn't work either. If I remove this circuit the uart works fine What's the ...
bomdong2230's user avatar
2 votes
1 answer
66 views

FT230X using USB-C receptacle not working for data transfer

I have tried to add a USB-C connection to my PCBA solely for data transfer. I have used a FT230XQ-R microchip (Datasheet) and followed their uploaded example for a USB-C receptacle. I have now ...
Prolik_'s user avatar
  • 43
1 vote
0 answers
78 views

FTDI chip not working properly [closed]

I recently purchased an FTDI chip from AliExpress. However, every time I try to use it on Linux via the picocom command, it gives me a lot of unknown characters. I ...
Code Sir's user avatar
0 votes
0 answers
29 views

How to work with UART to make communication between stm32 and hmi nextion display in noisy environment?

in an ultrasonic generator project, I am using an STM32F334 microcontroller as the main controller and an HMI Nextion display (model NX8048T070) that includes another STM32 for driving the monitor. I ...
Mahdi Javidnasab's user avatar
0 votes
2 answers
120 views

Is it normal to get garbage output through UART when resetting the microcontroller?

I have written functioning code for Serial Communication through UART, and when stepping through the code it transmits characters just fine. I have done this using microlib, so I can use printf (I ...
spyduck's user avatar
0 votes
1 answer
92 views

What is the real transmission speed in UART?

I'm trying to transmit data at 6.144 Mbit/s through the UART port of Nucleo-H723ZG microcontroller. For reading on the PC, I'm using Free Device Monitoring Studio. Based on my UART parameters, I ...
Yusuf Dolu's user avatar
0 votes
0 answers
70 views

Decoding unknown serial data from treadmill console board

I have been working on a treadmill project whereby my aim is to manually control the treadmill with an Srduino without using the remote. Info about the treadmill - The treadmill is just a normal ...
Soham2001's user avatar
0 votes
0 answers
38 views

Fingerprint sensor module communication (FPM383 R503)

I'm working on a fingerprint sensor that is known as FPM383. It is much like the well known R503 sensor. Their datasheet and serial communication manual are almost identical. I was trying to control ...
AKTanara's user avatar
  • 291
1 vote
1 answer
83 views

For a UART communication, when do we enable/disable the peripheral wrt changing between transmitting and receiving mode?

I am working with SAML22 microcontroller and I am supposed to write the transmission code using the interrupt mode. I am confused in which case I am supposed to disable the peripheral. When changing ...
missedSemiColon's user avatar
3 votes
1 answer
145 views

UART communications using CAN bus differential signalling

I need to interface with a device that talks UART, but with CAN bus signalling. Here's a picture where a tester (which I want to replicate) talked to that device: While RS485 seems similar, the ...
DrMickeyLauer's user avatar
3 votes
2 answers
255 views

UART between TMC2208 and Ardurino : unable to use read from TMC

LT, DR: I can program the TMC via UART but can't read anything back, and I don't like it :'( Description I want to make my ardurino UNO communique with a TMC2208-V3.0 (manual). The use case is to ...
Martin Morterol's user avatar
0 votes
2 answers
90 views

UART gets stuck after some time

I'm trying to make UART connection to Atmega328p from HW-199 UART module. Here's my code: ...
IC_'s user avatar
  • 101
0 votes
2 answers
105 views

Why does RS-232 Communication fail between these 3 ESP32's?

What's the Goal? Trying to get two esp32's to communicate over their UART lines using RS-232. My initial inspiration and idea for the connections was based on https://esp32io.com/tutorials/esp32-rs232 ...
jouell's user avatar
  • 117
0 votes
0 answers
192 views

STM32 HAL_UART_RxCpltCallback how to use it properly

I am developing an STM32H750 PCB for a future project and I am doing some tests on an STM32F103 to get familiar with STM32CubeIDE. I am facing a problem with the ...
Khales Naim's user avatar
1 vote
1 answer
193 views

UART GPIO Expanders

I'm looking for a GPIO expander with UART interface, but I can't find a single IC. I know that this is not the place to ask for product recommendations, but I wonder why there are hundreds of GPIO ...
Stefan Wyss's user avatar
  • 7,653
0 votes
0 answers
27 views

Using V2DIP1-48?

I am trying send data (in the forms of int or strings) from a Teensy 4.1 via UART to USB (in my case, a Flash Drive). I am using a V2DIP1-48 to receive the data from the Teensy, convert it to UART, ...
Q Q's user avatar
  • 1
0 votes
0 answers
31 views

Gibberish data with custom Atmega 2560 UARTs

So I have an issue with the UART configuration of my customized uC based on the ATmega2560. To establish serial communication, I'm using the FT232RL chip and the Arduino IDE. I don't have any issues ...
Wyufiyra's user avatar
1 vote
0 answers
40 views

How to configure STM32 UART TX to generate a decodable signal?

I am trying to transmit data from an STM32F411 (blackpill) via UART, and am having trouble generating a signal that works. The problem is that, when configured with the default GPIO settings, the UART ...
mackenir's user avatar
  • 125
4 votes
3 answers
591 views

Custom Arduino MEGA crashes ONLY on a specific command when plugging UART-USB converter before main power. Phantom power leaking through UARTs pins

Disclaimer Based on multiple attempts to find the cause of the problem, I have determined that I might be facing a hardware issue rather than a programmatic failure, hence why I am posting this here ...
Daniel Melendrez's user avatar
0 votes
1 answer
50 views

A7682E LTE modem parse file downloading with UART

I need to parse the data that SIMCOM A7682E modem is sending to the UART. It seems simple until I tried to do that. The main problem is that modem does not waiting between data packets. So there is no ...
Nazar Diadiun's user avatar
1 vote
0 answers
30 views

Making wired USB MIDI controller transmit data over Bluetooth

I want to make a USB MIDI controller more practical by passing the data via bluetooth. I'm don't have that much experience with electronics engineering, so I'm coming here ask for advice. Namely it is ...
steve d.'s user avatar
  • 175
0 votes
1 answer
86 views

Power via UART breaks MCU

I have some modules, each with their own STM32 MCU, connected on the same power supply. These modules are communicating via UART. When plugging in multiple units I get the problem that modules are ...
luukito's user avatar
  • 33
0 votes
0 answers
60 views

UART only succesfull on first transmit

I have a STM32 NUCLEO-L031K6 board that I am trying to test some UART on. Following this guide: https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step3_Introduction_to_the_UART I get TeraTerm to show &...
Borst's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
55