The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
19 views

Does CP2102N-QFN24 has native support for Android 8.0 or above?

I want to use CP2102N-QFN24 USB to UART chip with Android phones having API 26 and above. Does this chip has native support for Android phones with API 26 and above or need to download/install some-...
0
votes
1answer
131 views

How can I possibly get a 9600Hz square wave, for a serial baud rate?

I'm trying to create parallel to RS-232 serial converter using standard logic (serial transmitter only, no serial receive functionality). To get the clock signal my idea was to get a 7.3728MHz ...
5
votes
2answers
2k views

RX vs TX operation in Software UART

I am short of 1 UART in my MCU. I needed 4 but so far what I have found suitable is an MCU that has 3 UARTs in it, STM32F103. So the 4th one I will have to implement in SW. Each of my individual ...
0
votes
2answers
51 views

can i connect two (usb to serial eg. FTDI)?

Is it possible to connect/communicate in following manner? (FPGA-1) to (USB to serial-1) to (USB cable) to (usb_to serial-2) to FPGA-2. So the FPGA-1 sends data from uart Tx..then (USB to serial-1) ...
1
vote
1answer
26 views

Use PPS for UART and PGC/PGD on PIC32

I'm using a PIC32MM0064GPM028, all pins are currently used. I would like to use UART2 briefly for sending debug output to a terminal. Datasheet tells me that UART2 and UART3 can be used with PPS (...
2
votes
3answers
85 views

How to find an MCU with specific characteristics? [closed]

I am trying to find an MCU in which there are some specific requirements for I/O peripherals (such as UARTs, SPI, I2C, etc). I also want to be able to search by the footprint size. Should I go to each ...
11
votes
1answer
880 views

FPGA starts working after irrelevant changes, why?

I have written a UART module in Verilog. By using that module I get data from PC via UART and then send that data back again via this UART module. I uploaded it to FPGA for testing. It works flawless ...
0
votes
0answers
25 views

Problem communicating with 3DR telemetry radio [on hold]

I am trying to establish a simple wireless serial communication between two Radio V3 telemetry modules. I send messages from one antenna from a Putty terminal and view the output via Putty at the ...
0
votes
1answer
42 views

Do I need external pull up resistors for TX and RX lines in CP2102N?

I want to use it to program a microcontroller and this is the recommended set up from the data sheet. I was wonder If I need these resistors or not. I am not asking if STM32 chips require pull ups. ...
0
votes
1answer
66 views

Connect to a serial output device with 12V power input with 5V USB-TO-UART

I have DG600F coin acceptor with 12V power input and serial port output CP2102 usb-uart bridge and FDTI TTL-232RG cabel as an alternative A PC and Macbook as alternative I need to connect DG600F to ...
0
votes
1answer
85 views

fpga gpio pins as uart pins (tx and rx)?

I am trying to use fpga de2115 and (ftdi ft232rl usb to serial) to communicate with pc. Can the tx/rx pins from the adapter be connected directly to the fpga gpio pins? The board has rs232 port , but ...
-2
votes
1answer
71 views

STM32 Nucleo UART2 tx/rx pins wired to UART3 tx/rx pins [duplicate]

I am exploring UARTs on the STM32F103RB on a nucleo board. The board is connected via USB to my laptop, and I can send/receive messages using the ...
0
votes
0answers
41 views

Using a BeagleBone board as a serial terminal server

I am trying to use a BeagleBone Green Wireless board as a serial terminal server. That is, connect USB-UART cables to the USB ports to control other serial devices when I log into it over the ...
0
votes
1answer
42 views

How do I connect a bno055 chip to a Linux pc via an FTDI UART breakout sensor?

I want to create a C++ (or C) program that reads in a stream of Quaternion data from the bno055 Adafruit chip. My set-up at the moment has an Ubuntu PC as the controller. Plugged into the PC is a ...
0
votes
1answer
64 views

STM32 send from UART3 and receive on UART2

I thought to create a simple test to send and receive a buffer via UART. I succeeded in sending bytes from my PC to the nucleo bord and receiving them in blocking and non-blocking mode. But for some ...
0
votes
3answers
103 views

Connecting 2 external PCBs with a 1m cable

