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
1answer
50 views

Off the shelf host to bridge two USB serial devices? [closed]

I have two USB serial 'devices' (in the 'host' vs. 'device' sense) which I want to get talking to each other. Is there a cheaper/smaller/more focussed off-the-shelf solution for a USB host that will ...
0
votes
3answers
57 views

IDLE flag problem with uart?

...
0
votes
0answers
22 views

DMA Stop Function and CNDTR register Reset

I need to receive unknown length of the data with UART. So I am trying to do, Receive UART data with DMA operation. Firstly, I am checking the UART line, If the Line is Idle, I detected with line ...
0
votes
1answer
38 views

Modern equivalent of the 6402 UART? [closed]

The 6402 UART seems to be relatively unavailable or at least at the verge of discontinuance. Is there a modern version of this UART that behaves in a similar way?
0
votes
0answers
18 views

Debugging communication with HC-05 bluetooth module

As far as I am aware, sending an HC-05 bluetooth module the binary for "AT\r\n" via UART with a baud rate of 9600 bits/s should elicit a response of "OK" back from the module. ...
0
votes
0answers
43 views

Determine DMA receive how many bytes with HAL_UART_Receive_DMA

I need to know, how can I determine how many bytes receive with DMA ? When I using below function, ...
1
vote
2answers
53 views

HAL_UART_Transmit_DMA function sending wrong data

I am trying to use UART with DMA, before the DMA I tried polling method with while(HAL_UART_Transmit(&huart2, (uint8_t *)rs485TxBuffer, 17, 100) != HAL_OK); ...
1
vote
2answers
68 views

Help with a RS232 (+-12 Volts) to USB converter [closed]

I have a device I want to communicate to with the following signals: This is a programmable power supply, an IPS-405. I have determined from the image above, which is all that is available in the ...
1
vote
1answer
55 views

RS485 multidrop to UART

