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
votes
0answers
45 views

UART in NON INTERRUPT or INTERRUPT mode while using VUSB

I'm working UART data transfer from one ATmega8 to other while the receiver runs VUSB acting as HID Mouse to the PC. UART though init with 9600 , later is set to max speed - > UBRR = 0; Problems : ...
3
votes
0answers
92 views

Cannot get data to rx register of msp430fr5739

I am working on a gps project with msp430fr5739. I have done some code for gps. the nmea string handling is workings fine in my code when manually entered a few nmea sentences, but I am stuck with ...
0
votes
1answer
34 views

pic32 debug char pointer declaration

I'm working with a PIC32MX564F128H in MPLABX 2.35 with pickit3. I'm trying to parse a message from UART. The character is received properly, but I'm stalling when I attempt to copy a character to a ...
1
vote
3answers
309 views

Uart Full Duplex vs Half Duplex

When uC1 wants to talk to uC2 via uart, the Tx of uC1 is connected to Rx of uC2 and vice versa. Half Duplex states that only 1 uC can use the communication line at a time and Full Duplex states that ...
1
vote
3answers
68 views

Using CAN bus tranceivers with custom data link layer

We needed a noise immune, low cost, multidrop, multi master (realtime and distributed) protocol and there is only CAN bus seems to meet with these requirements. Since there are no can controllers ...
0
votes
2answers
75 views

Using UART's TX & RX for Separate Functinality

I am using PIC18F4520. The project requirement is to interface GSM module with uC as well as receive commands from PC via serial port. to achieve this I have connected Microcontroller- TX to GSM ...
0
votes
4answers
76 views

AVR UART synchronization problem

I'm learning embedded programming (I'm not an Electrical Engineer). Sorry if this is not the right place or I'm asking this question incorrectly, but I had a very tough time trying to figure out a ...
1
vote
1answer
103 views

What if the level signals of two UARTs mismatch?

I am a newbie in electronics. In my current project, I have to make two devices communicate with each other through UART. One device (the HiKey board) uses 1.8v indicating signal '1'; while the ...
1
vote
1answer
44 views

Does Interrupting a Microcontroller Data Receive with a Higher Priority Interrupt Cause Data Loss?

I would like to know what would happen if a Serial Terminal were to send a large amount of data to a PIC/AVR, for example over USART interrupt, which was then interrupted by a higher priority ...
0
votes
2answers
28 views

clock frequency confusion

I am using an atmega16 micro controller with a 12MHz external crystal oscillator. But I came to know that the internal clock frequency is 1MHz I need to calculate UBRR value for serial communication. ...
4
votes
2answers
413 views

Visible Light Communication LED Turnoff Time Problem [closed]

I am doing Project on Wireless Optical Communication(Visible Light Communication). I am using Nicha NSPW510 DS White LED at transmitter and Vishay BPW34 PIN photodiode at receiver. The problem is ...
0
votes
2answers
103 views

STM32: UART Interrupt is triggering without any flags getting set

I am using the UART4 module of an STM32F105. I'm using the RXNE ("RX Buffer Not Empty") interrupt to grab data as it comes in. It's working as expected. When the RXNE interrupt is enabled it also ...
1
vote
2answers
74 views

UART- Tx/Rx Line cut detection

There are 2 systems,A and B. Communication between them is via Uart. As part of periodic health check for CAN Bus, its possible to do a loopback and check the status of the CAN transceiver and the ...
1
vote
1answer
63 views

ADM2587 using input uart

I have a design with the ADM2587 in half duplex mode: If I want to receive something over RS485 I pull RE and DE low. This is tested and works good. The same thing with sending: RE and DE high, ...
4
votes
2answers
540 views

UART synchronization [duplicate]

I am trying to understand UART synchronization. In a UART, the default state is high, and it starts the reception process when it receives a start bit (high-to-low transition) In some scenarios any ...
3
votes
1answer
47 views

HCI UART ? what's the difference with simple UART?

For now, I'm sending bytes from FPGA (verilog) to serial at 115200 bps. I would like to send at higher speed and connect to a bluetooth module (RN42). UART (SPP or HCI) and USB (HCI only) data ...
0
votes
1answer
109 views

