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
1answer
30 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
102 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
151 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 ...
1
vote
1answer
51 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
59 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 ...
0
votes
0answers
10 views

RPI ERROR: Unable to open NFC device [migrated]

I am currently following this guide: https://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/testing-it-out After completing all the steps - inputting into the console: $ cd examples/ $ sudo ...
3
votes
0answers
66 views

DMX512 packet issue (no break?)

I'm not sure if I'm reading this wrong or something, but this is a trace of the DMX packet that's coming from my USB-RS485 module then being converter to UART logic levels for my microcontroller. ...
1
vote
1answer
46 views

Update ATmega168 program with serial

I'm working with an ATmega168 with a Linux based board (TI DM365). The ATmgea168 communicates with the TI over UART. The Atmel is programmed using AVRMKII and is running fine. I was wondering if ...
0
votes
0answers
56 views

Finding out RS232 commands from massage chair

Hey all I have a very quick question to ask about the Bus Pirate before I go ahead and order or not order it. I am looking to get the RS232 commands from a massage chair. It has an ugly, bulky "box" ...
2
votes
1answer
77 views

AVR external crystal not working with UART

So I have an ATmega328P with a 14.7456MHz external crystal, full-swing settings, and I'm trying to talk to my mac via UART and an FTDI friend-type device. If I connect AVR Tx to AVR Rx, then all ...
-1
votes
3answers
120 views

Maximum cable length for 5V or 3.3V I2C, UART, or 1-wire signals over Ethernet and how to increase it?

I know similar questions have been asked before (Maximum cable length for 3.3V UART signals) but I would like to know the answer more specifically for a hobbyist. I've been experimenting connecting ...
1
vote
1answer
42 views

What should I do to have both the synchronous and asynchronous serial communications?

You know that ATmega32 supports Universal Asynchronous Receiver/Transmitter. with pins : RXD & TXD But it doesn't support Universal synchronous Receiver/Transmitter. with pins : RXD/TXD & ...
0
votes
0answers
81 views

MSP430F5529 & Bluetooth module data transfer over UART issue

I'm taking analog input from a sensor and feeding it to the in-built 12-bit ADC on the MSP430. The ADC code tested by itself is performing the A-D conversion correctly and outputting the values as ...
1
vote
1answer
65 views

No correct signal from ATMEGA162 UART

I got the following circuit: simulate this circuit – Schematic created using CircuitLab And this code to run it: ...
2
votes
2answers
103 views

flipping the UART rx/tx pins on an arduino

I managed to flip the rx/tx lines on a project I'm working on. My GPS RX is going to my ATMega's RX, which is clearly wrong. Since the pin map lists the rx2 and tx2 lines as pins D16 and D17, I'm ...
0
votes
2answers
80 views

If RS-232 defines electrical characteristics, what is the transfer protocol?

From this answer, it says RS-232 defines the voltage levels and what not of a signal. I want to be able to read barcodes on my microcontroller with something like this. The closest datasheet I ...
0
votes
0answers
61 views

UART communication STM32F0

I'm trying to connect STM32F0 with the PC using the following converter for UART communication: http://www.amazon.it/gp/product/B00AFRXKFU/ref=pe_115971_53225081_em_1p_0_ti I'm not sure if it is ...
1
vote
2answers
91 views

Event using FTD2XX_NET.dll

I am using a FT232RL chip with FTD2XX_NET.dll I've made a program which writes and reads data to/from AVR atmega32 mcu. First writes data, then reads data as answer. Now, i want to make an event ...
2
votes
1answer
78 views

UART Flow Control

I confused little bit regarding flow control. I have two devices, one is having UART flow control pins (RTS and CTS) named as Device 1 but other device don't have named as Device 2. The device 1 ...
0
votes
1answer
51 views

UART, USB… on cellular cards

