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

PIC 16F877

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







PIC 16F877
PostPosted: Tue Jul 22, 2003 1:10 pm     Reply with quote

I am using PIC C in SPI Mode,
When ever i am communicating on SPI bus, the Variables are getting set to 85 .(like Sequence = 85);
This is very strange problem, i have come across.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516252
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: PIC 16F877
PostPosted: Tue Jul 22, 2003 2:16 pm     Reply with quote

:=I am using PIC C in SPI Mode,
:=When ever i am communicating on SPI bus, the Variables are getting set to 85 .(like Sequence = 85);
:=This is very strange problem, i have come across.
--------------------------------------------------------

Post a very small, but complete, program that shows the problem.
Also give the version of your compiler.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516259
Pete Smith
Guest







Re: PIC 16F877
PostPosted: Wed Jul 23, 2003 2:47 am     Reply with quote

:=I am using PIC C in SPI Mode,
:=When ever i am communicating on SPI bus, the Variables are getting set to 85 .(like Sequence = 85);
:=This is very strange problem, i have come across.

Hi.

Do you have a short on your board? 85 = 01010101 which looks very much like the SPI clock sigal.

Pete.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516279
Ashish
Guest







PIC 16F877
PostPosted: Wed Jul 23, 2003 9:21 am     Reply with quote

The problem is,

i am not receiving any bad input from SPI Bus,
if i start the SPI communcation, The variable in the PIC is loaded with 85.

I am not even sending the variable over SPI bus, I tested it on different boards, problem remains same.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516285
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: PIC 16F877
PostPosted: Wed Jul 23, 2003 1:02 pm     Reply with quote

:=The problem is,
:=
:=i am not receiving any bad input from SPI Bus,
:=if i start the SPI communcation, The variable in the PIC is loaded with 85.
:=
:=I am not even sending the variable over SPI bus, I tested it on different boards, problem remains same.
----------------------------------------

Well, if you posted a small program that demonstrates your
problem, then we could see what you are doing, and maybe
offer some help.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516294
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