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

Uart serial communication failing to echo back Atmega16a

I am new to the avr (8bit uc) and recently I ran into a problem using serial communication (uart) with PC. Microcontroller fails to responsd in putty terminal where it should echo back whatever I ...
0
votes
2answers
62 views

PIC24 Primary Oscillator XT_PLL frequency is off by 3 percent

I am using a PIC24. After solving the issue with the PLL (PIC24 PLL module is always out of lock) I am struggling with large variation in the system frequency. I wrote a small code that is used to ...
-3
votes
1answer
51 views

Calculate the UART Baud Rate register for PIC devices

How do I calculate the UART configuration register values for a PIC 24F device, based on a desired Baud rate? Currently the UART module has 2 values that affect the Baud rate, BRG (16-bit register) ...
0
votes
0answers
10 views

GSM ZTE MG2639 module freezes after checking SIM

I'm communicating with my ZTE MG2639 module through UART. Few seconds after powering it and getting +CPIN and +STKPCI it just turns off (goes to stand by mode) It only happens with SIM card, and ...
0
votes
1answer
29 views

TI CC2538 radio turns off after connecting UART

Need help regarding Texas Instruments CC2538 RF module. (https://store.ti.com/CC2538DK-CC2538-Development-Kit-P4532.aspx) The module has an operating range from 2.1V to 3.6V I'm trying to use the ...
0
votes
2answers
48 views

Updated- Sending data on USART from Atmega32 To Python

I want to send one word from my Atmega32 to computer using USART serial protocol. As My system doesn't have any COM port, I connected a USB2COM converter cable. And as you see below in Device Manager, ...
2
votes
2answers
59 views

2.8V UART to 5V MCU - how?

I'm trying to connect ZTE MG2639 to 5V AVR (or USB<->RS232). This module is using 2.8V at IO. How can I do that? Normal voltage divider? And how to check if communication is OK in Putty? Just type ...
0
votes
1answer
26 views

Checking Full condition of RBR FIFO of LPC2148 UART

1)How do you check whether the RBR FIFO is full in case of LPC2148 UART? I know that the empty condition can be checked using Receiver Data Ready(RDR) of Line Status Register(LSR). But there is no way ...
0
votes
1answer
35 views

Same address for different registers in LPC2418 UART

I have a very basic question regarding LPC2418 UART. The UART has got different registers with the same addresses. So while loading the data from the test bench, will it not load into all the ...
0
votes
0answers
83 views

DHT11 Temperature/Humidity Sensor

Currently I am trying to read a byte from my dht11 sensor and write it to virtual terminal, but I couldn't find a simple datasheet for beginners. I found a bit complicated mikroC code and set-up which ...
0
votes
1answer
27 views

Accessing RS232 Rx Tx instead of OTG on stellaris LM4F232H5QD evaluation board

I am asking two related questions here: I can see a program uart_echo for stellaris lm4f232h5qd . What I want is that I need to access this data on teraterminal using PA1 and PA2 pins instead of ...
0
votes
2answers
87 views

AVR USART sending garbage

I'm trying to make an ATMega328P to send serial data to my computer and print onto Putty using an arduino board to do the USB to serial conversions. The data that's printed, however is garbage data. ...
0
votes
0answers
23 views

Trying to use BC417 bluetooth with LM4F232H5QD Evaluation Board

I am new to embedded. I am using STELLARIS LM4F232H5QD Evaluation Board. I want to get data from this board using bluetooth. And i have ...
1
vote
1answer
65 views

VHDL RS-232 Receiver

I have been trying to design an RS-232 receiver taking an FSM approach. I will admit that I do not have a very well-rounded understanding of VHDL, so I have been working on the code on the fly and ...
-2
votes
1answer
57 views

Very cheap device with UART interface [closed]

I need to do some experimenting of UART, I need a very cheap device that I could use to send/read from. Please what could I use? Something very cheap to buy or possibility something that I ...
0
votes
0answers
83 views

Transferring data from FPGA to PC (new to FPGAs)

FPGA beginner here. I have a Basys2 FPGA board(i code in verilog) and i wish to make it communicate with my PC. Currently it receives data from a slave device and stores it in an 64 bit register. ...
2
votes
2answers
145 views

PIC24FJ64GB002 UART Bridge

I work in a project but I have a problem. I want make a program what drive the two UART in a PIC, each UART at different baud rate. The idea is take a signal for UART1(9600 bauds) and send to UART 2 ...
2
votes
2answers
155 views

UART Receiver glitches

I encounter problems with my UART receiver module. It is supposed to work at 9600 bauds without parity bit and only one stop bit. The problem is that my UART misses some characters (or to indicate ...
3
votes
2answers
331 views

Why would uart connection only work after disconnecting power?

I am using a Microchip Bluetooth Pictail and a Sparkfun 3.3V USB-to-UART and a Arduino Uno (just for power-5V,gnd and 1 active high signal connected to 3.3V). When I power the PicTail it outputs ...
0
votes
1answer
75 views

Shortest time required UART- UART transfer of 32 Byte block

I need to transfer 32 Byte block UART to UART 8 clock cycles per bit 1 start bit Struct 8-E-2 8bits 1 UART char, Even Parity, 2 stop bits/ char 1 + 8 + Even parity + 2 stop bits = 11 efficiency = ...
0
votes
2answers
79 views

Logic low not low enough

I'm having an issue where the "low" level being output from one device isn't low enough for the device on the other end to interpret it as such. I'm guessing I'm not the first person to have this ...
1
vote
1answer
188 views

PIC32 does not get UART RX interrupts in xc32 Compiler

I'm trying to setup a UART channel on my PIC32 MCU (PIC32MX470F512). But the code does not reach the ISR at all. I have verified that the PPS (peripheral pin select) is configured properly and the ...
0
votes
1answer
204 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
116 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
282 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 ...
2
votes
1answer
71 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
108 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 ...
3
votes
1answer
87 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
62 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
76 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
94 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
260 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
43 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
204 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
101 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
127 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
86 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
164 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
118 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
115 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
55 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
118 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
162 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
79 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
79 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
78 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
77 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
55 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
81 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 ...