UART only returns the same character

I am trying to create a program that contains UART using the PIC18f25j50 device. I have attached my creation so far which is a simple program that outputs a single character repeatedly to the console ...
0
votes
1answer
37 views

Commands and large data packets over UART to MCU

I have a question about protocols used over UART. Trying to either create or use an already defined protocol that will allow for transferring a large amount of data as quick as possible over UART. I ...
4
votes
1answer
243 views

UART Interrupt does not get more than one Char - PIC32MX110F106B

I am really struggling with an UART communication with my PIC32MX110F016. It is the first time I am trying to implement an UART communication with PIC32MX family but I find it difficult and I don't ...
0
votes
1answer
70 views

Setting baud rate for Atmega328p with setbaud.h

I'm working with an Atmega328p, running off the internal 8MHz oscillator, divided by 8 to produce a 1MHz clock. I set the fuses according to the calculator here. Confirming this with avrdude: ...
1
vote
1answer
133 views

Clearing USART (UART) interrupt flags in an STM32?

I am using an STM32F105 to communicate with a Linx GPS chip using a UART. If I don't use interrupts (if I just poll the RX flag) then it works just fine. But I'm getting unexpected results when ...
0
votes
1answer
38 views

USART between Atmega16 and Beaglebone black

I'm working on a project which involves me to send data from AVR atmega16 microcontroller to a beaglebone black. I had written a code for the atmega USART but when connected, the beaglebone black ...
4
votes
1answer
128 views

STM32 DMA Transfer bridge between 2 uart ports

I am using a stm32f103 and I'm trying to simply transmit all data received on 1 uart to another uart and vice versa. When using 2 terminal programs it works great, everything I type gets transmitted ...
0
votes
0answers
66 views

USB microphone to UART

I have a USB microphone module which I want to attach to a Texas Instrument CC3200. Image of pins: ...
0
votes
0answers
169 views

UART is working, not displaying on hyperterminal

In short, I have a microcontroller that I want to send some data over UART to the computer. The problem is, it doesn't seem to work. Before asking this question I have looked here and several other ...
0
votes
0answers
70 views

Trouble enabling UART on Beaglebone Black

I'm having trouble getting UART enabled. I've gone through many different directions on how to enable and troubleshoot from updating the uEnv.txt file to updating the kernel. I've come to conclude ...
0
votes
0answers
55 views

MSP 430FR5739 interfacing with Adafuit ultimate gps

i am doing a low power mode gps project for msp430fr5739 development board. this board's operating voltage is 3.3 volts and my gps module also can operate with 3.3 volts supplied power. How about ...
7
votes
1answer
459 views

Help identifying checksum

I need help identifying the checksum algorithm in the following packets please. So, packets format is: sd ?? dd dd dd ?? where s = start nibble d = data (binary coded decimal) ? = unknown - ...
0
votes
0answers
28 views

Bluetooth communication issue avr-pc

In the last few days I was messing around with avr <-> pc communication. Thanks to the help that I received here I managed to establish a good connection using pl2303 ttl-to-usb converter. Now, ...
-2
votes
1answer
50 views

Connect Schneider EM6400 to ESP8266 and call REST API [closed]

I have a Schneider EM6400 meter whose data I need to send to a web-service. I dont know much about electronics so here it is- How do I do it? My idea is to use an ESP8266. But from what I know, the ...
0
votes
0answers
74 views

Atmega8 and ESP8266 uart problem

I got an atmega8 and an ESP8266. I connected the atmega8 Rx to ESP Tx and Tx to Rx. I don't know why when I power up the communication is not working and the green led from the ESP stay on all the ...
1
vote
2answers
80 views

UART communication issue

I am trying to send something from an atmega to my pc. The setup is: Ubuntu 14.04, atmega644P-20PU, USBASP v2, TTL-to-USB pl2303 Firstly I tried to write the code in C and used this code and then ...
-3
votes
1answer
142 views

Software i2C communication protocol “MikroC for Pic” halting problem

I work with Pic16f688 , and i do a soft i2C MikroC for pic compiler does not supply its libraries functions code this is the whole code i use for MCU ...
0
votes
1answer
35 views

Decoding UART over IR

