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)

1
vote
1answer
71 views

Software Serial alternative with AVR (Two Serial/UART ports in atmega328p)

Arduino pins can be used as UART using the library SoftwareSerial.h Is there any alternative ...
0
votes
1answer
56 views

What can you do with UART ports in Microcontroller? [duplicate]

In my Microcontroller there exist UART ports. But I have not understood well how they can be used. Can I use them for TTL or RS232 communication? And would it be also possible for me to use them to ...
0
votes
0answers
12 views

Systick Timer problem

I am trying to use the systick timer to update a variable which stores millisecond elapsed on a STM32F051 in Coocox ide 1.7.8 . I also want I2C and UART communication in my project. I managed to get ...
0
votes
1answer
40 views

Virtual terminal not showing data

I am new to PIC programming and I am doing an exercise with UART. After building the program the message is not being displayed. Can someone tell me where I am wrong. BAUDRATE = 9600, _XTAL_FREQ = ...
0
votes
0answers
20 views

Should the output of a USB-UART module linked to a bluetooth module the same than just the USB-UART module just wired?

I have a device controled by a UART protocol just conected to my PC. I wanted to make it wireless, so I tried to create this conexion scheme PC -> USB-UART -> Bluetooth module -> Bluetooth module ...
1
vote
1answer
42 views

UART ESD protection, and is it necessary on inter-board connections?

This is probably a straightforward question, but I wanted to ask just to be on the safe side. I have a Wifi Module that I'm connecting to an ARM Cortex M4 uC, and it interfaces via UART. Since I ...
2
votes
2answers
73 views

How to determine the end of data received by USART?

I am receiving some strings from UART in AVR. Strings are chaotic, not deterministic. It also includes new line \n and carriage return \r characters that's why I couldn't find a solution including ...
0
votes
1answer
70 views

Saving power between UART transmissions

I use PIC16F1825 to communicate via UART (async) with external device. Running on batteries I have to spend as little power as possible. Since my external device may transmit no data for minutes I ...
1
vote
1answer
61 views

Why does the Tx pin of an USB to TTL adapter provide current?

I'm currently making a little electronic board on my own. On it, a microcontroller: an ATmega328p running with 5V. To communicate with a computer, I've planned to use an XBee, but for now I'm using ...
0
votes
1answer
86 views

Will the PIC18F14K50 perform well as a CNC machine micro-processor?

The data sheet can be found here. I'm trying to select a micro-controller which will eventually run a Wireless 2D Laser Engraver/3D Printer/CNC Machine. I have very little experience in selecting ...
0
votes
2answers
52 views

74HCT244 UART level translator, how would the circuit look?

I am building a UART 3.3V to 5V Level translator between a Raspberry Pi and a ATMega328. The 74HCT244 is my choice of translator but I can't find a good example of of hooking it up. Am I right that ...
1
vote
1answer
47 views

SLEEP_MODE_ADC interfering with USART (and beep)

On an AVR ATmega328P, once per second I am doing 3 AD conversions immediately following each other with 16x oversampling using SLEEP_MODE_ADC like this: ...
0
votes
1answer
52 views

Alternative to AM and FM transmitting for data transmission?

So, I need to communicate wirelessly between a micro-controller and my computer. I'm building a radio receiver circuit, and a radio transmitter circuit that works on FM transmission. However, I had an ...
0
votes
3answers
57 views

How to send string in serial communication in AVR-C

So as the title states, instead of sending a byte of information at a time, I would like to be able to send a whole string. What I tried to do was that I tried to put the user input in an array and ...
0
votes
1answer
62 views

How to debug UART?

The firmware of my module supports UART printf() which I think could be good for debugging, but how could the messages be read? I'm currently using just a USB-to-Serial cable. I've tried using PuTTy, ...
0
votes
1answer
39 views

DMA on Cortex M4 for continuous UART transfer

I've never used a DMA before and I'm reading the datasheet for the Atmel SAM 4E This question does not necessarily have to pertain to this device, it can apply to any device that supports DMA if they ...
1
vote
1answer
28 views

How to reset MCP2200 to default settings?

I designed a simple USB to UART coverter using Microchip's MCP2200 microcontroller. worked nicely for a while, but while i was trying to Update configuration using supplied config utility... the ...
0
votes
0answers
22 views

USB->UART cp2102 module tx lines keeps dying

I had two usb->uart modules with cp2102 IC on them bought on ebay. I used those modules with some custom board to communicate with MCU. Everything was fine, but suddenly I noticed that one of them no ...
1
vote
1answer
47 views

UART: two transmitters, single slave

simulate this circuit – Schematic created using CircuitLab My circuit is shown above - where I have the TXD pin of an ATMEGA connected to the RXD pin of a BT slave. Both devices operate ...
1
vote
1answer
47 views

Store consecutive UART inputs to register

I have implemented a UART receiver/transmitter (8-bits) in VHDL for use on a Digilent Nexys 3 FPGA. So far I have managed to read inputs in a FIFO, process each byte individually and write the output ...
0
votes
2answers
68 views

UART interrupt problem on LPC1788

I wrote a code ...
0
votes
0answers
21 views

communication between ATmega88 and LPC2138

I am trying to communicate between ATmega88 controller and LPC2138 by sending some text on UART lines from ATmega to LPC. UART lines are connected through 100 ohm resistor on hardware.  Currently I ...
0
votes
1answer
71 views

UART Interrupt won't work

