Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [uart]

A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.

3
votes
2answers
926 views

Why is there a diode on the RX pin of the Adafruit Ultimate GPS board?

I can't seem to understand why there is a diode at the Rx pin on this Adafruit Ultimate GPS board. If we are sending data to the GPS, why put a diode that prevents current flow into this pin?
0
votes
0answers
75 views

UART RX in VHDL

I have to set up a UART transmitter and receiver using a Spartan 3 board. I've got the transmitter set up already and verified it with the arduino terminal using this FTDI breakout.The receiver is ...
0
votes
0answers
28 views

how to send data from ALTERA DE2 to computer? [on hold]

hello I am currently using ALTERA DE2 and writing on VHDL . my question is simple lets say I connect ADC(analog to digital convertor ) to the altera . so for exmaple my ADC gives me 8 bits resulation ....
0
votes
0answers
37 views

Correct design procedure for UART cross

I'm designing a circuit with a uP (5V logic), Bluetooth module (3V3 logic) and a voltage level translator (TXS0102). Is it up to my consideration on where to do the cross-over? 3V3 side or the 5V ...
0
votes
1answer
34 views

PIC32MX UART Interrupt Not working

I am writing a program to send data from one microcontroller and receive the data using on another PIC32 microcontroller and display the received data on LCD. I am using UART2 of both PIC32MX to send ...
0
votes
1answer
32 views

Now, currently i am working on PIC32MX775F256H ,In this uart_rx _interrupt is not triggering . I don't know why

void __ISR(_UART1_VECTOR, ipl6) IntUart1Handler(void) { if(!INTGetFlag(INT_U1RX)) { g_intraised++; } IFS0bits.U1RXIF=0; } Please help ...
-1
votes
0answers
62 views

pic 32 input is integer and output is garbage values after splitting string [closed]

I am using pic32, MPLAB 8 IDE and my problem is regarding to UART communication. I am using QT gui for data transmission from PC. I am sending 17 phase angles separated by commas to pic32 via uart. I ...
0
votes
0answers
40 views

Attiny 841 dev board schematic review

I am about to send a custom Attiny841 dev board (aimed at Optiboot) to production and I thought, since I never used netiher this microcontroller nor the USB-UART converter before, I'd come here and ...
0
votes
0answers
29 views

custom PCB with brd4306A radio board and bgm13p22512GA soc is slower than Silicon labs starter kit

I am using a custom PCB board with brd4306A radio board and bgm13p22512GA soc(both from Silico Labs) on it. It talks to a windows app via BLE(Bluetooth Low energy). I am also testing this ...
0
votes
0answers
37 views

can't send characters using fpga cyclone iv

I'm trying to connect my FPGA Cylone IV (CoreEP4CE6) with Raspberry Pi 3 for communication through UART. The process (uart_rx) for receiving data is working fine, however, when I place another process ...
-2
votes
1answer
108 views

UART receiver VHDL

VHDL FPGA UART receiver which receives 10 bits via Bluetooth interface. With 8 7-segment displays. Now my problem is the following In the requirements it is stated that I have to write the solution ...
0
votes
0answers
51 views

Receiving data from SIM808

I am trying to use SIM808 module but I have no response even after sending only "AT". I am using 5V/2.5A AC/DC adapter. The board (ecb-v3.2) is rather connected well because two diodes are on all the ...
0
votes
0answers
24 views

ESP32 - MCP2200 Bridge for Programming

I am quite new to PCB design and hardware (I am a high-level coder for my day job and Java/Android/SpringBoot at that...) and have come across the ESP32-WROOM board and want to incorporate it in to a ...
1
vote
1answer
90 views

Do I definitely not want to to add a ground wire to this UART connection?

I'm in a bit of a quandary here but it must be a common one. I have two boards powered from the same battery through a "Y" cable; both boards have voltage regulators on-board. These boards are ...
-1
votes
0answers
29 views

PIC GPS problem with string parsing coordinates

Whoever read this question please be patient to read to the end,need your help..... I'm trying to parse $GPGGA string from GPS module with PIC16f877A using simple UART communication set at 9600baud ...
0
votes
0answers
11 views

Checking HM-TRP radio adapter for initial data

I have several HM-TRP radio adapters (consisting of the HM-TRP chip with a female header connected to it) of the same version. I tested it in a mini circuit where the PC does direct I/O with the HM-...
1
vote
2answers
71 views

