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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

STM32H7 CortexM4 DMA issue

I'm trying to use USART + RTS only + DMA(non circular, peripheral to memory, DMA1 Stram0) on STM32H755ZIT6's M4 processor. My code is working on M7 but it does not works on M4 and I'm getting ...
Alatriste's user avatar
  • 150
0 votes
0 answers
36 views

UART to SPI or I2C conversion [closed]

Is there a way to convert UART to SPI or I2C in order to interface with an ADC(slave) without using a microcontroller or FPGA? I have looked at a number of bridges/converts like the PI7C9Xs and ...
kvothe.ee's user avatar
0 votes
1 answer
72 views

Convert RS232 signal to USB

I have an optical amplifier that uses RS232 and I want to convert to USB. I've purchased this chip, also here. There is little documentation on this chip and the supplier hasn't responded to questions....
andrewhunter's user avatar
0 votes
0 answers
18 views

Stream telemetry through a teensy to various external USB ports [closed]

We were receiving flight telemetry through an Ethernet port to a teensy. We want to stream this telemetry out to external USB ports, so we have employed the FTDI VNC2 48 pin version to convert our ...
m1kecarlson's user avatar
0 votes
1 answer
61 views

STM32 - Implementing UART to USB convertor

Considering STM32 Nucleo Boards, implementing a communication by serial port with a computer is a matter of using UART on the Nucleo Board and connecting it to the computer via USB, where you emulate ...
Humphrey Appleby's user avatar
0 votes
1 answer
57 views

STM32F103 UART DMA transmits corrupted data sometimes

I`m using STM32F103CBT6 core with UART via DMA on 9600 baud rate. The device in idle state transfers data between controller and bill validator unit. In the same time I`m sniffing the data that are ...
Nazar Diadiun's user avatar
0 votes
0 answers
31 views

How to reduce on-resistance and parasitic capacitance effects of my MUX setup?

I am designing a mux board to mux a flashing setup. Both UART and SPI lines are on 1.8V logic. The Mux chips have ~4-8ohms on-resistance and 1.7pF on-capacitance. Few questions: Would I need buffers ...
Zed Lepplin's user avatar
0 votes
2 answers
59 views

PCB Design review for STM32 USB-UART bridge

Could anyone review the schematic for CH340 chip. My goal is to drive STM32F030C8T6 automatically into bootloader mode while uploading code. Unfortunately I am not able to program this board without ...
RainerB's user avatar
1 vote
1 answer
79 views

Setting Boot Mode on Microcontroller without Boot Selection Pins

I've been tinkering around with this Generalplus microcontroller: GPM32F0118B and there are datasheets/some materials here: https://www.generalplus.com/GPM32F0118B-MkCri-...
Ceiling's user avatar
  • 59
0 votes
2 answers
67 views

TX and RX of UART are not connected to the board [closed]

I am looking in a TP-Link router and found an UART port. While I could determine the Volt and Ground ports using a multimeter, I couldn't distinguish between the TX and RX ports (two pin on the right) ...
satisfyinteresting's user avatar
0 votes
0 answers
12 views

Using UART of zigbee chip cc2652p in both ways, programming the chip (via usb to UART) and while operating the chip on raspberry pi

Excuse me if this is a dumb question :) I am designing a pcb that is to be a hat over a raspberry pi to add zigbee functionality. The hat will use zigbee module cc2652p from texas instruments. The ...
HeshamZ's user avatar
1 vote
2 answers
63 views

UART Transmitter implementation using Verilog

I am trying to implement the UART transmitter FSM using Verilog, but the FSM is stuck at IDLE state. Can someone tell what mistakes am I making? The code is as ...
Kartikey's user avatar
1 vote
0 answers
61 views

3m unshielded 3V3 UART

I have a product that probably uses the wrong digital interface, but I'm trying to make it work anyway. Differential signalling, a better cable and other things would be desirable, but that is outside ...
Alexander Ohm's user avatar
0 votes
2 answers
74 views

