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
47 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
29 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
55 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
35 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
42 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
56 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
31 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
50 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
48 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
56 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 ...
-1
votes
0answers
36 views

Is it possible to communicate between stm32f4 discovery and pc without hardware between them?

I want to send data to my pc via usart from my stm32f4 discovery board. As indicated in the title is it possible to establish this communication without any addition hardware between them? Thank you ...
0
votes
0answers
50 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
60 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
18 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
34 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
59 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
130 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
52 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
54 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
55 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
62 views

AVR USART Random Behaviour

I seem to be getting random character in my USART output with an ATMEGA8 uart.c ...
0
votes
1answer
116 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
44 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
72 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
93 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
114 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 ...
1
vote
1answer
92 views

MSP430 printf function executes too slow

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
40 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
254 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
31 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
46 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 ...
0
votes
0answers
80 views

UART RS232 Converter via MAX232 malfunctioning?

I am a newbie, trying to test Launchpad Tiva's UART channels. I have set up the circuit in order to connect my Launchpad's UART to RS232 port of my PC. However I have the following problems, which I ...
2
votes
1answer
62 views

UART on my atmega328. Dataregister on the USART (UCSR0A) status never set on

I'm experiencing a little troubleshooting trying to send and receiving data into the UART of my atmega. I don't know if it's because the clock cycle is misconfigured or if I made wrong assumption of ...
2
votes
1answer
102 views

Proper Way to Disable UART RX

I'm doing UART communication over a single wire using voltage and current modulation with an STM32F0. The problem I'm having is when I transmit, it feeds back into my Rx circuit an I receive a bunch ...
1
vote
1answer
67 views

USB to Serial cable and VCC current output [closed]

I have question about generic USB TTL Serial cables, FTDI FT232R-based. The cables differ in voltage, 5V, 3.3V and output current. USB TTL Serial Cables I need a cable for a USB to serial ...
1
vote
1answer
113 views

UART connection

I want to implement an UART port, just like the raspberry, but I have seen other connections that include more pins (like the picture below) In some cases, only TXD, RXD, CTS, RTS, GND are ...
2
votes
1answer
191 views

How does the Arduino do serial communication with a PC?

I am trying to develop a program such that I am able to communicate over USB to a PC. I have developed a usart library that I can use for such a purpose, but the problem in-lies with the conversion to ...
0
votes
1answer
89 views

I get back wrong chars from bluetooth module (uart)

I would like to communicate between my atmega8 controller and PC via an HC-06 bluetooth module. I should get back the same char that I send but I get some wrong characters. The bluetooth module uses ...
0
votes
2answers
170 views

msp430g2553, how can I get a UART baud rate higher than 9600?

I have an msp430g2553 in its launch pad. I have tried using a baud rate of 19200 with the UART and I get gibberish. From what I have found, something with the launchpad or drivers limits the UART baud ...
5
votes
2answers
51 views

FPGA able to send data, but unable to receive data. (UART - RS232)

I have a DE0-nano FPGA board and I am trying to establish a serial connection with my PC. I am using the RS232 implementation from here: http://www.fpga4fun.com/SerialInterface.html I have tested ...
0
votes
1answer
81 views

Connecting to pins on USB to Serial module (contains FT232RL chip)

I have this module: My question pertains specifically to the RX and TX pins shown (sorry for having it upside down, only way I could make it look clear.) I don't understand why there are 4 pins, ...
1
vote
1answer
82 views

PIC demo board USART

I am trying to create a gps application but dont get good data. I have heard that the most common fault is to use a invalid baud rate but so I have tried to look at it but without success. The PIC I ...
18
votes
2answers
2k views

Why are two transistors often used instead of one?

Many circuit designs I see with transistors use two transistors chained together instead of just using one transistor. Case in point: This circuit is designed to allow a device with a 3.3V UART to ...
17
votes
3answers
2k views

Difference between UART and RS232?

Most of the time RS232 and UART come together in serial communication theories. Are they both the same? From my readings I concluded UART is a hardware form of RS232 protocol. Am I correct?
0
votes
1answer
86 views

ADC forwarding directly to UART

I have an TM4C123GH6PM, I have also the board EK-TM4C123GXL with that MCU. I am new to microprocessors and still studying to learn. I have to implement a project with a Bluetooth module, which ...
1
vote
1answer
219 views

Can I use ATmega328 TX/RX pins to drive an R2R network and still use the serial port to program the MCU?

Background I wanted to make a simple function generator with an ATmega328 and an R2R resistor network, similar to Jesper Hansen's Mini DDS (Direct Digital Synthesis). To make the function generation ...
1
vote
0answers
43 views

UART problem on STR912FAW

My code is here: ...
1
vote
1answer
33 views

Reset the timer counter before the overflow in ATXMEGA64a1

I want to reset the timer before the timer interrupt. In my case, I will use the Mod bus protocol for serial port. I had to reset the timer for each byte sent and send data if the timer reach 3.5 ...
1
vote
1answer
161 views

Rx UART interrupt triggering on PIC24F

I'm trying to receive data to a PIC24FJ256DA210 from another device using UART communication. I set up the UART as described below: ...
1
vote
1answer
195 views

STM32L1 USART interrupt problem

I am trying to use stm32l152 discovery kit to communicate by using usart. Although I can send data on tx (I check this via pc), I couldn't get in interrupt function when data come (I send via pc and ...