I'm trying to do a multi-drop setup where I have two RS485 devices(with MAX13430) daisy chained without termination resistors(for now) as they're pretty close(few cm apart) and at pretty low speed (...
0
votes
1answer
45 views

Framing Error in STM32G4 LPUART

I have built a discrete buck charger circuit which is controlled by an STM32G4. The G4 is simultaneously measuring voltages, regulating currents, temperatures and communicates to a BMS via UART. Now I ...
1
vote
1answer
35 views

FTDI FT230X Fails to enumerate

I've been trying to get a UART made with an FTDI chip - this one to be specific: https://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT230X.pdf I've wired it up to be USB bus powered, as per ...
0
votes
2answers
60 views

UART and DMA data size

I want to work with the RS485 interface with UART protocole, but I need to choose which method useful for me. I want to use DMA but the data length is not constant, how can I manage the DMA with non ...
0
votes
0answers
70 views

Why the MAX14830 does not transmit?

I am using a MAX14830 as an I2C-UART bridge. My problem is that it does not trans it after I write data to the transmit (THR) register. My initialization procedure is as follows: Reset the chip (set ...
-1
votes
0answers
54 views

Timer Triggered ADC, UART transmission

I want to sample 10 kHz sine wave analog signal generated by an external signal generator and send measured ADC values over serial port (either UART or USB as which can be more efficient). I am ...
-1
votes
1answer
68 views

Combine two UART inputs to one averaged UART output?

My thought with this project was to combine two UART gps receivers to one board that would then average the GPS position and output a UART GPS signal. I have no idea if this is even possible. I've ...
0
votes
1answer
40 views

TeraTerm can't detect the correct port, FPGA Project

I'm a beginner at FPGA design and have been actively trying to complete new projects to get more hands on experience. The project I'm currently working on is a tutorial from nandland. This video ...
0
votes
0answers
19 views

how to communicate between Arduino Uno and ESP8266 via TX/RX Serial ports? [migrated]

I am working on a project contains : 1- ESP8266 as a WebServer that has a dashboard on web browser to control 8 relays connected to arduino. 2- arduino uno board to control relays based on commands ...
0
votes
1answer
35 views

Running Giant Gecko (EFM32GG11) bootloader-uart-xmodem software example

I'm new to Silicon Labs products and Simplicity Studio and was wondering if someone would walk through some basic steps to running the example serial UART bootloader on a Giant Gecko using the ...
0
votes
1answer
56 views

USB-UART Converter Design based on CH340G not responsive

I have designed boards that were using the CH340G USB-UART converter based on the below schematic. And they worked just fine, and back in the day I also paid zero attention to things like differential ...
0
votes
1answer
21 views

RS485 UART Rx Receive Event Handler not fired for all Tx Commands sent [closed]

I am using (1)Azure Sphere MT3620 Starter Kit and (2)RS485 CLICK 5V and (3)Geovan Board Here is the setup (I don't have latest picture, so #2 is swapped to first slot in the MT3620) My MT3620 is ...
1
vote
1answer
89 views

MPLAB programing: Questions on USART initialization code

I have just started using MPLAB for microchip Atmega128. I had a few questions regarding the following code segment for USART initialization which I found in the product documentation. Do I need to ...
0
votes
2answers
97 views

Green box on PCB schematic

I have this schematic which is from the USB to UART section of an ESP32 development kit schematic. I'm fairly new to reading schematics and I'm just wondering what a few things are: The green box '...
0
votes
0answers
23 views

Would UART communication between this NIBP Module and ESP32 need a level shifter?

Good day! I'm trying to send commands to this NIBP module using my ESP32's UART pins and I'd like to ask if I would need to use a level shifter for this? I'm also not familiar with using level shifter ...
0
votes
1answer
40 views

Light indicator for TTL-level UART serial interface with a SINGLE LED?

I want to add some LEDs after the MAX232 to indicate the serial traffic on one of my design. I found some decent circuit like this but seems like all of them are using two LEDs for TX and RX. Because ...
0
votes
0answers
44 views

UART Blocking Mode and Non-Blocking Mode

I want to using RS485 communication between two or more device using stm32 + tranceivers, I need to request-response type communication so RS485 bus will have many data. Which one would make sense to ...
0
votes
1answer
74 views

RS485 Receiving Data Corruption

This was my first topic, RS485 Tutorial Issue. I referanced because of the schematics. I solved the problem in above topic, I forgot to pin settings for DE and RE pins. I have a different problem now. ...
3
votes
0answers
107 views

Bit Timing Issues With a Software UART

(EDIT a big portion of the original question has been somewhat answered so it is out of date. For a more up to date version of what I am looking for now, please skip to EDIT 2, and use the following ...
0
votes
1answer
104 views

RS485 Tutorial Issue

I have two device ( ISL83485 + STM32), and they connected on RS485 line. I want to send some UART signal to RS485 line with a tranceiver. I am using ISL83485 tranceiver for this purpose, I am using ...
0
votes
1answer
67 views

Unnexpected Behaviour From Software UART On ATtiny84A AVR

I am trying to implement a software UART for the ATtiny84A, as it does not come with a UART out of the box. The following is an example of the UART TX: ...
0
votes
0answers
37 views

How do I diagnose problems with serial port communication between a PC and a Blackboard?

I am trying to write an application that runs on a Blackboard and it is supposed to send/receive characters to/from the PC COM port. The application on the PC is Xilinx 'Visits Serial Terminal'. In ...
0
votes
0answers
48 views

issues with UART communication and a PIC processor

I have been working on enabling UART transmission between my PIC18f4620, a FT232, and my flash tool of choice. Hardware wise - I don't see anything out of the ordinary (see below) 1 Yet with the ...
2
votes
1answer
77 views

Not able to use UART on MSP430F5529LP [closed]

I have my MSP on Com8. Here is my code: ...
0
votes
2answers
197 views

How many UART lines should I connect between module and host

I have an LTE module (quectel bg95) that gets AT commands from a host esp32 (esp32-wroom-32ue) via a UART connection. And in the ESP documentation AT manual to send AT commands I should connect: RXD, ...
0
votes
1answer
71 views

PC recognizes keyboard pcb only as FT232R usb UART but doesnt see atmega32a behind it

I made my own pcb design for mechanical keyboard. When I wanted to test it, both mac and windows system recognize only FTDI ft232rl chip on pcb but not atmega32a behind it that controls whole keyboard....
0
votes
0answers
15 views

Potentiostat measurements not syncing with main control board

I have quite the perplexing issue I was hoping to get some help with troubleshooting. It involves communication between an Arduino AtMega2560 board that both commands a potentiostat (built using a ...
-1
votes
3answers
47 views

UART CTS/RTS vs Data Format

I'm working on a project which involves a Texas Instruments DSP microprocessor communicating with an Adafruit BLE Friend UART device. The UART device has a 9600 Baud data mode, but the datasheet doesn'...
0
votes
1answer
30 views

FT230X no handshaking signals

I'm new to digital circuits so I apologize if this is a stupid question. I'm building a small circuit where a mcu is connected to a FT230X ic to enable the internal uart to communicate with a computer ...
0
votes
2answers
73 views

Cross-Talk/Interference between UART Lines on a PCB

I am wondering at what distance UART lines begin to interfere with each other? And can I expect the UART lines below to function properly? The PCB board below has 6 UART lines running alongside one ...
9
votes
3answers
2k views

Should I connect RXD to TXD and vice versa?

The circuit below is used to flash firmware to a microcontroller. There is a Micro-USB port on the PCB used to connect to a host computer. The USB lines (D+, D-, etc.) then go through a bridge chip (...
1
vote
2answers
51 views

Trying to find and bridge USART pins from the manual of an STM32 board

I am trying to solve an issue regarding a firmware with this 64-bit Nucleo Board. I have the hex file and can see the ready source code but when I upload the firmware I am not able to communicate ...
0
votes
0answers
47 views

STM32 uart interrupt not firing

After having a UART echo working on my nucleo F446ze, I am trying to get UART interrupts working. I thought all I had to do is : set the priority for the UART3 interrupt enable the USART3_IRQn ...
0
votes
3answers
101 views

2 UART Connections to MCU using the Same RXD and TXD Lines

I need to connect a GNSS module's RXD and TXD lines to my MCU. But the problem is I don't have any available UART connections on my MCU. There are 3 UART connections, one is used by flash, one is ...
1
vote
1answer
88 views

Raspberry Pi Pico: can read from FTDI dongle but can't write

I have a very weird issue with my USB FTDI uart dongle and Raspberry Pi Pico connection. The problem is that I can read data from the dongle, but not write to it. Raspberry Pi Pico operates at 3.3v ...
0
votes
1answer
35 views

Using din rail terminal to UART communication

Can I use din rail terminal to do the communication between arduino and sensor using uart protocol? Using din terminal can I have problems? Or is better to use DB9 connector? The distance is 4m and ...
0
votes
0answers
56 views

STM32 UART goes crazy

Im' working with a STM3f429 dev board and a Mipot 32001353 LoRa module. This module communicates over UART. I have initialized my UART interface with cubeIDE. When i don't connect the wire between TX ...
0
votes
1answer
40 views

Using SPI with ESP8266-01

I'm pretty new to ESP8266 and all these low-level stuff. I recently purchased a ESP8266-01 and started learning about it and playing around with it, and I have a few questions: First, I found on the ...
1
vote
1answer
96 views

RS-485 module not transmitting LF and CR

I am working on a project that involves two ATMEGA328p MCUs communicating over long distance (between two floors of a building). One is master and the other one is slave. The master always initiates ...
0
votes
4answers
164 views

UART=Hardware, SPI=Protocol?

I read in few places, one of them is this, that one of the main differences between UART and SPI is that the former is a type of hardware and the latter is a protocol. I'm having hard time to fully ...
0
votes
0answers
38 views

TM4C129EXL: Read UART data form RX TX pins and display on console in Code Composer Studio

I am using a TM4C129EXL Tiva-C launchpad and I am facing difficulty in reading the data from the RX and TX pins which are connected to a NEO-6M GPS module. The NEO-6M led indication shows that ...
0
votes
1answer
43 views

Wiring SMD Micro USB to ESP32 MCU

I am trying to connect a SMD micro USB to my ESP chip using a USB to UART bridge. The schematic being followed is attached below. But there are a few things on the diagram that I find confusing, the ...

1
2 3 4 5
27