![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
FISH6942
Joined: 03 Feb 2006 Posts: 13 Location: Minnesota
|
Software RS232 resource usage |
Posted: Thu Apr 05, 2007 8:21 am |
|
|
I've added a simple software RS232 port on an unused GP I/O pin. The only thing it's being used for is to send out two bytes at startup. After these two bytes are sent it's not used again. The hardware UART is being used continuously in the normal program.
My questions: Will any micro resources (timers, etc...) be affected by this software port being enabled even though it's never used again after startup? Is there a way to disable this software UART? |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah Guest
|
|
Posted: Thu Apr 05, 2007 9:33 am |
|
|
Nothing is affected.
The 'soft' output routine, generates a very simple shift, combined with delays and simple bit outputs. The delays are pure 'count' type delays, with no timer resources used. This is the 'downside' of the software output, when other things are going on (it'll be affected by interrupts etc., destroying the timings), but the 'plus', is that no hardware resources are used.
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|