Questions tagged [uart]
A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.
1,638
questions
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 ...
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 ...
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 ...
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:
...
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 ...
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 ...
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 ...
-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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...