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
vote
1answer
42 views

How to correctly configure dsPIC to receive UART signal?

I want to use Proteus to simulate UART data transmission, I am going to open two virtual COM ports and connect them. So I first use Virtual Serial Ports Emulator to open virtual COM ports: Second, ...
1
vote
0answers
42 views

clocking MSP430 UART from DCO

I'm designing a simple remote-controlled sensor. It's going to be connected with others and a master device using RS485. All it's going to be doing is transmitting the status of a few digital lines ...
3
votes
1answer
98 views

UART is garbled when running at more than 9600 bps

I'm connecting 2 MSP430F5529-based boards (running at 1 MHz) using UART and MAX3232 (MSP430F5529 -> MAX3232 -> cable, a few cm long - will be longer in our final application -> MAX3232 -> ...
0
votes
2answers
107 views

Sending ADC measurements with UART

I want to measure signal with ADC and send measurements to PC to generate plots. My code: ...
1
vote
1answer
95 views

Problems with UART on STMF4 Discovery Board

I have some problems with UART comunication. My platform is STM32f4 Discovery Board with STM32f407VG. First my system setup: ...
2
votes
0answers
130 views

Need help with a sub-standard RS232

I've built a UART-RS232 converter based on max232 and it works well... but not for what I need :) According to Maxim's datasheet the RS232 side signal voltage should be theoretically +/-10v (5v * 2), ...
2
votes
3answers
98 views

How can I figure out an unknown UART's speed?

So I have a piece of hardware I'm reverse engineering. I believe I've found a UART on the board. I have an FPGA connected to it that just does: ...
0
votes
1answer
41 views

Cortex M3 (ATSAM3N4B) Peripheral DMA read from SRAM ok, FLASH fails

I've stumbled across a peculiar problem with my PDC (Peripheral DMA Controller) where using the PDC to transfer a constant string from flash over UART 0 seems to produce an unexpected result. The ...
3
votes
1answer
99 views

PIC interrupt based soft UART timing trouble

I've tried to implement a software UART on a PIC18F452 using TIMER0 interrupts and I can't get the timing working. I'm using MPLAB ASM for compilation and the PICkit2 for programming. ...
2
votes
1answer
69 views

How to calculate the modulation register for MSP430 UART?

I'm using a MSP430F5529 clocked at 1 MHz and want to use the UART at 9600 bauds. So far I did: ...
0
votes
3answers
307 views

How to learn dsPIC UART program based on PIC USART experience?

I've learned USART of PIC16F883, and I want to learn UART of dsPIC33FJ64MC802.(Actually I need to learn dsPIC, but I learned PIC16F883 first since I thought it's easier to learn.) Here's my circuit ...
2
votes
1answer
99 views

Bit Banging UART

My full code is located here. Basically, I'm transmitting to an Arduino, and I'm not receiving the correct value (you'll notice I'm trying to send d'22'). Here's the method where I actually bit bang ...
1
vote
2answers
108 views

Receive bytes from UART camera

I am using a dsPIC33E MUC to interface an UART camera(VGA) at 115.2Kbps. The purpose is to save an image to a SD card. The program I wrote works well except that it's inside a loop checking if the ...
0
votes
2answers
134 views

why I need to use multi drop bus protocol (MDB) in vending machine and How?

I have a project to build a vending machine , although I suffered form Scarce information about vending machines . I could find some results : Inner protocol in vending machine and between the PC ...
3
votes
2answers
325 views

Arduino Uno R3 hardware serial: peripheral interfering with the USB/Serial-converter?

I like to use the hardware serial port (pin 0 RX and 1 TX) to connect a bluetooth module. Internally these pins are also ...
1
vote
2answers
84 views

Can the Arduino Leonardo act as a keyboard, mouse, and serial port at the same time?

