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

Texas Instrument RS232 work but maxim RS232 doesn't work?

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







Texas Instrument RS232 work but maxim RS232 doesn't work?
PostPosted: Thu Apr 02, 2009 1:21 pm     Reply with quote

I try to use maxim RS232 for serial communication betwwen PIC and PC.

I have tried my circuit with 2 pcs of maxim RS232 IC but both not working (cannot send data to hyper terminal). When I use back the Texas Instrument RS232, the PIC able to send data successfully to PC via hyper terminal. So, what is the problem with maxim RS232? Thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Apr 02, 2009 1:25 pm     Reply with quote

We are not mind readers. Post the part numbers.
Also, this is not really a CCS compiler question.
NickSim
Guest







PostPosted: Thu Apr 02, 2009 1:38 pm     Reply with quote

Texas Instrument MAX232N and Maxim Max232CPE

It is not really related to ccs but I just want to know if someone ever encounter this problem before and how to solve it. I don't think it is the code problem. Your help will be very much appreciated.
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu Apr 02, 2009 1:54 pm     Reply with quote

NickSim wrote:
Texas Instrument MAX232N and Maxim Max232CPE

It is not really related to ccs but I just want to know if someone ever encounter this problem before and how to solve it. I don't think it is the code problem. Your help will be very much appreciated.


Assuming you are using a +5volt supply, measure the voltage on pics 2 wrt ground and 6 wrt ground. They should be +8.5 volts and - 8.5 volts respectively.

If not then... Check the power and supply connections to the chip and ensure the +5 volt rail is + 5 volts. Check that the capacitors are soldered correctly (no dry joints). If using tantalum capacitors then ensure they are installed the correct way around.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Thu Apr 02, 2009 7:56 pm     Reply with quote

some max232 equivalents use 1 uf cap others use .1uf caps

i dont' know what happens if you use the kind that need 1 uf - with just .1 uf
or vice versa but that could be checked

have you LOOKED to see the output levels coming OUT of the chip
on the TX out ?

and More telling

do BOTH directions fail ?
meaning no xmit or receive ?

or just XMIT failing ?
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