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

Enabling/Disabling UART in Code

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



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

Enabling/Disabling UART in Code
PostPosted: Sat Feb 04, 2006 10:29 am     Reply with quote

Hello All,

I need to drive a 3.3V part with a 5V PIC (18F2525). So I'll have the UART on the 18F2525 driving a 3.3V part. I can either use a level shifter or a voltage divider. I haven't been able to find a level shifter that meets my needs: 3 High to low and 2 low to high drivers, SOIC part, shutdown, etc.... So I've resigned myself to voltage dividing. So that leads me to a couple of questions (all of which are driven by the need for low power).

1. Does the UART TX line idle low or high?

2. If it idles high, can I disable it in code to eliminate the drain through the voltage divider?

3. Does anyone have a better way to do this or know of good level shifter that is readily available (Digikey, Mouser, Newark)?

Thanks,

John
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