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

Search found 5 matches
CCS Forum Index
Author Message
  Topic: 18F4550 Rs232 problem
kingsalmon

Replies: 12
Views: 14703

PostForum: General CCS C Discussion   Posted: Tue Aug 11, 2009 11:07 am   Subject: 18F4550 Rs232 problem
Hello again!

I finally got it working!
The problem was solved when I started using CCS v4.084.
I guess there was some problem in earlier versions and it was fixed.

The code was not modified. ...
  Topic: 18F4550 Rs232 problem
kingsalmon

Replies: 12
Views: 14703

PostForum: General CCS C Discussion   Posted: Thu Jul 09, 2009 4:42 am   Subject: 18F4550 Rs232 problem
After changing the #use rs232 to to main file, after the setup_oscillator I wrote the code on the pic and tested it on a real circuito.
The osciloscope showed that the RC6 is normally at a 0 level. ...
  Topic: 18F4550 Rs232 problem
kingsalmon

Replies: 12
Views: 14703

PostForum: General CCS C Discussion   Posted: Mon Jul 06, 2009 5:02 pm   Subject: 18F4550 Rs232 problem
While creating the code I used the ccs' wizard. It puts the #use rs232 in the first included file:
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
  Topic: 18F4550 Rs232 problem
kingsalmon

Replies: 12
Views: 14703

PostForum: General CCS C Discussion   Posted: Mon Jul 06, 2009 11:43 am   Subject: 18F4550 Rs232 problem
I`ve changed the interruption handler as you said.
Unfortunately, still not working.


Receive
#include "D:\PIC\Projetos em C\Rs232\recepção\test_recep\teste_recep.h"
#include ...
  Topic: 18F4550 Rs232 problem
kingsalmon

Replies: 12
Views: 14703

PostForum: General CCS C Discussion   Posted: Mon Jul 06, 2009 10:23 am   Subject: 18F4550 Rs232 problem
Hello!
I'm trying to use rs232 to communicate between 2 pics 18f4550.
The transmission is working fine, but the reception is not receiving anything.
I'm simulating it with Proteus.

Transmission: ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group