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)

-2
votes
0answers
25 views

UART communication with ADUCRF101 [on hold]

I am trying to establish a UART communication between BF609 board and ADUCRF101 i wired : The Tx pin of my board to the Rx pin of the ADUCRF101 The Rx pin of my board to the Tx pin of the ADUCRF101 ...
0
votes
0answers
54 views

Finding UART pins on a PCB header

I have a PCB with some headers exposed. I know for certain that some of those pins are UART connections (RX,TX, Ground). I'm hoping to find RS232 with TTL voltage levels but this is just an assumption....
0
votes
0answers
48 views

Surge protect RS-232

We are designing a circuit for Connecting our uC to an RFID reader via RS232 Interface. On searching for best installation practices online I found out that a surge protector is recommended as shown ...
1
vote
2answers
152 views

Indecipherable Data on Serial Monitor

I have ready made working electronic product. I am applying reverse engineering on it. The WiFi module is connected to micro-controller via UART( RX & TX). The android app sends command to WiFi ...
1
vote
1answer
46 views

Multiple UART output sensors on one serial port

I would like to connect 4 UART output sensors to one serial port of my controller. The distance between sensors and controller will be about 10m. Initially I was thinking of using 485 as physical ...
0
votes
0answers
43 views

Timer causes UART problem

I have a problem, found on both ATMEGA1284P and ATMEGA2560. I have set a 16-bit timer in CTC (tried both Timer1 and Timer5) to give an interrupt every 1ms so I can increment a 32-bit volatile time ...
0
votes
0answers
52 views

STM32 Shutting down debug session

I'm facing with a problem regarding debug session. When I start debug session, after the configuration of USART2 the debug session is closed. Keil message: Cannot access target. Shutting down ...
0
votes
2answers
82 views

USB, UART, SPI difference and usage? [closed]

I am trying to enabling an embedded system built around Intel D1000 MCU. I am mainly from a software background and just starting to catch up with some hardware knowledge. I am trying to build ...
-5
votes
2answers
66 views

LEDs on 3.3V serial and sd card select lines

How would i go about connecting indicator LEDs to the serial lines from my MCU(a Parallax Propeller) to a MAX3232 and the chip select line for a SD card? I want the LEDs to light up when the lines are ...
1
vote
1answer
80 views

UART works when I open minicom before starting UART

I am trying to send out large amounts of data at 115200 via UART. I have come across a rather strange problem. I am sending out data in the while loop of the MCU. The MCU is not doing anything else. I ...
-3
votes
1answer
82 views

Locating serial port

I'm not sure if this is the correct stack exchange site to post this, but here goes. I have this PCB: It's from this: https://www.vasco.com/images/DP270_Xpress_april11_tcm42-47389.pdf I'm trying ...
2
votes
2answers
404 views

Using a MCU's UART as DAC

Many simple MCUs do not provide DACs despite having PWM output. For low clock frequencies like 8MHz, PWM does provide very poor quality if used for audio purposes. E.g., TI mentions in application ...
0
votes
1answer
42 views

Can USART TX on the STM32f4 be open-drain?

I'm retrofitting an old project, moving a Discovery Board from an isolated ground to a non-isolated ground, and it's shifting around all my power supplies. This will be interfacing with a 5V device ...
0
votes
2answers
54 views

STM32 starts timing out receiving data UART after reading 1 byte

I am having trouble using the UART on the STM32F103 where it stops receiving data, while not setting any of the error flags. The UART device is an ESP8266 at 115,200 baud. I am sending it ...
0
votes
1answer
42 views

STM32F107 SPI -> UART maximal transfer rate

I am designing a board with STM32F107 microcontroller and AD7680 ADC. What I need is to read data from ADC, increment sequence number after reading each sample, and send ADC values via UART or USB OTG ...
0
votes
0answers
40 views

backplane for power etherner, rs232 amd rs485?

I’m trying to build a midterm system between a costly and highly custom VPX and a platform where each board interfaces with one another by cables. for example: imagine I have an off the shelf mini-itx ...
0
votes
2answers
33 views

Allpro adapter and Arduino - UART

I couldn't find for allpro obd uart if the RX pin should receive 3.3v or 5v from Arduino TX pin (since the Arduino will send 5v by default without voltage divider), so I was wondering if someone can ...
0
votes
0answers
30 views

ESP8266 not able to communicate over serial connection with arduino UNO [migrated]

This is the code I uploaded in Arduino UNO: ...
0
votes
0answers
28 views

Sim900A Breakout board is not working

I'm using sim900A breakout board. It has UART interface with it.I'm trying to interface with PC. Module has 8 pins. Vcc,DTR,TX,RX,MIC+,MIC-,Speaker+,Speaker-,GND pins respectively. Here I have two ...
0
votes
1answer
36 views