I have a problem when trying to test send and receive lines on RS485 communication, anyone know what may cause a problem here? It works without interrupt but with interrupt won't work. I am working on ...
4
votes
1answer
102 views

MIDI IN : many circuits

I'm building a MIDI IN to serial port RX cicruit (for Raspberry Pi, or Arduino, or anything else...) using a 6N138 optoisolator. But I find many different circuits, I don't know why there are so ...
1
vote
2answers
317 views

Gibberish output from an ESP8622 WiFi module

Recently I've got myself a couple of ESP8266 modules. I flashed the latest NodeMCU firmware, and tried to communicate with a PC using UART. Here's how I wired my circuit: Using a simple USB to ...
-2
votes
2answers
82 views

UART voltage on RX pin?

I bought an uart ttl to usb 2.0 adapter on ebay which I tried out yesterday with no luck. I measured all the pins and found to my surprise that the RX pin actually carries 3.3V. This can't be right as ...
0
votes
0answers
21 views

Pc to stm32 mcu usart port

I have an adafruit ttl cable to communicate between an mcu uart port and pc. Can ths same cable communicate between an mcu uSart port and pc? I have read some dicumentation that indicates their is an ...
0
votes
0answers
51 views

Problem to do programming for “TI-CC2538” using UART

I can not do programming for TI-CC2538(Texas Instrument controller) using UART, even they have mentioned in his datasheet, UART0 can be use for programming but they haven't given boot or ISP pin. Give ...
0
votes
1answer
46 views

can't get PORTB value in pic18f2550

I'm trying to send The PORTB to the serial port and receiving the data on pickit2 UART mode.. ...
1
vote
0answers
58 views

Can't run 460800 baude rate on Nexys2

I have Nexys2 Spartan 3E board and I am running Ken Chapman's UART IP core, I need to transmit data to another device at a baude rate of 460800. I was successful in sending data at 115200 and 9600 ...
0
votes
0answers
34 views

Measuring if a transistor can work for SPI/UART when doing logic level conversion

I need to convert 3v3 to 5V and 5V to 3v3 for SPI/UART. I found many options. But I'm still confuse whats good for me. Because Transistors and few other components has rise and fall time. I want to ...
0
votes
2answers
63 views

Convert ASCII represented HEX into HEX

I have a question which I was unable to solve but it seemed trivial. I am getting a stream of characters from a processor over UART and this stream represents a JPEG file. I captured this stream, as ...
2
votes
1answer
332 views

UART as logic analyzer?

I'd like to reverse-engineer a certain 2-wire digital circuit. I'm looking for the cheapest possible logic analyzer. I don't know the exact frequency of the circuit, but it's sub-1MHz. (Likely in the ...
1
vote
0answers
40 views

FTDI2232d + TM4C1294 configurations

I posted this question before, but I am still struggling with this. I captured a schematic and others in this time so it should be more clear to see what's going on. I was given a custom board ...
0
votes
1answer
107 views

Receiving a whole string from USART on ATMEGA16?

I am trying to receive a string from USART but failed , i want to receive char by char and store them in an array until the user enter '\n' and finally display the string to LCD , here is my code: ...
1
vote
1answer
212 views

STM32F205VC: USART framing error?

I'm trying to use USART in my program on STM32F205VC, but instead of sending my data I get some weird chars in PuTTY. I've used a Saleae Logical Analyzer and the result looks like this: This is my ...
2
votes
1answer
209 views

STM32F3 Discovery reading values from sensor using I2C

I need to read values from on-board LSM303DLHC (connected via I2C) sensor and send them through UART. UART part is working but PuTTy shows: "S▒▒" every restart... Can anyone tell me what's wrong? I ...
1
vote
0answers
234 views

STM32 with FreeRTOS: using RS485 on USART with interrputs

I've got simple task in my project using usart and interrupts. It's works by receiving anything, and sending back "12345" string (I'm preparing project for something more complex). In task I have ...
0
votes
1answer
104 views

problem of transmitting data from serial device to bluetooth on Arduino

I am using an accelerometer which uses serial communication on Arduino (UART), I wish to transmit the data to a bluetooth module (blusmirf gold) using I2C and finally read it from my android ...
0
votes
0answers
52 views

Communication between two Beaglebones together using UART, RS232 Microserial capes

I am having trouble getting my two Beaglebone Blacks to communicate over UART0. The gist of the program is I am running a node server so that users can connect to a webpage and send commands to one of ...
1
vote
1answer
60 views

Having trouble synchronizing serial data from FPGA to python script

I have a Spartan 6 that's collecting some data I need to send over serial to a python script where it can be displayed on my PC. This is actually the first time I've ever dug into serial ...
2
votes
1answer
55 views

scoping a UART interface

I'm using a known good FTDI USB -> UART bridge to talk to a 3rd part module on my board. I've just assembled the board, and it's not impossible that I fried a component in the process (it's what I'm ...
0
votes
0answers
24 views

Connect/Pair two BCD210 Bluetooth modules

I'm trying to connect my two Parani-BCD210 bluetooth devices. I'm using them through a UART connection from a micro-controller(ATMEL AT89C5131 ). The problem is, I can connect my devices with my ...
-1
votes
2answers
58 views

PIC18f45J50 2nd Serial port?

I am working on a GPS tracker Project where i need to interface with a GPS module and a UMTS module for 3g connectivity. with this i need 2 serial ports on a single microcontroller. For this ...
5
votes
3answers
674 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
48 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
216 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
73 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
65 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
100 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 ...