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
18 views

AVR USART OUTPUT almost similar as input

My output is different from my input when I try to read it from my Hercules terminal. Could this be from a bad UART initialization? Inputs : | á, 1, 123 Outputs:|a, ±, ±²³ Code: ...
3
votes
3answers
204 views

UART Polling vs Interrupt

I have two UART ports on an MSP430 that need to stream data between a Host Controller (Freescale IMX6) and potential devices ...
2
votes
0answers
386 views

What are free RS-232 terminal programs? [migrated]

I've read signals from an AVR in university, but I forgot what software I was using. I can't seem to find any on google. Maybe I am not looking right. What are some free UART software for AVRs? I ...
1
vote
2answers
84 views

3.3V UART over 20cm ribbon cable inside an enclosure - EMC considerations

I am currently designing a device which internally consists of two circuit boards inside a fairly large, grounded metal enclosure. I'm designing one of the boards myself, the other is a bought part ...
1
vote
2answers
57 views

Asynchronous serial bit transmission/reception

I am asking this stupid question for my general knowledge. Why in serial protocol often send least significant bit first? For example, in UART, data byte 10101100b (0xAC) is send as 00110101b (0x35). ...
0
votes
0answers
15 views

WT12 module in SPP profile

I am a newbie and trying to work out the way to a simple application I have to finish. What I want my Bluegiga WT12 module to do is, just enter to the SPP profile and wait for any initiators and get ...
0
votes
2answers
59 views

Encapsulation of M-BUS protocol on a serial link UART/RS232 [closed]

i have to re edit my question to clarify my issue .Since the industrial protocol M-bus has its own network and obviously a transceiver ,so we long to find a way to encapsulate it into another . So ...
2
votes
0answers
44 views

pic24fj128ga310 uart not working in application, but works with PuTTY

I'm trying to connect a PIC24FJ128GA310 mounted on an Explorer 16 board with an embedded wireless module. I have been able to set up both to communicate perfectly well with PuTTY (an equivalent to ...
0
votes
0answers
61 views

UART takes some “kicking” to start receiving data

I am using a UART on a single board computer (Olimex A13) and I am trying to send and receive data through the UART. On the send side I have no problems. The Olimex board sends data to the serial buss ...
2
votes
1answer
157 views

LIN-communication between two STM32F4 with a standard LIN-transceiver (Hello World)

I have the following circuit connecting two stm32F4 via the SN65HVDA195-Q1 LIN-transciever. simulate this circuit – ...
2
votes
2answers
87 views

uC to host Bluetooth module via UART

I am a newbie. I am trying to finish a school project, I need to transmit an analog signal to the computer via Bluetooth. I am using Bluegiga WT12 as the Bluetooth module, and I want to use it with ...
1
vote
1answer
56 views

Arduino <-> BBB UART issues using bi-directional level converter (5v to 3.3v)

I am having a strange issue interfacing between an Arduino and BeagleBoneBlack over UART. The Arduino is 5v logic, and the BBB is 3.3v logic, so I'm using a bi-directional logic level converter from ...
0
votes
1answer
43 views

Switching Between an Analog Sensor and a Digital Sensor

I am working on a project that reads sensor data from multiple sensors. I am trying to come up with a universal solution for connecting these sensors, and have decided to go with a 4P4C Modular Jack ...
0
votes
0answers
20 views

UART0 on MCBSTR9 Board STR912FAW44?

I've been studying on MCBSTR9 board. I wrote UART code. I think,everything true but I could not see anything on hyperterminal.I could not find my error. Code here ; ...
0
votes
0answers
60 views

Can receive from UART, but not send?

I have a commercial device that has a serial port header on it. I soldered some pins to the header and can now receive data from the UART. However, I'm stuck trying to send it data. I'm using an mbed ...
0
votes
1answer
61 views

checking uart overrun and framing error flags in linux

Checking uart overrun and framing error flags in linux. In some microcontrollers I can access overrun and framing error flags programmatically. Is it possible to access these flags from command line?
2
votes
2answers
144 views

Is a N-Channel Mosfet save/reliable for level shifting UART from 3V3 to 5V?

I am busy with a design that needs to connect a Raspberry Pi to an Arduino via UART. Previously I have designed a circuit that worked okay. But now I want start using SMD components and is planing ...
0
votes
0answers
36 views