How to correctly send the data I received via I2C over UART?

I am using an atmega328p and writing firmware to display the data I receive via i2c in putty. I read the data I receive as follows: ...
-1
votes
0answers
35 views

SAM4S Xplained Pro - Is there a way to restart USART clock to have no drift?

I'm working with the SAM4S Xplained Pro board (target is SAM4SD32C). In my project, Tx send each 3 ms few bytes to Rx through a USART, with a baudrate of 19200 sym/s. I also programmed a Timeout ...
0
votes
0answers
39 views

How to use 3.3 V FTDI Serial Cable with LeMaker Hikey 620 which has 1.8v UART signals

I have FTD Serial Cable TTL-232R-3V3 which operates on 3.3V. https://ftdi-uk.shop/collections/usb-cables-ttl/products/ttl-232r-3v3-2mm I was trying to use it on my Hikey LeMaker for an hour with no ...
-4
votes
2answers
50 views

Adafruit feather M0, determinating UART pins. I dont know which pins are RX and TX

I want to connect MAX3232 to adafruit feather M0 board https://learn.adafruit.com/adafruit-feather-m0-basic-proto/overview , but I cant decide which pins to use for uart rx and tx. In the controller ...
1
vote
1answer
65 views

PIC32 receives/transmits improper data on serial port

I have referred http://microchipdeveloper.com/harmony:example-usart-dynamic-wf32 to configure the UART and send/receive data between PC(Putty) and my PIC32MZ. The demo program in the link receives ...
0
votes
0answers
16 views

UART Current in PIC18F46K22 & 7404 Input Current

I am currently making a decision to invert the UART signal from my PIC18F46K22 and have 2 choices to either use 74LS04 and 74HC04 but there is a difference between the LS and HC that the LS can output ...
0
votes
1answer
44 views

Understanding Testbench Waveform for UART module

I have taken the following code for testing a UART module from https://www.nandland.com/vhdl/modules/module-uart-serial-port-rs232.html Can anyone explain what is happening in the ...
2
votes
0answers
58 views

Is there a standard describing the UART data frame protocol?

The "U" in "UART" stands for "Universal", but I'm having trouble finding any standard that describes the framing protocol that's used in UART; e.g. the start bit, stop bit, parity options, and baud ...
0
votes
0answers
27 views

LPC1768 Uart baud rate Problem

I had a problem when I wanted to log my Code Process with UART. It has shown some unknown characters in terminal . It was somehow identical. I used to change a lot of things but no one solves the ...
0
votes
1answer
159 views

UART - Writing and reading AT commands

I am working with a B-L072Z-LRWAN1 board and a 8pya00-simcom-evb v1.02 board with SIM7000E. This SIM module operates through AT commands and I need to send these commands through an UART connected ...
0
votes
1answer
119 views