I would like to connect 2 PCBs. On each PCB there is a MCU and each MCU is able to send and receive commands from the other one. Also, PCB1 should supply power to PCB2. The 2 PCBs are separated by ~...
1
vote
2answers
81 views

Can I use a cheap logic analyzer as a USB to UART TTL cable?

I need a USB to UART (TTL) cable for connecting to an onboard JTAG connector. Since I already own a Sigrok logic analyzer, I figure it might function soley as a USB to UART cable. Is this possible? ...
2
votes
1answer
120 views

What is this communication standard I'm seeing? It looks like UART but with a third line

What the title says. I looked into flow control, as that seems like the obvious answer to "what are these extra lines in my UART communication?" But what I'm seeing doesn't really look like flow ...
0
votes
0answers
27 views

What is the simplest way to attach an external USART to SAM3x8e (Arduino Due)?

I need an extra USART on Arduino Due having ability to operate with 9 bits data characters. I have poor knowledge in schematics. I've been searching web for hours but still have no conclusion for the ...
0
votes
0answers
105 views

UART in open drain causes mosfet switching voltage spikes [duplicate]

I'm using an ATMEGA3208 and I have configured the UART peripheral to open drain mode. I'm using an external pullup 1KΩ. I'm experiencing switching voltage spikes that goes negative. They are about 0....
3
votes
4answers
186 views

multiple Open Drain UART over long distance [duplicate]

I have 9 microcontrollers ATMEGA3208 and I have connected the RX and TX lines of 8 of them in parallel. My configuration is in master-slave. The master microcontroller send data to one of the 8 RX ...
0
votes
1answer
63 views

Do UART RX interrupts require support from the transmitter?

I'm trying to understand why I am seeing RX interrupts when tying RX to TX of my SAMR34 but not when I connect it to the transmitting device. The transmitting device notes the following restrictions: ...
1
vote
0answers
51 views

Serial.println using Registers in ATMEGA328P

I have worked with ATMEGA328P using Arduino libraries, but new to actual register level coding. To start with that, I have written code for basic Serial.print in ...
0
votes
1answer
59 views

Unidirectional vs Bidirectional TVS diode for ESD protection UART bus

On my board comes a UART line with a voltage of 3.3V. To safely communicate with the controller on 5V, I use a level offset based on BSS138 transistors. My goal is reliable ESD protection of the UART ...
0
votes
1answer
82 views

UART read consistently missing half of the transmitted bytes

I have setup a simple UART test on my SAML21 and believe I must be misusing the library due to the behavior I'm seeing ...
0
votes
2answers
49 views

RS422 Receiver Not Reporting Errors When Too Few Stop Bits

I am interfacing with a device (the transmitter) which configures its serial settings to 8 data bits, no parity, 1 stop bit at a baud rate of 115200. These are known values and fixed values I can't ...
0
votes
1answer
54 views

Writing extra data causing Arduino Mega 2560 to miss sensor data

I am working on a project that requires data from 3 different sensors and syncing is necessary. The first sensor(HX711) is relatively slow proving 80 samples per second. The second sensor(MAX30101) ...
0
votes
0answers
45 views

USB HID Keyboard Usage Id to ASCII