LPC1769 PC Communication

I am using LPC1769 micro controller and planning to use one of its serial (UART) port for PC communication. It has 4 UART ports (UART0,1,2 and 3) For PC communication purpose, can I use all ports or ...
0
votes
0answers
43 views

FTDI chip stops working when sending 255

I built a simple DMX interface with these instructions. However, sometimes after a few minutes it stops working, the LED stops blinking and no more data is sent. It will only work again after ...
0
votes
0answers
74 views

UART baudrate issues on STM32F0xx board

I'm using STM32F0xx board for project. In this board there are two UART interfaces. UART1 is supporting upto 115200 baudrate and more than that, but UART2 is supporting upto only 38400 baudrate. If I ...
0
votes
3answers
52 views

Enabling RS485 UART driver and receiver at the same time

I am a software engineer so I hope that my question not stupid: I work on board with an half-duplex RS485 transceiver. From the software, I can handle a GPIO to handle the output driver of the ...
0
votes
0answers
70 views

AVR interrupt setup seems to stop program execution

On ATMEGA168PA I have problems with interrupt-driven character reception over UART. When I include the line setup_interrupt() it seems that program execution stops ...
2
votes
4answers
108 views

Are CTS and RTS necessary on UART port?

I am currently working on a project where we use TIVA C TM4C123G and I am currently getting inspired by launchpad as reference design. I have several UART peripheral to connect to the main chip using ...
0
votes
2answers
80 views

Difference between buffer and mailbox

Peripherals in Micro-controllers usually provide a way for us to send and receive data from it. Usually this are memory mapped registers. I have come across few terminologies. The most often used one ...
0
votes
2answers
79 views

pic24 UART receive data is invalid

Hello i m writng a program for UART receive interrupt for PIC24FJ64GA306 i m receiving a data which is in format of 0xAAXXXXXXXX, where data after AA can be anything... the data transmityted through ...
12
votes
1answer
888 views

Would it be considered good practice to match the lengths of UART's Tx/Rx traces?

I am assuming the answer would be yes since Tx/Rx pins are used to send data back and forth, or is it of such a low frequency that such thing is not required?
1
vote
1answer
42 views

ESP8266 not responding with CP2102

I connected my esp8266 with USB to TTL CP2102 as follows: ...
-1
votes
1answer
83 views

AVR ATmega32 UART Not Reciving

I'm trying simple UART transaction functions for ATmega32. I can send the bytes but not receiving anything. I am using polled UART receive. ...
0
votes
0answers
96 views

Using libnfc with Raspberry Pi and PN532 board?

I am trying to use a PN532 Board (NFC Reader) with Raspberry Pi. I am using the ITEAD PN532 Board. First of all I connected a FTDI cable to the board. I followed these steps to install libnfc: ...
0
votes
2answers
53 views

2 UART connected on the same port

I am curently working on a project where a MCU got only one UART port available, however I need to run two peripherals with UART interface (not simultaneously) so I was wondering if I can connect two ...
0
votes
2answers
100 views

Can this stm32f0 interrupt routine that activates on every byte received be fast enough for 6Mbps?

I am using the STM32F0 discovery board. I am looking at this tutorial on UART with the STM32F0. http://letanphuc.net/2015/09/stm32f0-uart-tutorial-5/ ...
-1
votes
1answer
76 views

How to establish a communication between FPGA and CPU, in real-time? [closed]

I am working on a project that involves FPGA and CPU communication(in real-time - i.e, CPU and FPGA should function together). I have already designed and tested the UART communication protocol on ...
2
votes
3answers
106 views

Some characters are not transmitted correctly from mega32 to ESP8266

i recently bought an ESP-01 for a simple wi-fi project reading the temeprature from a website . First i wired the ESP-01 directly on the TTL converter (cp2102) to read the temperature and everything ...
0
votes
1answer
45 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 ...
1
vote
1answer
32 views

UART issue with receiving a char

Currently I am working with two MSP430G2553 Microcontrollers for a school project and I have to use UART to have them communicate with each other. The transmit MSP430 is to send a character whenever a ...
0
votes
1answer
41 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
3answers
159 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 ...
1
vote
0answers
80 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
119 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
25 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
76 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.
1
vote
1answer
113 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 : ...
0
votes
1answer
37 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
437 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
83 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
92 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 ...
1
vote
1answer
22 views

MSP430F6736A UART configuration via Code Composer

Using embedded proggraming, Code Composer Studio 6.0.1, Trying to configurate UART to communicate between MSP430F6736A and my PC. Using USB/RS485 converver(2 vire (A,B)). For sending data using ...
0
votes
4answers
112 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 ...