Sierra Wireless and other manufacturer carry cellular cards in a variety of physical interfaces. There are different digital interfaces to hardware like USB, UART, USB OTG, HSIC... Additionally ...
0
votes
1answer
95 views

Is an USB-to-UART converter different from an USB-to-RS232 converter? [duplicate]

I have a USB-to-RS232 converter. The GND, TX and Rx pins of the RS232 I connect to GND, Rx and Tx on a development board I have. I've set the right baud rate, flow control and other settings in my ...
0
votes
0answers
137 views

SIM900 AT Commands : CIPSEND & POP3READ

I'm Starting to Work with Sim900 and I have two problems I'm going to command the sim900 via an avr microcontroller and get data from sim900 ONE : in the manual it is written that after using the ...
0
votes
1answer
68 views

How to ensure serial transmission and reception of required data without any garbage values in the 8051?

I'm trying to continuously transmit the character 'L' from the microcontroller 8051 to the PC at a baud rate of 9600. The frequency of the 8051 is 16 MHz, and I accordingly loaded the BRL register ...
1
vote
1answer
51 views

Reception without interrupt in USART of PIC18

I would like to know how to receive data without interrupts in the PIC18 controller. After setting the USART settings and baud rating, what things must be done so that USART receives properly without ...
1
vote
1answer
62 views

Changing BaudRate in both sides simultaneously

Through the C# interface i want to change the baudrate, to do that ofcurse i have to change the baudrate in the other side which is MSP430 using CodeCompserStudio and to send an Ack to PC then I ...
0
votes
1answer
71 views

Usart puzzle giving strange output on tx pins

I have tried working out usart peripheral of pic18f26j50 and it found out to be working very well. This one is for a pic18f26j50 in bread board with observing TX pin while transmitting in a loop. ...
0
votes
0answers
47 views

UART PIC18F8722

I'm trying to connect a bluetooth module (the baudrate is 9600) with a PIC18F8722. The connection is with UART and I programmed this: ...
3
votes
1answer
66 views

PIC datasheet is unclear on clearing framing error

On the PIC16F1829, FERR reflect the framing error status of the top byte in the two byte serial receive FIFO. Thus, assuming no new bytes arriving with framing ...
0
votes
0answers
118 views

High baudrate UART on PIC24F

Working on a PIC24FJ256GB110 and trying to get a UART working at 115200. Using a scope, I see that the UART transmits the correct payloads when the baudrate is 9600 although not when I increase it... ...
1
vote
2answers
65 views

Simple FPGA serial communication not working

FPGA board (manual) USB-to-RS232 cable (controller) synthesis reports I created a simple schematic which shorts the TXD and RXD pins according to the manual. However, when I use RealTerm to send ...
0
votes
0answers
111 views

Read and write FPGA registers via USB or Ethernet

I'm working on an FPGA project on an Atlys Spartan 6 board. I'm programming it in VHDL. I have two 32 bit registers, one for output, the other for input. I need to be able to, respectively, read and ...
2
votes
2answers
92 views

Tips for Cross checking baudrate of usart

I'm trying with blue tooth module HC05 with pic controller here and i would like to check my cross check my baud rate via scope or simulation. I would like to know the steps or good methods that you ...
0
votes
0answers
22 views

Strange bluetooth module behaviour and UART tips

I'm bit new trying out with bluetooth modules and I started using one. Bluebee Gold Bluetooth devicedevice link The first problem that I have is when is configure my controller(PIC) with setting RX ...
1
vote
1answer
40 views

What does term “connectivity attributes” mean in AM3359 Cortex A8 processor (used in Beaglebone)?

Please explain the meaning of the term "connectivity attributes" in context of UART in AM3359 processor. I found the term while reading its Technical Reference Manual (TRM). It is not defined in its ...
1
vote
1answer
98 views

AVR USART Garbage Data

I have been having issues with my AVR USART. Using a PL2303 USB adapter with the following connections to the AVR What I am seeing is Garbage data (mostly of 0xFF or 0xF7 or 0xE7) even when the ...
1
vote
2answers
193 views