How to connect a “MAX13020” or “TJA1020” LIN-transceiver to a ATmega2560 UART

I have got a MAX13020 LIN-transceiver which should be identically constructed like the TJA1020. Now I would like to connect this transceiver to the UART of an Atmega2560. How does the circuit has to ...
0
votes
1answer
31 views

Atmeg16 USART communication problem

In my project, I use a atmega16 to send data to PC via USB to TTL converter at baud rate of 9600 and internal RC of 4Mhz. If I power the atmega16 using my laptop through a usb cable I can receive the ...
0
votes
1answer
53 views

pic33f UART Problems

I've been tearing my hair out at this for a while. I have a dsPIC33FJ16GS502 and I've been trying to get it to transmit a single character to my computer but so far, I have been getting absolute ...
1
vote
1answer
34 views

Controlling a Link Sprite camera through an AVR - how to get the data to a PC? [closed]

I have a Link Sprite camera through which I intend to take image captures and store them into an EEPROM. Later, I want to extract the data from the EEPROM and display the image on a PC. What are my ...
0
votes
1answer
68 views

UART Modulation Using STM32

I'm trying to generate a modulated UART signal from the standard Tx coming out of my microcontroller. What I'm trying to accomplish is to have a 100us wide pulse generated on every edge ...
0
votes
1answer
78 views

USB-TTL problem connected to my UART-WIFI module help! [closed]

A question is one to regulate that there warms up very much the chip of my usb-ttl that this feeding to my module uart-wifi as sample in the figure. That can be the problem helps. PL-2303HX ...
2
votes
3answers
344 views

STM32 USART Rx Interrupts

I'm trying to setup UART communication with the STM32F0 Discovery Board but I am having difficulty adapting the Rx side of things to my needs. The STM32 will be receiving a message (4-6 bytes with no ...
0
votes
1answer
220 views

Bluetooth module HC-05 interfaced with PIC: great latency and wrong data

I am using a PIC16f887 oscillating on an external crystal of 20MHZ The code is simple ...
0
votes
1answer
52 views

Can Atmel Single Wire Interface (SWI) Support more than one device on the bus?

I'm interested in using multiple ATSHA204's on a bus. UART or I2C if we have to use more than one pin, but my question is if we use Atmel's bit-banged SWI protocol, will it support more than once ...
0
votes
0answers
78 views

TXE bit won't clear UART ARM M0

I'm trying to get UART working on a STM32F0 part and can't figure out the interrupts. According to the reference manual ...
1
vote
2answers
155 views

Is it possible to construct a USB to UART bridge using MAX232 or TUSB3410 IC?

I am trying to build my own Arduino board. But for connecting it with a PC a USB to UART bridge was required. Even though I can buy it from sparkfun, I wanted to build my own bridge using some sample ...
0
votes
0answers
55 views

FT2232H as USB to MCU UART configuration using D2XX

I'm having trouble using the FT2232H as a USB to MCU UART bridge. I was able to open the device using and set the baud rate using D2XX commands. However, I cant see any UART output in my logic ...
2
votes
2answers
324 views

Answering a phone call with RN-52 and Arduino Mega 2560

I come from Stackoverflow in need of some guidance. My goal: stream tunes (completed) and answer/end calls through the RN-52 (not completed) My issue: I am getting confused on the RX/TX/CTS/RTS ...
5
votes
2answers
182 views

Baudrate of DS18B20

I'm trying to connect a DS18B20 to my Beaglebone Black. Now I wan't to determine the Baudrate but can't find it in the Datasheet of the DS18B20. In the internet I saw different ones (9600, 19200). ...
3
votes
1answer
104 views

7-bit data mode in bluetooth module rn-42

I have bluetooth module rn42 I need to configure it to 7-bit data mode. Data sheets says that I should use command S7,1 to enable 7-bit data mode, but it does not work. I receive ERR when sending s7,1 ...
2
votes
1answer
106 views

Using UART clock 3.6864 Mhz for a microcontroller

I want to use a 3.6864 MHz external oscillator to clock my ATMEGA328p to ensure 'error free' serial communication. When I looked at this page, I see that 3.68464MHz is also represented as 2*1.8432 ...
2
votes
1answer
225 views

Reading and writing CAN messages through ELM327

