CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

what is hardware and software usart

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
syide



Joined: 10 Nov 2008
Posts: 16
Location: Malaysia

View user's profile Send private message Yahoo Messenger

what is hardware and software usart
PostPosted: Mon Nov 10, 2008 4:42 pm     Reply with quote

Hello,

I want to use PIC 16877 for my project after my reading in this board. Because I'm very new in PIC I have few questions.

1. What is hardware and software usart/uart for Pic 16877 ?
What is the difference between them? What are they used for ?

2. I got final year project about GPS-GSM tracker. How to combine gps and gsm code in one pic ? Because what I understand now we can read the data from gps using nmea protocol and how to transmit them to gsm module? Because as far as I know gsm module will use AT command to transmit the data. Correct ? Question

If possible can you show the coding, link, step that can guide me for this project ?

Plzz help.

Regards,

syidan
ECACE



Joined: 24 Jul 2006
Posts: 94

View user's profile Send private message

PostPosted: Mon Nov 10, 2008 7:46 pm     Reply with quote

Syidan,

Please go to the following liks and read up on what a UART/USART is.
http://en.wikipedia.org/wiki/UART

In a nutshell this is the part of the micro that lets you communicate with external serial devices. Whether it is a serial port, SPI port, I2C, you would use the UART for this. Now in the PIC's, they have what is called an AUSART, which is an Advanced USART, that is what allows other serial coms other than com ports...SPI, I2C...etc.

When it comes to HW vs SW UARTS, most PICs have a HW USART, sometimes two. Using the HW port would allow you to TX/RX while you are doing other things. Whereas the SW UARTs require you to stop whatever you are doing to handle the commnications. VIA software, you are mimicking what a HW port would do.

As for NMEA and coding of it for the PIC's, use the search function of this site. There are a TON of posts about it.

Good Luck.
_________________
A HW Engineer 'trying' to do SW !!! Run!!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group