Questions tagged [uart]
A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.
1,648
questions
0
votes
2
answers
359
views
STM32 UART without HAL library
I am writing register level code for STM32F4 & in my code there is a timer for calculation of the frequency of an input signal.
I am trying to implement a UART for sending calculated data to ...
0
votes
2
answers
99
views
STM32F4 USART: start bit detection sequence when oversampling by 8
I'm using the USART on an STM32F4 series MCU. I'm wondering how the receiver detects the start bit when oversampling by 8 is set.
The reference manual says the start bit detection sequence is the same ...
0
votes
3
answers
137
views
Spikes appearing on the UART pins of Microcontroller when connecting to supply
I am using STM32G0c8t6 microcontroller to make a BLDC motor controller. I am connecting the Rx and Tx of UART to a VCU and they are sharing the same battery. Apart from these, there is no other ...
1
vote
1
answer
60
views
SN74LV4052APW as UART Switch
I am using SN74LV4052APW as UART switch with ESP32-S2 SoC Design. I have 3X UART in the design but since ESP32-S2 supports only two UART channels so I had to use this electronic switch to switch ...
0
votes
0
answers
121
views
Role of RTS and DTR With CH340X, STM32WLE5, STM32CubeProgrammer
I am trying to (design a PCB where I will) program a STM32WLE5C8U6 via UART from my laptop using a CH340X in between. The CH340X shows this application circuit in the datasheet:
I understand what the ...
0
votes
1
answer
133
views
Using UART/USB Bridge vs straight USB stm32
I've been doing some research over the last few days into implementing usb communication protocol on the stm32. I know that the stm32 has dedicated pins for USB communication, however I still see a ...
0
votes
0
answers
109
views
Ethernet to UART (or RS232) conversion
For the PCB I'm designing, I need serial communication (1.8V UART, 3.3V UART, 5V UART or RS232, whichever is easiest) from an Ethernet connection (the devices connected to the Ethernet network will ...
2
votes
1
answer
62
views
Signal not stable on UART Pins of BLDC motor controller PCB [closed]
I am designing a BLDC motor controller PCB based on STM32G030c8t6 microcontroller. But the waveform on UART is not stable. The dashed line is the ground on the following image, but some part of the ...
0
votes
1
answer
100
views
I'm having trouble figuring out which wire should be soldered where
I can't figure out which wire I need to solder to which part of the board. I can't find a schematic for this device anywhere. Тhe device is a Parrot MKI9100. This is the display cable.
0
votes
1
answer
65
views
When using USB CDC to interface a USB2CAN controller, do I have to set the serial baudrate explicitly and if so, what rate?
I connect a USB to CAN controller via CDC as a virtual port to my computer and interface it via slcan from the can-utils package....
0
votes
1
answer
168
views
FTDI FT234XD not recognized
I designed a PCB that incorporates FT234XD (Datasheet) USB-UART converter but no matter what I tried, I couldn't get it working. Host computers does not even react let alone give an error so it's ...
0
votes
3
answers
162
views
STM32 communication [closed]
I am using two stm32H7A3ZI-Q.
Both boards are used to generate data that is transmitted and received (IT) via UART to each other.
This data is used to as a variable to calculate a set of equations in ...
4
votes
2
answers
1k
views
Transmitting from PC via USART to MCU working but very slow
I am sending a small 16-Bit RGB BMP image file from my Linux PC via USART (with a loosely wired USB to serial converter) to an AVR ATmega MCU sitting on a breadboard, running at 8 MHz with the ...
1
vote
2
answers
412
views
Is it okay to call a UART “RS-232” if it doesn’t respect voltage levels specified in the RS-232 standard?
I have been using this converter call it converter A to communicate an MCU through its UART pins RX TX. And I wouldn't call this RS232 because RS232 is about physical layer and voltage levels as ...
2
votes
1
answer
575
views
STM32 - HAL_UART_Receive first byte is always zero
I am implementing communication between Nucleo-F072RB board and an evaluation board with TI BQ75614 BMS IC.
I have succeeded to communicate with the IC using 1 Mbps UART interface, successfully ...