Questions tagged [usart]

10 questions
4
votes
1 answer

Difference between USART's synchronous and asynchronous mode

I'm writing software to initialise the EUSART1 module for RS232 on a PIC18F46K22. I'm using the usart.h library, built-in in the C18 compiler. There is some reference in MPLAB C18 C Compiler Libraries for the Open1USART() function on page 69 (73 in…
user17592
3
votes
1 answer

UART/USART on XMEGA

I am making a design and using the ATXMEGA128A4U (datasheet) for the first time. I need to connect this MCU to two UART Modules (FTDI chip and Bluetooth module). I have two questions about this: 1) Can someone confirm that I can use the USART pins…
EasyOhm
  • 4,609
  • 26
  • 35
3
votes
2 answers

How to remove Noise/Voltage in TX pin of PIC16F877?

I wanna connect an existing device to PC using RS485/RS232. I have programmed the microcontroller correctly and it works when I haven't switch on the power of device. I mean after programming by PIC kit 2, I have tested it by connecting the related…
1
vote
0 answers

PIC 18F4431 USART Trouble

I've been happily using a PIC 16F628A UART for some time now. I've switched up to a PIC 18F4431 chip recently but having some problems with the USART. Initially I couldn't get the transmit function to work, it was transmitting but at only 0.8V for…
tommo2000
  • 21
  • 2
1
vote
0 answers

Error reading characters over serial on ATmega8 using CVAVR (USART)

I am trying to program ATmega8 for testing purposes using CVAVR as cross compiler and avrdude GUI as burner. Though I am able to burn the program, I think I am missing something in the coding part. It may be quite silly. I have 2 questions: I am…
shailendra
  • 591
  • 5
  • 16
  • 29
1
vote
2 answers

Sending command using USART

I am new to this kind of communication. I am able to send command from PC to AT90USB1287 microcontroller as well as able to get response using USB communication. Now i have connected another microcontroller(ATmega32) to this board via USART…
reddy
  • 13
  • 1
  • 5
1
vote
0 answers

Atmel Software Framework. Confusion with USART example

I'm trying to get the following basic USART example working on a SAM4S: http://asf.atmel.com/docs/3.4.1/sam4s/html/sam_usart_quickstart.html#usart_basic_use_case I am using a custom PCB board with a SAM4S16B MCU on it. After setting up my project in…
routeburn
  • 357
  • 1
  • 2
  • 5
0
votes
1 answer

AVR Atmega8 USART and ADC and PWM

I have created 2 different PWMs using timer 1 and 2 on ATmega8, that is used to control a linear motor. I'm using a hall effect sensor to detect changes in voltage as the linear motor moves left and right. This change in voltage I feed into a ADC…
subz
  • 623
  • 1
  • 9
  • 14
0
votes
1 answer

full duplex serial communication with a laptop using ATMEGA8 USART

Can anyone please tell me how to use ATMEGA8's USART to establish a full duplex serial communication with a laptop using a USB-to-Serial Adapter. I am working on a project in which I need to display accelerometer reading in a gui. But the problem is…
-7
votes
1 answer

Difference between Ethernet and USART?

As i made literal study about protocols, I came across lot of protocols and there differences but i'm not sure of what is the major merits of Ethernet over USART. lots of websites explained about all the serial protocols such as I2C, UART, USART,…