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

learn more… | top users | synonyms (1)

5
votes
3answers
282 views

How to read whole data sent to USART with interrupt?

I am currently able to read byte by byte from USART with this code ...
-3
votes
1answer
38 views

Unable to connect UART/USART2 in STM32F407ZG

When I try to connect to PC using UART/USART2 on platform STM32F407ZG is not working, Here is the following code which I used, ...
2
votes
1answer
179 views

What is a UART?

I'm taking an EdX class in embedded systems and I'm having a little trouble fully grasping what a UART is. The UART has been used as a means to an end, so it hasn't been described well yet. A UART ...
1
vote
1answer
37 views

Duplicate RX in uart (two devices listening one of which is data-logging)

I am not too familial with UART yet, and was wondering if I could some how duplicate the stream of information going to a microcontroller from a GPS. My application will be using a msp430g2553 ...
0
votes
0answers
39 views

USB to RS485 converter: Auto enable control

I have been trying to program infineon mcu via usb to rs485 converter. Procedure to check mcu is working fine: Query command sent using hercules : 0x80 Response sent by mcu : 0x55 (correct response) ...
0
votes
2answers
70 views

Is it possible to convert SPI to UART without a microcontroller?

I was wondering about converting SPI to UART only in that direction, not the other way around, without using any microcontroller or bridge. If synchronous can be seen as a particular case of ...
0
votes
0answers
51 views

One FTDI on Three Atmega [migrated]

I'm doing a schematic for an arduino project-based and I can not proceed. I'm facing a problem which I have no idea how can I solve it so that's the reason I'm writing back to you. The thing is: I ...
0
votes
2answers
36 views

How to deal with start sequence in payload of communication packet?

Basic serial messages are being transferred between an embedded device and a PC app. MCU UART Peripheral -> FTDI cable -> PC USB Serial Library The ...
0
votes
0answers
53 views

ATmega328p hc-06 writing correctly but reading gibrish

Last week i have been strugling with getting the hc-06 bluetooth module working on my ATmega328p. Whatever the ATmega sends to the bluetooth module comes correctly on my phone. But everything i write ...
1
vote
0answers
38 views

Is there a way to disable an UART terminal? [closed]

I have an embedded PC running Linux (master) and communicating with an external board (slave) through an UART terminal. Only 3-wires are used: RX, TX and ground. The power of the slave board is also ...
0
votes
1answer
29 views

Reception of data using pic12f1822 UART

This is the code ...
0
votes
1answer
43 views

Switchable serial bridge (Bluetooth or USB -> Telemetry)

So I've got a simple serial bridge (wireless telemetry -> bluetooth). Now what I would like to do is to be able to use either USB or bluetooth to access the telemetry module (Not at the same time). ...
0
votes
1answer
61 views

PIC 16F877A interrupt handling [closed]

I am trying to write a simple code to receive and resend data using USART but the code is not working. Could someone give suggestions on possible flaws in the code? I am using USART at baud rate ...
0
votes
2answers
88 views

PIC24F UART Rx Interrupt not firing

I am currently trying to write code for a 48 channel DMX controlled dimmer using a PIC24FJ32GA002. Using a scope I have confirmed that there is a DMX signal reaching the Rx pin of the UART which has ...
2
votes
3answers
75 views

Why there are data bit lower than 8 data bit of uart

Our group are creating a UART IP Soft Core with Wishbone Wrapper and we are using 5,6,7 and 8 data bit. I just want to know what are the use of the 5, 6 and 7 data bit? In addition to my question ...
0
votes
0answers
262 views

Turn Nano with CH340G(16 pin) chip into a USB to Serial converter (TX not working)

