Questions tagged [usart]

USART stands for Universal Synchronous/Asynchronous Receiver/Transmitter is a modern IC which comes with a [UART](https://stackoverflow.com/tags/uart/info) that can also communicate synchronously. A USART is usually an individual (or part of an) integrated circuit used for serial communications over a computer or peripheral device serial port. The tag usart can be used for programming related questions of any usart device.

A Universal Synchronous/Asynchronous Receiver/Transmitter, abbreviated USART, is a piece of computer hardware that translates data between parallel and serial forms. USARTs are commonly used in conjunction with communication standards such as EIA, RS-232, RS-422 or RS-485. The universal designation indicates that the data format and transmission speeds are configurable.

A USART is usually an individual (or part of an) integrated circuit used for serial communications over a computer or peripheral device serial port. USARTs are now commonly included in microcontrollers. A dual UART, or DUART, combines two UARTs into a single chip. Many modern ICs now come with a UART that can also communicate synchronously; these devices are called USARTs (Universal Synchronous/Asynchronous Receiver/Transmitter).

The tag can be used for questions related to programming of a usart device, please note that https://electronics.stackexchange.com/ is another stackexchange website from where you can get answers for electronics related problems. Questions on Stackoverflow should be programming related.

See also tag .

263 questions
0
votes
1 answer

Arduino UNo + GPRS/GSM module

It may be a very simple question but i need to ask before investing some amount in hardware.As i have read in this Arduino link , Arduino GSm shiled works pretty fine.My question is can we use any other GSM/GPRS module in place of Arduino GSM…
shailendra
  • 271
  • 2
  • 6
  • 18
0
votes
1 answer

Why does serial communication only work in one direction (chip->PC) with my code?

I am writing code for an Arduino Mega 2560 in C and I am trying to do bidirectional communication over the serial port. However, only sending data from the Arduino to the PC works - the other way doesn't. The RX LED on the arduino shortly lights up,…
thejh
  • 44,854
  • 16
  • 96
  • 107
0
votes
1 answer

PIC18f4620 Receive usart in SDCC

I'm trying to realize the communication of the PC (linux) with a PIC18F4620 for rs232. The Transmition (PIC -> to PC is fine). However, when I try to pass somenthing from the PC to PIC the PIR1bits.RCIF flag is never set and the interrupt does NOT…
-1
votes
1 answer

Putty on linux not showing received data from stm32F407VG

I am new in microcontroller and I was trying to send data from stm32F407VG to usb serial port connected to st-link using usart2 and HAL. I tried to print the data received on PuTTy . On PuTTyI set my port which is /dev/ttyACM0 and selected the baud…
DextroLaev
  • 106
  • 6
-1
votes
1 answer

What is the difference between USART and SPI communication?

While reading about USART peripheral in STM32 bluepill, I realized that USART is similar to SPI. I have searched for the differences but I don't find any. Please, clearly explain the need for these two different protocols.
Hema Latha
  • 25
  • 3
-1
votes
1 answer

DMA1 Does not Work With USART1 in stm32f103c8?

I'm Trying to enable DMA1 with USART1 in stm32f103c8 but it does not work . i enabled the usart to work as transmitter . and then enabled the DMA1 and make this configuration to it 1-enable the DMA1 clock from RCC. 2-disabled the DMA1 Channel…
-1
votes
1 answer

Why USART2 Send a Garbage Value?

Hello i'm using stm32f103c8 and i'm trying to use usart2 but it does not work . when i'm using USART1 with the same configuration of USART2 it works with me well . but USART2 send garbage to the PC terminal can someone help me to solve the problem…
-1
votes
2 answers

STM32F4 exit from STOP on Usart receive interrupt

STM32F429 discovery board: It's not possible to exit from STOP mode on Uart receive interrupt, because all the clocks are stopped? As far as I read any EXTI Line configured in Interrupt mode can wake up the microcontroller.EXTI0 - EXTI15 . Please,…
Ethane Das
  • 15
  • 5
-1
votes
1 answer

Issue with receiving a byte from ATMEGA2560

I m trying to receive a byte from Atmega2560 at an unexpected time ( using USART ) on my pc. So how do I ensure that i don't miss the byte in my python code ( which has may functions running)
krrish
  • 353
  • 3
  • 15
-1
votes
1 answer

Configuring USART to send a character in ARM thumb assembly

I am trying to send a character using my stm32. I am using Real Term serial capture program and have set up a baud rate of 9600. I have attempted to write the initialization for the USART and GPIOA. So far, when I reset my device, it sends a NULL…
DarkLink
  • 355
  • 4
  • 16
-1
votes
1 answer

Sending big array over usart

i am working with AVR controller atmega16 having 16kb of flash and 1kb of Sram.i have stored data in an static array i.e static char raw_data[15361];and trying to send it over usart using following function: void USART_TxChar( char data) …
pranjal khanduri
  • 351
  • 1
  • 3
  • 16
-1
votes
1 answer

sim900 echoes to micro but does not do anything

I have got a sim900 module which has a rs232 serial port. when I connect it to my computer it works fine on a terminal but when I connect it to an atmega16 micro controller it only echoes back what ever I send to it and does not answer to…
mohammad
  • 1
  • 1
-1
votes
2 answers

UART_Read_Text function for PIC16

I know questions have been asked a lot on this function, but after searching for hours on here I cannot find an answer that helps me figure this out. Here is the function to read in a string through the UART that I'm trying to implement. void…
NickW
  • 1
  • 2
-1
votes
3 answers

Reading the USART RX register only when receiving data STM32F4-Discovery Cortex M4

I have a question regarding reading the RX register on my STM32F4-Discovery card when I transmit data through USART from another Discovery card. I only want to read the RX register on card1 once when data has been transmitted from card2, then I want…
Flux
  • 410
  • 1
  • 5
  • 19
1 2 3
17
18