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

PIC 16F877A interrupt handling

I am trying to write a simple code to receive and resend data using USART but the code is not working. Could someone give suggestions on possible flaws in the code? I am using USART at baud rate ...
-2
votes
0answers
42 views

UART Transmitter in Verilog (using Basys 2 for hardware implementation)

regarding to UART transmitter, i use the transmitter verilog code provided at fpga4fun.com and it works greatly as hyperterminal displays the output correctly(using switches on board as data/input) ...
0
votes
2answers
74 views

PIC24F UART Rx Interrupt not firing

I am currently trying to write code for a 48 channel DMX controlled dimmer using a PIC24FJ32GA002. Using a scope I have confirmed that there is a DMX signal reaching the Rx pin of the UART which has ...
1
vote
2answers
41 views

Why there are data bit lower than 8 data bit of uart

Our group are creating a UART IP Soft Core with Wishbone Wrapper and we are using 5,6,7 and 8 data bit. I just want to know what are the use of the 5, 6 and 7 data bit?
0
votes
0answers
56 views

Turn Nano with CH340G(16 pin) chip into a USB to Serial converter (TX not working)

I am trying to convert a CH340G Bases Arduino Nano into a serial converter with 50% luck. It is able to receive data on the serial side but the USB to to serial bit is not sending data out. (Validated ...
0
votes
0answers
33 views

PIC24FJ258GB110 using USB-Host and UART simultaneously Baud Rate Issue

I am using USB host code from Microchip MLA. The USB and LCD part is working fine but i want to add UART functionality in the project. I want to send keyboard key-press to UART port. I added UART ...
1
vote
1answer
61 views

MSP430 Choppy UART

I am having issues with the UART on the MSP430FR5969 microcontroller. I am sending about 85 characters 100 times per second for a data acquisition system. I am using 115200 baud rate which should be ...
-1
votes
0answers
56 views

Implementing UART RS232 C code in Altera ARM DS-5

i am trying to implement RS232 communication between an Ergometer and ARM Processor on Altera DE2 Board using C in ARM DS-5 Altera Edition. Here is my sample code, can someone please help me with the ...
0
votes
1answer
99 views

PIC UART CODE need help in debugging

My question has two parts: Does MPLABX have a UART simulator? I need help debugging this code: ...
0
votes
1answer
41 views

Can you setup UART Reception on dsPIC33EP512MU814 on eval board dsPICDEM MCLV-2

According to microchip, the dsPIC33EP512MU814 can be integrated with the dsPICDEM MCLV-2 Development Board using dsPIC33EP512MU814 Plug-In-Module However, according to the dsPICDEM MCLV-2 Interface ...
-1
votes
1answer
46 views

Serial connection via 3.5 mm Jack

lately I have been experimenting with the Intel Galileo, the thing is that I can't get the serial connection to work so I can do the "Linux magic". Today I bought this cable and tried to establish a ...
1
vote
2answers
97 views

What are the UART voltage levels for the RN4020?

I've recently bought an RN4020 BLE module, but I'm having figuring out how to make it work. In the datasheet some pins are listed as 1.65V input, 1.35V out, while ...
1
vote
1answer
98 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
79 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
110 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
1answer
44 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
67 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
84 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
67 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
35 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
40 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
1answer
294 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
37 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
96 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
37 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
71 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
61 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
100 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
180 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
179 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
361 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
93 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
83 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
319 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
626 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
122 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
358 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
81 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
141 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
113 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
69 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
87 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
104 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
455 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
45 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
316 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
149 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
148 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
87 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 ...