Low drive strength of level shifter

What part of a level shifter datasheet indicates drive strength? I have an MCU and sensor connected over UART (115200 baud). The MCU is 3.3V and the sensor is 1.8 V, so I'm using a level shifter in ...
Alexander Ohm's user avatar
1 vote
2 answers
83 views

STM32 UART only works while ST-Link is connected

I'm using an ST-Link broken off from a NUCLEO board to program a custom board with an STM32G4A1 on it. The issue is that UART transmission only seems to work while the ST-Link is connected (verified ...
SirVer's user avatar
  • 13
0 votes
2 answers
91 views

STM32 Help receiving serial data sent from python's pyserial

I need some help communicating between python's pyserial and an STM32f030R8 microcontroller. This is for a 2 DOF robot which has a python base GUI. The GUI will send, via serial communication, the ...
Eric14003's user avatar
2 votes
3 answers
633 views

Confusion with polling data by an MCU using UART

I'm using an MCU board(STM32 with HAL) and basically polling data from a device using serial protocol. The MCU sends a fixed byte array(6 bytes) to the device, and in response it receives a fixed byte ...
user1245's user avatar
  • 4,135
0 votes
1 answer
46 views

Reducing EMI caused by unterminated serial TX line

I have a PCB with a serial TX UART used for programming & logs. Most of the time nothing is connected & the ~50mm TX trace is unconnected - basically an antenna. Are there any best practices ...
randyrand's user avatar
  • 113
0 votes
0 answers
120 views

Smart Card (SIM Card), connect to stm32 via USART

After get ATR and send PTS, I tried send APDU, but response always the same as APDU which has been sent. I tried to change the frequency for USART (clock) and baud rate, after I tried to change PTS ...
SAP4K's user avatar
  • 1
0 votes
0 answers
11 views

Issue with MAX3140 UART when sending 64-bit frame using 16-bit frame configuration

I am facing an issue with the MAX3140 UART when attempting to send a 64-bit frame through a 16-bit frame configuration. The MAX3140 uses a 16-bit frame for communication, where the upper 8 bits are ...
Noushad's user avatar
2 votes
7 answers
2k views

Why does my opto behave like this?

Can you help me explain why my opto (LTV-817S) is behaving like this? The schematic is shown below and the scope below that. We are using an STM32 communicating with an ESP32 via USART at approx 38400 ...
JoeyB's user avatar
  • 2,257
0 votes
2 answers
61 views

Some characters lost in UART Transmission (PIC12F1822 -> SIM800L)

I am using the diagram recommended in the SIM800L datasheet to connect it to a PIC12F1822 MCU operating at 3.3V and 16MHz using its internal RC oscillator. ...
Vahid's user avatar
  • 289
0 votes
1 answer
133 views

ESP32-CAM flash via UART

I'm looking for help to upload from Arduino IDE into an ESP32-CAM module, without an FTDI programmer or shield. Context I've got a couple of ESP32-CAM modules with an associated ESP32-CAM-MB shield ...
djee's user avatar
  • 3
0 votes
2 answers
50 views

Do I need a pull up or pull down for the optoisolator in a USART application?

I have a LITE-ON LTV-816S optoisolator I want to use to isolate a USART communication channel. The inversion of case 2 is not a problem as I can handle this in software. Which case is better in terms ...
JoeyB's user avatar
  • 2,257
2 votes
1 answer
116 views

How to identify protocol of unknown 7 segment display chip?

I'm trying out logic analyser with digital clock I have laying around. The clock uses 7 segment display (4 digits) and consists of two parts: display with unknown chip inside and main board with two ...
Leo's user avatar
  • 125
0 votes
0 answers
16 views

STM32U585 LPUART Half-Duplex Config

I am trying to configure the LPUART1 on STM32U585 in single-wire half duplex mode. As I understand, in half-duplex mode, only one pin is configured which is used to send and receive data. I need the ...
Neharika's user avatar
1 vote
0 answers
240 views

