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)

0
votes
0answers
16 views

Sending data from Atmega8 to Android through HC-06

I am building up a communication between Atmega8 and Android device through HC-06. The uC can read the comfortably. But when it sends data the received data is garbage. The baudrate of working UART is ...
1
vote
1answer
74 views

Why ARM Cortex M0 prints incorrectly Hello World on UART?

I am new to ARM CORTEX M0. I am trying to use the Tx pin of UART as debug port. If I use the XDS200 debugger to step through the code, I am able to see the characters and I can see "Hello World" ...
0
votes
1answer
40 views

Contiki: Serial Line IP via SPI

I am working on Contiki's cc2530 port (customizing for my custom radio). I do not unserstand how can i make SLIP work with SPI? I understand that SLIP is similar to UART (it is UART without parity, ...
0
votes
1answer
33 views

FT232RL TX/RX Direction

I want to basically embed an FTDI cable in my board to avoid confusion with the RX/TX pins, wrong cable, etc. I really want to make sure I choose the direction correctly though. I have ...
1
vote
1answer
32 views

Stm32f429 usb cdc to pc

I want to put together a simple library to communicate between stm32f429 and pc via usb cdc vcp. I noticed many examples from stm create a usb uart bridge on the mcu. I am trying to understand the ...
1
vote
2answers
70 views

FTDI UART programming (first steps)

Im currently trying to leave the arduino board aside and starting program microcontrollers on pcb boards via programming pins, im using an ATMEGA328u from this premade board, For starters im trying to ...
0
votes
1answer
24 views

Leakage current in UART RXD

I have connected a microprocessor to a bluetooth module using UART. During the sleep of my microprocessor, I measured 7.8uA flowing from uC's rxd to bluetooth module's txd. I measured 70k pull-up to ...
4
votes
2answers
212 views

does changing UART stop bit number configuration (receiver side) affect message correctness

I'm using USART on board to display messages on desktop PC terminal using Realterm I noticed that, when I change stop bit number on Realterm, it does not affect the correctness of the message, ...
0
votes
0answers
14 views

Flashing the NOR Flash over UART

I am using LSI SAS2x24 SAS Expander IC in my system. It needs an external NOR Flash to load the image from. For putting image in Flash, UART interface is given in LSI. So, we are trying to load the ...
1
vote
0answers
27 views

Internal Programmable ROM of CP2102 (USB to UART)

I am using CP2102 device (USB to UART) in my project. It has internal programmable ROM t0 configure product ID. I tried in there tool via USB and it works. Now, I want to programming the ROM via my ...
2
votes
1answer
52 views

PIC16 I2C interrupt does not occur if serial port enabled

I'm using a PIC16F1825 mid range PIC and I've used it with a UART and SPI for a good while without issues. When I added code to handle I2C (instead of SPI - it's either one or the other on this PIC) I ...
0
votes
0answers
44 views

Why is flow control adding bytes to my data stream?

I'm working with an mbed LPC1768 microcontroller and a BLE112 Bluetooth LE Module. I wasn't able to get the two to communicate, and I had a hard time figuring out why. However, when I hooked it up to ...
0
votes
0answers
204 views

STM32F0 UART + DMA + Interrupt with STM32CubeMX HAL 1.2.1 problem

Hello fellow electronics engineers! I'm having a bit of a problem with setting up the STM32F072-Nucleo board as a small shell (I want to send commands via UART and set/get various settings of the ...
1
vote
0answers
65 views

Jitter in UART start-bit

Experimental setup: STM32F103RB microcontroller, Keil uVision 4.72, USART2 on PA.2, PA.3. Experiment: initialize USART for 9600 baud/s, initialize PORTA, initialize SysTick (for delays, interrupt ...
0
votes
0answers
18 views

What IRQ to use for USART transmission handling under SAM3x8e?

I've made the USART support for SAM3x8e arduino based board. The MCU has TXRDY, ENDTX, TXEMPTY, TXBUFE interrupts. What would be the best choice to be used in IRQ driven transmission handling? Now I ...
0
votes
1answer
37 views

How to setup SAM3x8e IRQ handler for USART?

I'm making UART support for SAM3x8e based Arduino Due board. I would like to clarify questions I can't resolve by searching the web. Is it only one IRQ handler per MCU component like USART? This ...
1
vote
1answer
184 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
70 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
19 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
69 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
32 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
59 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
89 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
100 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
70 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
101 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
79 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
59 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
59 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
127 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
74 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
65 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
49 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
25 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
49 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
53 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
93 views

UART interrupt problem on LPC1788

I wrote a code ...
1
vote
0answers
25 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
87 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 ...
5
votes
1answer
168 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
601 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
102 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
33 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
67 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
54 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
61 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
39 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
91 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
358 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
56 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 ...