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 support@ccsinfo.com

About the RS-232 serial communication using PIC 16F877

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



Joined: 26 Sep 2005
Posts: 10

View user's profile Send private message

About the RS-232 serial communication using PIC 16F877
PostPosted: Fri Jan 13, 2006 5:03 am     Reply with quote

i have used PIC 16F877 and RS232 standard for the serial communication.
in my simulation the data is getting transferred to the PC through the port but the data is not the one which i want . i have use the " putc" and "printf" statements for the transfer. still the expected data is not getting transferred. The data what i want to transfer is read from the i2c RAM and the data read for transfer is not the one which i want.

when i use only the "i2c_read" function for reading the data read is correct, the one i want, but durib the transfer it is something different.
I am usin proteus v6.7 version for the simulation purpose.

WHAT SHOULD I DO???

PLEASE HELP ME OUT..
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Fri Jan 13, 2006 8:08 am     Reply with quote

Quote:

WHAT SHOULD I DO???


1) Post your code. Include header and compiler version.
2) Short description of your hardware.


Humberto
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

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

PostPosted: Fri Jan 13, 2006 10:40 am     Reply with quote

Humberto wrote:

1) Post your code. Include header and compiler version.
2) Short description of your hardware.


3) Post serial output you are getting.
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