STM32H7 UART DMA Issue

I have two MCUs, first one is STM32F070F6P6 which sends data over USART2 TX DMA and second one is STM32H755ZIT6 which receives data over USART2 RX DMA. Also notice that STM32F070F6P6's TX Pin ...
Alatriste's user avatar
  • 150
0 votes
1 answer
49 views

Why does a PB-02 ignore a "AT+NAME=abc123"?

When I connect to a PB-02 via UART(8data bits, no parity, 1 stop bit) it does not execute all AT commands. These work fine: AT\r\n results in ...
RRIDDICC's user avatar
1 vote
1 answer
67 views

STM32 UART in LIN mode sends with incorrect baudrate but not in asynchronous mode

I am using the UART of an STM32F103C8T6. When selecting the Asynchronous mode via the CubeMX everything works fine using either of the functions ...
Felix's user avatar
  • 13
0 votes
1 answer
103 views

Why would a UART only transmit the first character and then stop?

For some context I'm using a STM32H7A3 chip: reference manual With this UART and pin configuration: ...
ultraturbonoob's user avatar
0 votes
1 answer
55 views

Do not get how to time PIC16F USART sending in interrupt-driven environment

Device: PIC16F1829, half-duplex communication (RS-485) The USART is having two registers - TSR and TXREG. Transmit is performed from TSR and process is indicated by TRMT bit. TXREG is second register ...
Anonymous's user avatar
  • 7,108
0 votes
2 answers
190 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 ...
MSB's user avatar
  • 47
0 votes
2 answers
89 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 ...
chan peng's user avatar
0 votes
3 answers
106 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 ...
Gladson Thomas's user avatar
1 vote
1 answer
47 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 ...
Zunuran Nasrullah's user avatar
0 votes
0 answers
74 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 ...
nothing's user avatar
0 votes
1 answer
88 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 ...
Tom Avent's user avatar
0 votes
0 answers
89 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 ...
Sandro's user avatar
  • 7,287
2 votes
1 answer
55 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 ...
Gladson Thomas's user avatar
0 votes
1 answer
99 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.
Adnan 1's user avatar
0 votes
1 answer
55 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....
spaceKelan's user avatar
0 votes
1 answer
112 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 ...
Berkays's user avatar
  • 179
0 votes
3 answers
157 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 ...
CircuitFreak's user avatar
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 ...
Torsten Römer's user avatar
1 vote
2 answers
299 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 ...
pnatk's user avatar
  • 1,422
2 votes
1 answer
383 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 ...
block3r's user avatar
  • 41
1 vote
2 answers
121 views

Internal RC oscillator for reliable UART

I want to use this microcontroller - Mini58FDE (Product page) (Datasheet) Clock parameters are mentioned as: Clock Control 4 to 24 MHz crystal oscillator Internal 22.1184 MHz (±1% accuracy at 25℃, ...
Whiskeyjack's user avatar
  • 8,286
0 votes
2 answers
169 views

Digital signal routing for EMI/EMC

REMOVE THIS WHEN YOU ANSWER THE QUESTIONS IT ASKS YOUR DESCRIPTION IS UNCLEAR. PEOPLE MAY NOT UNDERSTAND THE QUESTION PROPERLY AND SO WASTE TIME ANSWERING IT. You talk about transcievers and devices. ...
HV16's user avatar
  • 327
0 votes
0 answers
60 views

UART software flow control in ESP32S3 and OTA using cellular modem

I'm using an ESP32S3 chip and trying to implement OTA through a cellular modem. The size of the bin file is 1250KB. The cellular modem has an AT command that downloads all the content in one go. Since ...
cyber122010's user avatar
1 vote
0 answers
24 views

Using HM-10 module vs CC2540/1

Currently I'm trying to buy a BLE module, and the HM-10 module seems to be a module built around the CC2540 or CC2541 chips. The HM-10 module is a module that works whit UART and AT-commands, I want ...
Electromosaw's user avatar

1
2 3 4 5
33