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 13 matches
CCS Forum Index
Author Message
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Wed Apr 03, 2013 6:37 pm   Subject: uart multi slave (pic16f887)
thanks all
I also want to support CCS, but the hardware you asked so I gave up, my project is more complex, but I have know communication rs485 to ask, I asked simple matter to develop my project,
I ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Wed Apr 03, 2013 10:48 am   Subject: uart multi slave (pic16f887)
I can now see your schematic more clearly.
You appear to be trying to connect as I showed in my ASCII version.
It is possible, but NOT the way to go.

It's been suggested several times already to ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 3:29 pm   Subject: uart multi slave (pic16f887)
Hi,

Your picture file(s) seem to be missing. Can you check them and get back to us?

No, you need something like a MAX485 device to successfully implement RS-485 communications. These chips allow ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 2:10 pm   Subject: uart multi slave (pic16f887)
Should have asked earlier.

1) Are you using REAL hardware?
OR
2) Is it ALL ISIS simulation?

Mike
I do real circuit
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 10:27 am   Subject: uart multi slave (pic16f887)
I can't see your picture (or I got fed up of waiting for it to load).

by the way I asked if communication rs485 without using max485 or max487 or any one of anything else?
I just cross-connectio ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 9:26 am   Subject: uart multi slave (pic16f887)
please give me one sample code using uart or rs485
slave 1 sends one to master
slave 2 send 2 to the master
master two of them on screen display lcd
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 9:22 am   Subject: uart multi slave (pic16f887)
CCS provides both programs and schematic for 'multiPIC' setup in their Help files. Look in the FAQ or Q&A section.
You can connect only 2 PIC by jumpering TX1 to RC2, RC1 to TX2.In this configura ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 8:34 am   Subject: uart multi slave (pic16f887)
Hi,

Could you please take a photo of your hardware, and then post it on-line for us to take a look at? Once posted, send us a link to the file location (eg. photobucket, etc.). I think that getting ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 6:49 am   Subject: uart multi slave (pic16f887)
Taken a long time for you to get round to telling us.
yes!I'm done rs485 connection, you can give me sample code for this?
And yes, CCS provides EX_RS485.C for you to try.

Mike
in the ex_rs485.c ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Tue Apr 02, 2013 12:48 am   Subject: uart multi slave (pic16f887)
What you are not saying is how the connections are made?.

RS232, is a one to one connection. Only one 'master' and one 'slave'.
It can be partially used as a one to multi connection (with several ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Mon Apr 01, 2013 11:35 pm   Subject: uart multi slave (pic16f887)
Can I ask a question ? Why do you put in lines like this (in bold, below) ?
I don't think there are any examples that ever say the lines in bold
are a good idea. There are many posts on this forum ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Mon Apr 01, 2013 9:48 pm   Subject: uart multi slave (pic16f887)
You need to help us to help you.

1) Reduce your code to the minimum possible.
2) Show us your hardware set up.

Mike

EDIT This should be in General discussion section NOT code library!
Sorry ...
  Topic: uart multi slave (pic16f887)
khanh my

Replies: 29
Views: 50691

PostForum: General CCS C Discussion   Posted: Mon Apr 01, 2013 11:19 am   Subject: uart multi slave (pic16f887)
hello everybody!
I'm from vietnam, I not good English
I use uart communication connection to one master and two slave, the but two slave can not send data to the master
Thanks to everyone for check ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group