STM32 UART character encoding issues (can't decode using either ASCII or UTF-8)

first some specifics: STM32F411 Nucleo board, Atollic TrueSTUDIO v9.1.0, Debian linux 9.6. I am sending a telemetry string over the UART using the HAL. I am using the following code to construct ...
0
votes
0answers
25 views

How to read print statements from nRF51822 chip over ST-link V2?

I hope this is the right board for this. If it would be more appropriate elsewhere please let me know. I have a PCB I designed with a Waveshare core nRF51822 B soldered to it. I'm working on writing ...
0
votes
0answers
139 views

DTR and RTS pins interface for ESP32 auto reset circuit

I'm trying to program ESP32 using FT232rl by following the standardized transistor circuit. 1. DTR and RST using a series capacitor as shown, program uploads successfully by pressing the IO0 button to ...
0
votes
1answer
93 views

STM32F407 USART Interrupt config

Is it possible to Enable multiple USART Interrupts simultaneously by CMSIS USART_ITConfig function? I mean is it correct to utilize USART_ITConfig like this : ...
-1
votes
0answers
71 views

High voltage protection for UART

I need to create a high voltage protection module (up to 50 V constant voltage) for UART line with speed of 56.7 kB/s connecting an STM32 with external devices. I was considering darlington arrays, ...
-1
votes
1answer
66 views

STM32F4 USART CONFIG [duplicate]

The following two statements are true about AVR microcontroller's USART Receiver and Transmitter but im curious about that are these also work on stm32F4 ? When the Transmitter is enabled, the ...
1
vote
1answer
116 views

STM32F4 USART Receiver Pin Configuring

I am trying to configure STM32F4 USART peripheral. I thought that USART Receiver pin(RX) must be programmed as Alternate function to USART works correctly and then the data is present on the I/O pin ...
0
votes
1answer
51 views

STM32L0/FTDI UART Transmit doesn't work

I have STM32L053 (link to overview) and I have been using STM32CubeL0 as UART examples. Also I connected FT232RL FTDI module. Everything was fine. SIM800L and FTDI modules were working fine. Next day ...
0
votes
1answer
81 views

Bit rate of uart communication

I have a setup which communicates between PC(windows) and Atmega2560 using UART. On PC side I am using Pyserial. From the PC I am sending a paragraph of text byte-by-byte to Atmega2560. The UART ...
1
vote
1answer
47 views

USB UART Bridge with capability of handling fast charge VBus

I am trying to design a charging circuit which support QuickCharge but also I want to add USB-UART bridge to communicate with on board MCU. How can I establish voltage level safe communication ...
1
vote
1answer
83 views

FTDI USB to serial communication issue

I am using an FTDI USB to Serial cable to read the startup log of a board. The FTDI cable is not reading the correct information coming from the board. Here is some of the information that I am seeing ...
0
votes
0answers
40 views

minimalist serial port addon to a basic 8052

Currently I have two microcontrollers connected to each other so that I have two serial ports. One to the PC and one to a wireless radio module. Now I'm considering replacing one microcontroller with ...
-1
votes
0answers
52 views

review of various possibilities to drive USART TX/RX leds

I would like to add two leds in my circuit for the TX and RX line in a MCU which run at 3.3V NOTE: the USART is HIGH in idle so the leds should turn on when the signal is LOW To my mind come ...
-1
votes
0answers
27 views

GSM868 UART interface

I have doubt regarding the diode direction.How the UART communication will happen between DTE TX ---> GSM RX? Kindly explain.
0
votes
1answer
43 views

STM32CubeMX/STM32L0 UART Transmit unknown symbols

I am trying to connect UART communication with STM32L053C8-Discovery. But the problem is on terminal I get unknown symbols. My Setup on CubeMX ...
2
votes
1answer
79 views

MSP430F5529 UART: UCTXIFG Doesn't Set Again After Initiating Transmit

I am attempting to program a sort of bridge between UCA0 and UCA1 in UART mode on the MSP430F5529 using the MSP-EXP430F5529LP development board. I am using an interrupt for receiving data but for ...
2
votes
4answers
154 views

UART expander (5 ports to 11 ports)

I have a board that I would like to design and there are 11 devices that can only be spoken to via UART. I am restricted to a Microchip uC chip product range and I have found one with 5 UART ports. I ...
0
votes
1answer
42 views

Different I/O pins of same PORT of ATMEGA8 not providing exact output [closed]

I have written code to switch ON/OFF some LED light connected different I/O pins of same PORT (i.e PORTD) of atmega8 microcontroller. This process is performed using android app by sending different ...
-1
votes
0answers
39 views

CP2102 behaves erratically depending on the chip version

I have 3 similar looking USB-to-UART converters. All based on Silicon Labs CP2102 chip. I test them in identical conditions which means the same host, client and power supply. The only things that ...
0
votes
0answers
31 views

UART Receiving, and writing conflicts

MCU: Atmega328p Currently i am learning UART communication, and ran in to a problem. look at the code below. ...
2
votes
2answers
1k views

Arduino and USB, how it works?

After purchasing an Arduino board (UNO) I decided not to use Arduino IDE as it lacked some features and all libraries are written in C++. I am coding with C. One thing that I really do miss is a ...
-1
votes
0answers
14 views

smart card using LPC11u1x via USART

I try to implemet communication with smart card via USART on LPC11ux. There is special smartcard mode on it, but I realy mixed up with one thing: user manual says, that when smartcard mode is used, ...
0
votes
1answer
48 views

uploading sketch using mcp2221 to Atmel Mega1284P

Hi I am unable to upload sketch to Atmel mega1284p using a mcp2221 usb to uart converter IC. I have a simple code prints "message received" It works to program the Mega1284p using arduino nano as ISP....
0
votes
1answer
42 views

Using UDRIE0 interrupt in ATmega168

I only have some limited knowledge in interrupts. This is what I understand about following ISR functions ISR(USART_RX_vect) will get called when a new data ...