I am doing a project that requires me to control both a mouse/keyboard combination and a serial port to activate it. (I know, it can prevent me from using my computer, etc. but I have precautions ...
0
votes
0answers
79 views

UART controller scheme with detalization

I'm trying to find a UART controller scheme. I guess it will be something like the image below, but I need more details: at least, I need all the components (registers, counters and so on) that every ...
0
votes
0answers
210 views

UART connection b/w Arduino Uno and UHF RFID reader

Working on integrating this RFID reader with an Arduino UNO using standard RS232. Using the Rx, Tx, Power (+12V) and GND wires from the Reader and creating a soft serial connection. Here is sample ...
0
votes
0answers
102 views

RF Link with APC220 between two PIC16F877's

I am attempting to communicate through a RF link between two PIC16F877's using APC220 Radio Transients. When the PIC UART's are connected with wires between TX and RX they communicate just fine, but ...
0
votes
2answers
99 views

Read from UART seems to overwrite while in buffer

I am reading sending data to a PIC32MX7xx using UART. The data frames are all 6 bytes long, no exception. The problem I am facing is that when there are 6 bytes waiting to be read and I send another ...
3
votes
1answer
16 views

Can I use a serial module with a barebones Arduino?

I have recently bought a couple Bluetooth modules that connect to the Arduino via TTL/USB/UART (you use Serial(); to communicate with it). I don't know if the ...
1
vote
1answer
69 views

Non-inverting version of EL7232? (High-frequencey 3-state DIP driver/buffer)

I'm driving a large number of parallel UART inputs from a single UART output, at 2 Mbit. Currently, I'm driving with a Atmega32u4 using a 70 Ohm current limiting resistor (which in theory would allow ...
-1
votes
1answer
67 views

XBee Design and UART characteristics

I want to connect XBee to PC , does xbee send serial data or need UART to do that ?
1
vote
3answers
198 views

Will a 3V3 rated UART be damaged by applying 5V signals?

If I have a device specified for 3.3V operation and I connect a 5V level TTL signal to it ? Will it's UART ports be damaged or not ? I have a WiFi module and I want to know if its UART ports will ...
0
votes
1answer
129 views

Problem connecting UART Wifi Module to PC

As refereed to my old question ( Connect UART WiFi module to PC ) which has been solved that days, I have a UART Wifi module ( this one ) and unfortunately I have problem again ! The point is, this ...
0
votes
1answer
234 views

STM32 - PC serial sommunication

What are the available options or ways to connect the STM32 discovery board using UART to a PC via USB or the serial port ? What is the required hardware/cables ?
2
votes
5answers
174 views

Sending “larger than 8-bit” quantities over an 8-bit link

I have data that I logically manipulate in 12-bit quantities which I need to move over an UART link. (actually soft-serial from Mbed to PC over USB cable, but that's irrelevant) I was thinking about ...
3
votes
1answer
253 views

STM32 USART loopback

Is it possible to connect the Rx and Tx pins of the same USART or on two different USARTs on an STM32 discovery board to make a loopback and test the USART?
3
votes
1answer
378 views

STM32 UART USB communication with PC

I'm trying to set up my first project on an STM32F4 and I encounter a problem which consists on how to pass the measures I took from the MEMS accelerometer from the STM32F4 to the computer. I'm using ...
0
votes
2answers
205 views

ATmega168: UART 8 data bits, no parity, 1 stop bit

According to the datasheet I'm setting the UCSR0C register as following: UCSR0C = 0b00000110 Description: ...
1
vote
2answers
71 views

How to send data from external device to OS with rs232 and fake it as a mouse

I have a project that i need to send some data with an RS232 to USB cable from external Msp430 launchpad to the computer and fake it as a mouse. Is this possible without learning USB protocols of the ...
2
votes
3answers
252 views

Reading from multiple sensors and synchronizing data

I am working on a project which requires reading from four sensors simultaneously with time stamps down to millisecond. Right now the best I can come up with is to use four PICs to read from each ...
2
votes
1answer
46 views

Large range delay at medium frequency for MC

I have a program that varies the step time and duty cycle for a 6 step commutation sequence. It takes an 8-bit ADC result and stores it as the TMR0 value, when TMR0 overflows, the ISR selects the ...
2
votes
2answers
140 views

How to delay a signal?

I need the RX line of my UART to be delayed about 1 ms, so I receive my data a fraction later. Are there simple, cheap components who can do this? Or would I need an extra external UART with a FIFO, ...
0
votes
0answers
143 views

Compare result from UART

I am using an UART connection to a WiFi module. The module uses commands to be configured. I want to check the response of the module ("AOK") to know if the commands are interpreted correctly. My ...
0
votes
4answers
254 views

Wake up MCU on UART RX data

I have several MCU's of which I cannot use the deep-sleep modes, because they cannot wake up on UART data coming in. Are there any components for sale which can solve this? I can imagine something ...
4
votes
3answers
240 views

Square wave -5 to +5 volt at 500 Hz

I need to make a square wave -5 to +5 V at approx. 500 Hz - with small current. I have 0 (ground) and +5 V and a PWM (a Waspmote with a ATmega1281 microcontroller). I think it would be possible to ...
1
vote
0answers
161 views

PIC32 read feedback from UART

I'm using a PIC32MX795F512H to set up a Roving RN-131 wifi module using UART. I can communicate with the device but I want some feedback whether my commands are processed or not. I basically need to ...
1
vote
3answers
685 views

Difference between MISO/MOSI and TxD/ RxD

What is the difference between USART and SPI ? There are [TXD/RXD] for USART and [MISO/MOSI/SCK/SS] for SPI. I know that SPI is a synchronous protocol but USART is hardware. But, what's difference ...
6
votes
1answer
726 views

TI Launchpad MSP430 on Serial in Linux

The MSP-EXP430G2 LaunchPad Experimenter Board User's Guide (Rev. C) in chapter 3.2 states: The LaunchPad includes a pre-programmed MSP430G2553 device [...] Press button P1.3 to switch the ...
0
votes
0answers
33 views

STM32F2 with Wifi Module [duplicate]

Possible Duplicate: STM32F2 build environment I have an STM32F2 microcontroller and a Wi-Fi module. I need to build a binary and load it to the STM in order to make it talk to the Wi-Fi ...
0
votes
2answers
165 views

how do I output through GPIO pins instead of RS232 from a Z8 Encore MCU?

I'm currently learning about MCUs in school (read: n00b) and I'm trying to fool around with the equipment at home. Problem is that I only have a netbook and don't have any serial IOs on it, so I have ...
0
votes
2answers
492 views

Wifi Module over UART with STM32 mcu

I am trying to integrate an off the shelf wifi module with STM32f2 mcu over UART interface. I need to test the board after laying out the board. Is there a way I can test this UART interface before ...
2
votes
2answers
367 views

Why using resistors with the MAX232 chip?

I earlier built the serial port board from the jal tutorial book, which is basically connecting a PIC and a D-9 directly to the MAX232. Now I'm reading AN1310 on the high-speed PIC16/18 bootloader. In ...
0
votes
1answer
67 views

PIC24f16KL402 skipping values at serial port

I am trying to write the values of a counter on the serial interface, just to test the interface. The problem is that only every second value (2,4,6,8,...) is received by the desktop. I use port PORTA ...
5
votes
3answers
301 views

PIC: UART transmit corrupted after watchdog sleep

I have a PIC16 (datasheet here) for which UART transmit works, except right after a watchdog sleep, where the first few characters are corrupted. I have posted my reduced code below. What could cause ...
0
votes
1answer
248 views

PIC32mx UART scrambled text

I'm trying to communicate with a PIC32MX795F512H using UART but I get scrambled signs in my terminal. I know it's a timing/clock issue but I have no idea where and how to fix it. I am not using an ...
0
votes
1answer
127 views

Questions about RS-232-like naming and standards

1. Is official RS-232 (EIA-232) standard open and free available? I couldn't find it in Internet. 2. Does "RS-232 with TTL levels" is covered by some standard? 3. Does "synchronous RS-232" (via ...
3
votes
1answer
221 views

What serial signalling format is this? (RS-485?)

This is a mystery signaling standard that I'm trying to sort out. It looks more or less like RS-485 to me, but I don't recognize the long looking start bit, and the "idle" state of the line looks a ...
2
votes
1answer
188 views

Does transmitting break over FTDI chipset yield a binary 0 received on the receiving end?

I send breaks (using Tx) over FTDI FT232R chipset using two ways: ...

1 2 3 4