I am working on a project that will convert a USB HID Keyboard output to RS232. So far, I have a FTDI Vinculum II to host the USB Keyboard and it outputs the USB HID Usage ID (format seen under USB ...
1
vote
2answers
78 views

VHDL UART core transmitter bits

I was studying the VHDL uart core given here. At the bottom of the page is shown the transmitter code. Notice the line tx_data <= "1"&data_i&"01"; ...
0
votes
2answers
65 views

stm32f107 uart frame and noise error

I made a device with a stm32f107 and sim800l gsm module . Module is in data mode(PPP) and I'm using LWIP library . My MCU clocks at 72MHz . My problem is that I get frame error and noise error when ...
-1
votes
2answers
67 views

How to connect STM32F103C8t6 to computer when using USART? [closed]

I'm an electrical engineering student and I've just started to learn microcontrollers.I want to know is there any way to connect my board(I uploaded its picture)to computer when I'm using USART ...
1
vote
2answers
72 views

RPI-arduino communication without UART

I'm working on a project where a raspberry pi zero will be the main controller. The pi has to receive information from a GPS module (gy-gps6mv2) over UART. The same pi will be controlling (receive and ...
2
votes
1answer
82 views

Complete synchronous USART implementation [closed]

I've been studying about USARTs and I haven't seen a consensus on synchronous USART implementation among MCU producers. First of all, there are transmit and receiver clock lines on some serial ...
3
votes
3answers
142 views

How far can 3.3V UART go at 38400 baud?

I'm developing a set of boards that will all be listening to a single 3.3V 38400 baud UART (single TX device, my boards all listen to this line, no "RX" line). They are designed such that there are ...
8
votes
2answers
392 views

Can an SPI slave start a transmission in full-duplex mode?

As far as I know, SPI transmission for an SPI slave works like below: Master selects a slave using SS pin Master and slave send data to each other simultaneously Master starts clock and data ...
5
votes
1answer
78 views

RS-485 network with multiple masters

I'm building a project with multiple RS-485 senders ("masters") and one receiver: simulate this circuit – Schematic created using CircuitLab I'm using one MAX485 as receiver connected to a ...
-1
votes
1answer
179 views

What is difference between UART and i2c [closed]

Why do we need communication protocol and what is the difference between UART and i2c other than clock?
0
votes
1answer
57 views

Programming ESP8266 in circuit

I've designed a simple WS2812B LED Controller utilizing the ATMega328p and an ESP8266 to connect to WiFi. The two are supposed to be communicating over UART. I've made a mistake of not testing the ...
1
vote
1answer
46 views

Existing UART libraries on pic/atmega/

I am still new on electronics (my background is software), I played around a bit with Arduino, and I am trying to advance on other microcontrollers like PIC, ARM, etc. Can I rely on existing ...
0
votes
0answers
96 views

What kind of connector is this? It is used to connect to a device through UART

I'm searching for a 4-pin connector like the one that is displayed below to connect to a device through UART. We have received a couple of connectors from the manufacturer, but we have way more units ...
0
votes
1answer
88 views

STM32F4 and SIM800L logic level

I am currently using an STM32F401RE that I have to interface with a SIM800L GSM module via UART. In a first "toy example" I used Arduino and found no problems, but passing to the STM MCU I am unable ...
0
votes
0answers
123 views

STM32F0 programming through system bootloader using UART

I am writing a python script similar to STM32Loader that can write a hex formatted program to the flash of an STM32F0. I have managed to use the system boot-loader to write the hex file to the chip ...
0
votes
2answers
56 views

What are some good replacement ICs for DIP UARTs? [closed]

Recently, I have been developing an SBC based on the Zilog Z80 microprocessor. Since my first design, a serial connection has been essential for the board to communicate with a PC or terminal. For ...
0
votes
1answer
37 views

DIP temperature Sensor with serial port [closed]

I am looking for a temperature sensor which is in for of DIP suitable for breadboards and serial communication that is usable for Arduino. I am not after a resistive or an analogue sensor. I am not ...
1
vote
1answer
72 views

UART receive detection

I am working with UART and I want to do something but could not achieve myself. I want to enter an interrupt when the data receive stops, i.e when I unplug the cable, do something only once and then ...
0
votes
1answer
28 views

Atmega328 ubrr value shifting issue for serial transmission

My doubt is about the way in which the baudrate value is written into UBRRn registers. For eg: Lets say i want to write the value 25 into UBBRn registers to configure the microcontroller to ...
2
votes
3answers
425 views

Serial communication between STM32F4 and PC -USART-

The question I will ask now is not about how to solve something, I am currently able to make the connection as it will be mentioned below, but my problem is I really did not understand WHY ? Thanks in ...
4
votes
3answers
80 views

Most significant Bit first Vs Least significant bit first

I am studying protocols and came across a concept of MS bit first(in I2C) and LS bit first(in UART). I couldnot understand the advantage/limitations one has over the other? on what basis is it ...
0
votes
1answer
104 views

Isolated UART communication: Which side should send the supply for the isolator?

I am in a situation to establish an isolated UART communication between two separate PCBs. The first PCB regulates and sends the required isolated power of the second one. The UART communication will ...
0
votes
1answer
57 views

Making UART between ATmega32A and the PC :

I used PL2303hx to connect my PC to the chip and I did the correct connections and installed the driver of the IC and the program I wrote was simulated succesfully on proteus: But when I do it on the ...