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

Using BILATERAL SWITCH properly?

Summery: I am trying to figure out if I can use a bilateral switch as if it was a tiny relay capable of communicating UART signal, or are there things I am missing. Now, the long explanation. So, I ...
0
votes
1answer
28 views

STM32F439 CDC driver, is using UART required?

So, most of the examples use USB CDC driver and they bridge UART. I'm not embedded guy and learning the stuff one by one. So, I understand UART... But I'm a bit confused how this bridging works. Is ...
0
votes
2answers
91 views

Confused about how microcontroller board and computer communicate

i recently got myself FRDM K64F board and got myself occupied with the following questions : Does the compiled hex code i send to my board has to go to the uart chip prior going into ...
0
votes
2answers
93 views

HAL Uart Transmit Timer resolution 10µs [closed]

Following this Topic that I started Uart Transmit 1µs I want to be able to transmit a value trough Uart each 10µs . My baudrate is 115200,Clock = 84Mhz And as shown in the previous topic,At a ...
1
vote
0answers
43 views

Wired MBus Design - Circuit and Communication

Been working putting a wired Mbus circuit for a while now for both the master and the slave. For the slave, I am using the ON Semi NCN5150 Slave Chip and built the circuit just as the development ...
1
vote
3answers
64 views

Uart Transmit every 1µs Interrupt StM32 NucleoF401-Re

I am using the STM32 Nucleo F401-RE and HAL libraries. I would like to send value through UART to the PC console every 1µs interruption. Actually I want every 1 µs interruption to increment a ...
0
votes
0answers
17 views

TM4C129 Launchpad and XBee

I am using TM4C129 Launchpad launchpad and trying to connect XBee Series 2 (S2C) through UART. Looking into the pinout of TM4C129, I am connecting like below XBee TX <---> RX XBee RX <---> ...
0
votes
1answer
73 views

female connector

Does anyone have an idea of what type of connector this is? Looks like some type of molex, with 1.5mm pin spacing but I am having trouble with finding something that fits it.
0
votes
0answers
65 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
114 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
35 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
323 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
73 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
80 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
82 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
48 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
29 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
420 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
119 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
75 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
65 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
541 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
49 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
110 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
246 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
75 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
178 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
40 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
147 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
67 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
175 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
58 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
462 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
53 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
97 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
82 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
157 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
103 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
185 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
69 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
79 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
72 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
75 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
89 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
189 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
99 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 ...