I have an OBD-II cable, and an UART-to-OBD-II board which has the ELM327 IC in it. I want to communicate with my ECU by sending-receiving CAN messages. Is it possible to communicate through ELM 327? ...
1
vote
1answer
168 views

Exchange serial messages via UART between 3.3V µController and 5V µController concrete (STM32F4 and ATMega 2560)

I would like to send messages from STM32F4Discovery board to Arduino Mega 2560 via UART. How do I connect the Arduino to the STM32F4Discovery? Do I need any extra electronics? If I understand ...
2
votes
3answers
193 views

Logic level converter for H-bridge and UART for Raspberry Pi

Here is my situation: I'm using a raspberry Pi to control a H-Bridge. The H-Bridge is not tolerant of both it's inputs being high logic value, which causes a short through the transistors, bypassing ...
0
votes
1answer
118 views

Maximum distance for AVR UART on 3.3V

I need to connect two boards using UART of AVR. I wanted to know how much can be the maximum length of the cable between two baords if VCC is 3.3V. I dont want to use rs232 here. This question didnt ...
1
vote
0answers
146 views

ATXmega: DMA and USART communication

I am working on an application on an ATXmega256A3 for measuring data. Ideally, the application would be able to communicate cleanly via UART with hardware handshake measure just in time even if ...
1
vote
4answers
148 views

Why does my AVR act weird (resets, data corruption) when receiving a few bytes on the UART?

I have an ATmega644 connected to another device using the UART. After receiving a few characters on the UART the device resets and/or acts weird. Some examples of this behavior: Code before the main ...
0
votes
1answer
101 views

Connecting UART of ATmega16 to XBee

I am using the UART of ATmega16 for transmission. It is connected to XBee using a development kit which already has a MAX232 IC. How can I use the UART of ATmega16 with XBee? The other XBee is ...
1
vote
0answers
170 views

Stellaris Launchpad: UART over GPIO PIN in ASM

I want to initialize and use UART on my LM4F120 Stellaris Launchpad in ASM. I found a reference code on how to to this on this ...
2
votes
5answers
214 views

What exactly is the start bit error in UART?

The questions are in the bottom of the post. I understand that there are a lot of sources of timing errors inherited in UART communications. The magnitude of these errors is what limits the ...
1
vote
1answer
401 views

ATMEGA UART transmition with flow control

Background I'm using an ATmega328P to send data to another device at a high baud rate (230400). The device I'm sending data to supports flow control and raises the RTS signal when it needs to hold ...
0
votes
1answer
161 views

How to run Arduino-on-breadboard at 3.3V and still have USB communication to PC

I have built an Arduino on a breadboard (using an ATmega328PU) with an 5V FTDI USB controller. I want to be able to run the Arduino at 3.3V instead of 5V. It works completely at 5V supplied by the ...
2
votes
1answer
180 views

UART/USART on XMEGA

I am making a design and using the ATXMEGA128A4U (datasheet) for the first time. I need to connect this MCU to two UART Modules (FTDI chip and Bluetooth module). I have two questions about this: 1) ...
1
vote
1answer
159 views

USART transmission errors with CP210x

I am sending ADC results from an ATmega16 controller to a PC through CP2102. Baudrate: 0.5Mb/s, 8 data-bits, 1 stop bit, no parity. I've written a software to visualize received data. Here is an ...
4
votes
1answer
373 views

ADC strange behavior (ATmega)

I am building a hobby oscilloscope on ATmega16. I am testing ADC by generating a square wave at 2kHz with small amplitude and applying it to the ADC pin through a capacitive input with a voltage ...
4
votes
1answer
282 views

TTL logical low isn't ground

I'm working with an Arduino Due and four 5V TTL pressure sensors. I'm using this logic level converter to convert from the 3.3V Due to the 5V sensors. I've been having problems using all four at a ...
2
votes
3answers
151 views

Is there a terminal-on-chip?

What I want is a chip that can be connected to an MCU over an UART which outputs textit receives over VGA or composite in text mode to a display in monochrome or color and optionally accepts VT100 ...
2
votes
2answers
291 views

VHDL UART Realization

I try to implement the following simple UART reciever. The simulations goes fine (image attached). But i encountered some problems in real hardware realiztion using Nexys 2 board. I try to send a ...