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 8 matches
CCS Forum Index
Author Message
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Wed May 18, 2011 11:59 am   Subject: Byte error rate 10% with SPI
It's working now Very Happy !
However, in my full code (in which i use spi) there are some inputs (from sensors, switchs, external interrupts etc.). Do you think that will cause the same problem, even i ...
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Fri May 13, 2011 1:23 pm   Subject: Byte error rate 10% with SPI
Ok. Thank you !
I will try with 16F PICs to test my code, but i will be better for my purpose to make it work on 18F. I hope I will not have to develop a software spi instead of using hardware mssp m ...
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Wed May 11, 2011 2:16 pm   Subject: Byte error rate 10% with SPI
Or it could be a test program issue. I didn't really look too closely at your
test program. I don't have time to put together a hardware test setup
today. Maybe I could do that tomorrow and test ...
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Wed May 11, 2011 12:46 pm   Subject: Byte error rate 10% with SPI
- I just tried with two PIC18F2520 and I got the same problem.

- I change the board to eliminate this parameter.

- I tried to use a 20MHz crystal, pull-up resistors, changed nothing.

- When I ...
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Tue May 10, 2011 12:28 pm   Subject: Byte error rate 10% with SPI
From that info I would guess your SPI pull-up resistors are too high

I didn't kwow that spi required pull-up resistors. On what lines do you suggest I have to put pull-up resistors ?
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Mon May 09, 2011 3:34 pm   Subject: Byte error rate 10% with SPI
@ PCM programmer

The PICs are on the same board, with same ground, same power supply.

The power supply voltage is 5V from a 1.5A DC regulated power supply, that is good power supply I think. I t ...
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Mon May 09, 2011 11:02 am   Subject: Byte error rate 10% with SPI
Ok I will try with a crystal as soon as possible...

@PCM programmer :

- The two PICs are not on a PCB but on a prototyping board (white, with components linked with wires)

- The PICs are conn ...
  Topic: Byte error rate 10% with SPI
lglenat

Replies: 19
Views: 26647

PostForum: General CCS C Discussion   Posted: Sun May 08, 2011 12:35 pm   Subject: Byte error rate 10% with SPI
Hi !

I'm trying to use SPI communication between a master and a slave, both PIC18F2523.
I think I'm doing that right, but when I compare the byte returned by the slave after a request of the maste ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group