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 7 matches
CCS Forum Index
Author Message
  Topic: Pic to pic UART data Transfer
CaptainOnedin

Replies: 18
Views: 52165

PostForum: General CCS C Discussion   Posted: Wed Mar 02, 2022 1:05 am   Subject: Pic to pic UART data Transfer
Thanks alot you guys all!

Finally i figured out it. There is only one thing waiting to solve. Why IOC doesn't trigger with UART signal? I'll try all pins for it when i free.

I'm grateful to you ...
  Topic: Pic to pic UART data Transfer
CaptainOnedin

Replies: 18
Views: 52165

PostForum: General CCS C Discussion   Posted: Mon Feb 28, 2022 10:05 pm   Subject: Pic to pic UART data Transfer
@jeremiah Thanks alot for your advice, i'll consider it all the time. But as you can get it i am trying to figure out how can i use A5 and the other questions. I wrote that keeping as it works due to ...
  Topic: Pic to pic UART data Transfer
CaptainOnedin

Replies: 18
Views: 52165

PostForum: General CCS C Discussion   Posted: Mon Feb 28, 2022 5:22 pm   Subject: Pic to pic UART data Transfer
@PCM programmer yes i draw wrong on Proteus. We can imagine it as connected to a3. Nevertheless normally i am using A5 for rx but after @Ttelmah msg i made that connections for trial.
  Topic: Pic to pic UART data Transfer
CaptainOnedin

Replies: 18
Views: 52165

PostForum: General CCS C Discussion   Posted: Mon Feb 28, 2022 3:45 pm   Subject: Pic to pic UART data Transfer
@Ttelmah thanks for yr prompt reply.

Here is my latest code for slave pic 675 according to yr advice.
#include <12F675.h>
#fuses INTRC_IO,NOWDT,NOCPD,NOPROTECT,NOPUT,NOMCLR,NOBROWNOUT
#us ...
  Topic: Pic to pic UART data Transfer
CaptainOnedin

Replies: 18
Views: 52165

PostForum: General CCS C Discussion   Posted: Mon Feb 28, 2022 10:17 am   Subject: Pic to pic UART data Transfer
Thanks for yr reply @Ttelmah

As i told before msg i am at middle of the atlantic ocean atm. 😄 I have got only 2 pcs 628A and 1 pcs 675. For sure i wll try to use 2 628A to Uart communication wit ...
  Topic: Pic to pic UART data Transfer
CaptainOnedin

Replies: 18
Views: 52165

PostForum: General CCS C Discussion   Posted: Sun Feb 27, 2022 8:03 pm   Subject: Pic to pic UART data Transfer
Thanks for your kind reply @temtronic

Yes, 675 doesn't have hw uart. Therefore i am using interrupts on change option to catch Uart data. You can see 675 code as below.


#include <12F675.h&g ...
  Topic: Pic to pic UART data Transfer
CaptainOnedin

Replies: 18
Views: 52165

PostForum: General CCS C Discussion   Posted: Sun Feb 27, 2022 1:38 pm   Subject: Pic to pic UART data Transfer
Hi everyone,

I wanna make two pics communicate via UART. Those two pics are 16F628A and 12F675. So 16F628A has codes for displaying menu on i2c lcd. On the 12F675 is driving stepper motor with conf ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group