I have a system transmitting UART (38400) over IR with a carrier frequency of 425khz. How do I take a receiver led and feed this into a microcontroller. Obviously I can't just put it through an op ...
0
votes
2answers
97 views

Strange behavior of USART in PIC16LF18313

I am using this 8-bit, 8-pin mcu for asynchronous EUSART. Sometimes when I power it up, it gives me correct characters (e.g. I send 'w', it returns 'w'), but sometimes when I power it up, it returns ...
1
vote
5answers
179 views

Use UART PIC24FJ64GB002

I am trying to setup a PIC24FJ64GB002 for UART communication in MBLAB using XC16. I am using the USB CDC demo to communicate with a device, and I am trying to relay that information to an arduino ...
0
votes
3answers
65 views

Where are the external oscillator pins on PIC12LF1572

I have searched the whole datasheet, but couldn't find where are the OSC1 and OSC2 pins are. I've found the CLKOUT (which is CMOS output) on RA4 and CLKIN (which is TTL input) on RA5. But I need the ...
1
vote
2answers
77 views

Serial Communication Rx ISR logic design

If im not wrong, an ISR is supposed to do minimal processing when it receives a data serially(via UART). Im planning on implementing such a protocol for communication between 2 systems via uart. This ...
0
votes
1answer
69 views

How to use UART port for sending status in verilog

I am developing various verilog modules with state machine for a fpga board. When i have done simulation of the modules i have used "$display" to get what is happening in the module or otherwise the ...
0
votes
1answer
74 views

I can't get out from interrupt driven serial communication

program works correctly but after receiving '#' it has to come out from while loop and print "Exit" on lcd but it doesn't.program still in while loop. ...
0
votes
1answer
86 views

How to use hc-05 with pic32

I want to use Hc-05 bluetooth module with my pic32 controller for communicating with other bluetooth devices. I want to test the hc-05 module with my pic32 controller. I have made the hardware ...
2
votes
3answers
169 views

What happens on STM32 when multiple (UART) Interrupts are triggered at the same time? is there an interrupt stack?

I'm implementing a uart daisy-chain communication scheme with a Cortex M4. When a node receives a byte over one UART, an interrupt is generated (RXNE) and the byte ...
0
votes
2answers
92 views

UART connection using PL 2303. Weird characters [closed]

I took a while to errors when playing movies from the player (lock screen, reboots). After updating the firmware, still not working.( Same reboots, lock screen) I open the media player and I have ...
0
votes
1answer
62 views

RS422 to RS422 and RS232 [closed]

Is it good to use one UART interface on MCU, RX_UART for receiving data from RS422 receiver and TX_UART for transmitting the same data to the RS232 and RS422 transmitter? I am trying to use UART as ...
1
vote
2answers
99 views
+50

PICDEM board and Linux connection through serial

TL;DR: I can open screen or putty session in terminal to the /dev/ttyUSB0, but characters ...
0
votes
0answers
52 views

Voltage-level traslation from 3.3VCMOS to 2.8VCMOS

I'm developing a PCB GPRS Module for ZYBO from a Telit GL865 GSM/GPRS module as a base. The issue is to transform the high levels for the UART comunication between them. ZYBO (3.3V CMOS) has an ...
2
votes
1answer
168 views

What's the meaning of “x” in RxD and TxD of UART? [closed]

RxD means Receive Data. TxD means Transmit Data. Where the "x" come from?
1
vote
5answers
189 views

Baud rate vs. Bit rate

When we initialize a serial communication, we usually have to set the baud rate (e.g. 115200) I notice that many people assume that 115200 means 115200 bits per second. However, each baud(signal ...
0
votes
1answer
55 views

Can i directly connect a gsm shield to a computer without using arduino?

Ok, i've bought a gsm900 in alexan, and what i bought was a gsm shield thinking that it is really just the same only that shield can be placed directly in an arduino. The problem is that, im trying to ...
0
votes
1answer
163 views

PIC32mx UART to Bluetooth RN4020

I am trying to establish an UART comunication between PIC32MX110F016 and a RN4020 Bluetooth Module. I am new on PIC32mx but I think I am doing enough code/configuration for them to comunication but ...