I’m a newbie and have a question about UART libraries.

General discussion on mikroBasic for dsPIC30/33 and PIC24.
Post Reply
Author
Message
bataradena
Posts: 16
Joined: 31 May 2007 15:22
Location: Tucson, AZ

I’m a newbie and have a question about UART libraries.

#1 Post by bataradena » 02 Jul 2008 15:16

I’m wondering what’s the big or small different between “Software UART Library" and "UART Library"? Is the different just
“The Software UART” is hardware independent and can be used with any MCU. Is that about it or is there more I should know about.
Thanks
Byron

mefleming55
Posts: 55
Joined: 27 Dec 2006 23:16
Location: Portland, Oregon, Earth
Contact:

#2 Post by mefleming55 » 02 Jul 2008 21:04

Mainly-- the software Uarts run code that cannot be interrupted. The hardware Uarts use the internal chip modules to do the timing and buffering and can be interrupted without loosing sync.
http://www.micro2cloud.com

norbie
Posts: 160
Joined: 06 May 2006 22:40
Location: Vista, California

#3 Post by norbie » 17 Sep 2008 03:46

Also,
you can program the SOFT_UART essentially on almost any pins of the MCU while the HARD UART is defined by the type of MCU and their PIN assignment.
Cheers,
Norbert

You don't need to know the answer, you just need to know where to find it!

Post Reply

Return to “mikroBasic for dsPIC30/33 and PIC24 General”