I am trying to convert a CH340G Bases Arduino Nano into a serial converter with 50% luck. It is able to receive data on the serial side but the USB to to serial bit is not sending data out. (Validated ...
0
votes
0answers
40 views

PIC24FJ258GB110 using USB-Host and UART simultaneously Baud Rate Issue

I am using USB host code from Microchip MLA. The USB and LCD part is working fine but i want to add UART functionality in the project. I want to send keyboard key-press to UART port. I added UART ...
2
votes
1answer
101 views

MSP430 Choppy UART

I am having issues with the UART on the MSP430FR5969 microcontroller. I am sending about 85 characters 100 times per second for a data acquisition system. I am using 115200 baud rate which should be ...
0
votes
1answer
170 views

PIC UART CODE need help in debugging

My question has two parts: Does MPLABX have a UART simulator? I need help debugging this code: ...
0
votes
1answer
46 views

Can you setup UART Reception on dsPIC33EP512MU814 on eval board dsPICDEM MCLV-2

According to microchip, the dsPIC33EP512MU814 can be integrated with the dsPICDEM MCLV-2 Development Board using dsPIC33EP512MU814 Plug-In-Module However, according to the dsPICDEM MCLV-2 Interface ...
-1
votes
1answer
67 views

Serial connection via 3.5 mm Jack

lately I have been experimenting with the Intel Galileo, the thing is that I can't get the serial connection to work so I can do the "Linux magic". Today I bought this cable and tried to establish a ...
1
vote
2answers
167 views

What are the UART voltage levels for the RN4020?

I've recently bought an RN4020 BLE module, but I'm having figuring out how to make it work. In the datasheet some pins are listed as 1.65V input, 1.35V out, while ...
1
vote
1answer
129 views

Uart serial communication failing to echo back Atmega16a

I am new to the avr (8bit uc) and recently I ran into a problem using serial communication (uart) with PC. Microcontroller fails to responsd in putty terminal where it should echo back whatever I ...
0
votes
2answers
88 views

PIC24 Primary Oscillator XT_PLL frequency is off by 3 percent

I am using a PIC24. After solving the issue with the PLL (PIC24 PLL module is always out of lock) I am struggling with large variation in the system frequency. I wrote a small code that is used to ...
-3
votes
1answer
186 views

Calculate the UART Baud Rate register for PIC devices

How do I calculate the UART configuration register values for a PIC 24F device, based on a desired Baud rate? Currently the UART module has 2 values that affect the Baud rate, BRG (16-bit register) ...
0
votes
1answer
51 views

GSM ZTE MG2639 module freezes after checking SIM

I'm communicating with my ZTE MG2639 module through UART. Few seconds after powering it and getting +CPIN and +STKPCI it just turns off (goes to stand by mode) It only happens with SIM card, and ...
0
votes
1answer
95 views

TI CC2538 radio turns off after connecting UART

Need help regarding Texas Instruments CC2538 RF module. (https://store.ti.com/CC2538DK-CC2538-Development-Kit-P4532.aspx) The module has an operating range from 2.1V to 3.6V I'm trying to use the ...
0
votes
2answers
121 views

Updated- Sending data on USART from Atmega32 To Python

I want to send one word from my Atmega32 to computer using USART serial protocol. As My system doesn't have any COM port, I connected a USB2COM converter cable. And as you see below in Device Manager, ...
2
votes
2answers
70 views

2.8V UART to 5V MCU - how?

I'm trying to connect ZTE MG2639 to 5V AVR (or USB<->RS232). This module is using 2.8V at IO. How can I do that? Normal voltage divider? And how to check if communication is OK in Putty? Just type ...
0
votes
1answer
51 views

Checking Full condition of RBR FIFO of LPC2148 UART

1)How do you check whether the RBR FIFO is full in case of LPC2148 UART? I know that the empty condition can be checked using Receiver Data Ready(RDR) of Line Status Register(LSR). But there is no way ...
0
votes
1answer
55 views

Same address for different registers in LPC2418 UART

I have a very basic question regarding LPC2418 UART. The UART has got different registers with the same addresses. So while loading the data from the test bench, will it not load into all the ...
0
votes
1answer
440 views

DHT11 Temperature/Humidity Sensor

Currently I am trying to read a byte from my dht11 sensor and write it to virtual terminal, but I couldn't find a simple datasheet for beginners. I found a bit complicated mikroC code and set-up which ...
0
votes
1answer
49 views

Accessing RS232 Rx Tx instead of OTG on stellaris LM4F232H5QD evaluation board

I am asking two related questions here: I can see a program uart_echo for stellaris lm4f232h5qd . What I want is that I need to access this data on teraterminal using PA1 and PA2 pins instead of ...
0
votes
2answers
105 views

AVR USART sending garbage

I'm trying to make an ATMega328P to send serial data to my computer and print onto Putty using an arduino board to do the USB to serial conversions. The data that's printed, however is garbage data. ...
0
votes
0answers
47 views

Trying to use BC417 bluetooth with LM4F232H5QD Evaluation Board

I am new to embedded. I am using STELLARIS LM4F232H5QD Evaluation Board. I want to get data from this board using bluetooth. And i have ...
1
vote
1answer
74 views

VHDL RS-232 Receiver

I have been trying to design an RS-232 receiver taking an FSM approach. I will admit that I do not have a very well-rounded understanding of VHDL, so I have been working on the code on the fly and ...
-2
votes
1answer
65 views

Very cheap device with UART interface [closed]

I need to do some experimenting of UART, I need a very cheap device that I could use to send/read from. Please what could I use? Something very cheap to buy or possibility something that I ...
0
votes
0answers
135 views

Transferring data from FPGA to PC (new to FPGAs)

FPGA beginner here. I have a Basys2 FPGA board(i code in verilog) and i wish to make it communicate with my PC. Currently it receives data from a slave device and stores it in an 64 bit register. ...
2
votes
2answers
210 views

PIC24FJ64GB002 UART Bridge

I work in a project but I have a problem. I want make a program what drive the two UART in a PIC, each UART at different baud rate. The idea is take a signal for UART1(9600 bauds) and send to UART 2 ...
2
votes
2answers
203 views

UART Receiver glitches

I encounter problems with my UART receiver module. It is supposed to work at 9600 bauds without parity bit and only one stop bit. The problem is that my UART misses some characters (or to indicate ...
3
votes
2answers
375 views

Why would uart connection only work after disconnecting power?

I am using a Microchip Bluetooth Pictail and a Sparkfun 3.3V USB-to-UART and a Arduino Uno (just for power-5V,gnd and 1 active high signal connected to 3.3V). When I power the PicTail it outputs ...
0
votes
1answer
105 views

Shortest time required UART- UART transfer of 32 Byte block

I need to transfer 32 Byte block UART to UART 8 clock cycles per bit 1 start bit Struct 8-E-2 8bits 1 UART char, Even Parity, 2 stop bits/ char 1 + 8 + Even parity + 2 stop bits = 11 efficiency = ...
0
votes
2answers
89 views

Logic low not low enough

I'm having an issue where the "low" level being output from one device isn't low enough for the device on the other end to interpret it as such. I'm guessing I'm not the first person to have this ...
1
vote
1answer
446 views

PIC32 does not get UART RX interrupts in xc32 Compiler

I'm trying to setup a UART channel on my PIC32 MCU (PIC32MX470F512). But the code does not reach the ISR at all. I have verified that the PPS (peripheral pin select) is configured properly and the ...
0
votes
1answer
1k views

How to get USART and USB-Serial working on the STM32F4Discovery Board?

I'm programming a STM32F407VG chip on the STM32F4Discovery board using CooCox CoIDE. I've stitched together a program based on some examples and tutorials I found online to get USART1 through pins ...
2
votes
1answer
123 views

UART without using the same clock

I am using the C027 development board for prototyping an application and I was wondering it it was possible to use the Tx and Rx pins of the GSM module (available on the pinout of the board as P0_15 ...
1
vote
2answers
424 views

Communication between micro controllers - I2C, SPI, UART?

Basically I have two microcontrollers that I need to communicate with each other. Both controllers send and receive data. Basic idea that I have: I2C, SPI - What I think we can NOT use these ...
2
votes
1answer
83 views

ATmega328A UART: everything working, but not as expected

I am trying to get UART working via the ATmega328A. I want to enter a character, and get that character to be printed out. However, when my code is run this is what happens: I enter one character, ...
1
vote
1answer
162 views

VHDL USB UART Problem

I've just described an UART transmitter and receiver in VHDL. In simulation everything seems to be fine. In FPGA, the loopback interface works well: I push a button, the transmitter sends data, the ...