Problem with USART programming

I have got a problem with an USART module I wrote in C for PIC12F1822, related to USART transmission. Everything happens to be fine when I debug in MPLAB with PICKIT3 (TXREG changes value and every ...
0
votes
0answers
155 views

Send AT commands to UART device, what am I missing?

It all started with me wanting to change the pairing code of a bluetooth device, and now I'm knee-deep in electronics... I have a miniELM327 bluetooth interface with PIN "1234" , I want to change it. ...
0
votes
2answers
182 views

Multiple USART Devices - ATMega 328

I have 2 devices connected to my ATMega328 USART pins. One is PL2303 USB to TTL converter and the other is Bluetooth <-> USART adaptor. I was advised that I should not have 2 devices connected at ...
1
vote
1answer
99 views

AVR USART Not Receiving

I have connected my AVR USART to file stream so as to make it easy to send formatted strings on ATmega8 From the AVR, I can send(TX) just fine. However, I am not receiving anything. Can't put my hand ...
3
votes
1answer
97 views

AVR USART Random Behaviour

I seem to be getting random character in my USART output with an ATMEGA8 uart.c ...
0
votes
1answer
191 views

Why signal deteriorate in half-duplex UART communication in long wire (6 meter)?

I am doing project on half-duplex UART communication between two AVR microcontrollers. I am using n-mosfet based push pull circuit in both transmitter and receiver side. 3.3 V signals transmission is ...
0
votes
0answers
84 views

Embedded host driver or RS232 host-side converter for CP210x USB device?

I currently have a device that uses a CP2102 UART-to-USB converter to send information to a PC. Now I want to instead have it send information into a dongle (not part of the actual device), which will ...
1
vote
0answers
203 views

UART Wifi module setup

I recently bought this wifi module. Connected it to my pc and set it up according to the example provided. Thinking that it was just plug and play(as advertised) I hooked it up to my Arduino Uno, ...
1
vote
2answers
322 views

Is it possible to program a AT89S51 chip with a USB to TTL(UART) converter cable or Arduino?

Recently, a have a chance to get a AT89S52 chip, but I do not have a suitable programmer for it. I am new to microcontrollers, especially the MCS-51 series , but I've heard that MCS-51 is the "right ...
2
votes
0answers
152 views

What's up with my 74HC4052?

I am using a TI 74HC4052E to multiplex a TTL UART on a Microchip PIC32MX695F512 microcontroller. The expected behavior is for the TX and RX signals to pass through the switches unaffected; sadly ...
2
votes
1answer
157 views

MSP430 printf function executes too slow [closed]

I try to use Sky mote (MSP430 F1611 + CC2420) to read the data from I2C sensor with 100Hz sampling frequency and write the data to serial port (USB). I tried a couple of tests and realized that the ...
0
votes
2answers
88 views

MCU cannot communicate with Bluegiga WT12 module

I have the evaluation kit EK-WT12 for Bluegiga WT12 module being controlled by a TI Launchpad. I have used the evaluation kit to communicate to a computer with SPP profile and I have sent and received ...
6
votes
2answers
497 views

My serial receiver verilog implementation does not act as expected

I have coded my own implementation of a serial receiver. It will work for incoming data at a baud rate of 115200. Here's my code: ...
2
votes
1answer
32 views

Separating a PORT into in/out and getting random nums?

Using ATMega1284 I want to generate a random number from 0-7 (maybe more range). This is the main concern. As long as it "feels" random its fine. And it could resolve the rest of my issues... anyways ...
0
votes
0answers
85 views

UART connection problems with TM4C123GH6PM

I am a newbie and have a EK-TM4C123GXL with TM4C123GH6PM on it. I am trying to transmit 9600 samples per second from ADC, using UART channels to a Bluetooth device. I am using timer triggered ...