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: SPI Slave Select Pin
Paul Raine

Replies: 8
Views: 11652

PostForum: General CCS C Discussion   Posted: Mon Jul 03, 2006 1:02 am   Subject: SPI Slave Select Pin
After more testing into the problem, and hunting around the Microchip website, I've come to the conclusion that the problem is hardware and nothing to do with software. Microchip errata "SSP Module S ...
  Topic: SPI Slave Select Pin
Paul Raine

Replies: 8
Views: 11652

PostForum: General CCS C Discussion   Posted: Fri Jun 30, 2006 4:11 am   Subject: SPI Slave Select Pin
Thanks for your responses. I've distilled the code down to the bare minimum to try and remove any possible interactions with other functions. Basically, if I use SPI_SS_DISABLED, the code receives t ...
  Topic: SPI Slave Select Pin
Paul Raine

Replies: 8
Views: 11652

PostForum: General CCS C Discussion   Posted: Fri Jun 30, 2006 1:41 am   Subject: SPI Slave Select Pin
The PIC is 1 of 4 slave devices on the SPI bus, controlled by a Coldfire processor. Each device is addressed using an individual chip select line. If I use a software defined pin for selecting the P ...
  Topic: SPI Slave Select Pin
Paul Raine

Replies: 8
Views: 11652

PostForum: General CCS C Discussion   Posted: Thu Jun 29, 2006 7:40 am   Subject: SPI Slave Select Pin
Hi,

Does anyone have any tips on using the Slave Select pin when using SPI comms. If I use a 'soft' chip select, I correctly receive the data sent to the PIC. However, this causes problems with t ...
  Topic: I2C Slave on PIC18F4431
Paul Raine

Replies: 7
Views: 8037

PostForum: General CCS C Discussion   Posted: Thu Jun 29, 2006 7:22 am   Subject: I2C Slave on PIC18F4431
I used the following configuration

#use I2C (SLAVE, SDA=PIN_C4, SCL=PIN_C5, ADDRESS=0x04, FORCE_HW, FAST = 1000000)

and then the standard CCS functions in the interrupt i.e i2c_isr_state ...
  Topic: I2C Slave on PIC18F4431
Paul Raine

Replies: 7
Views: 8037

PostForum: General CCS C Discussion   Posted: Wed Jun 07, 2006 3:46 am   Subject: I2C Slave on PIC18F4431
I have my version of EX_SLAVE.c working now, so thanks for all your help. Very Happy
  Topic: I2C Slave on PIC18F4431
Paul Raine

Replies: 7
Views: 8037

PostForum: General CCS C Discussion   Posted: Tue Jun 06, 2006 8:10 am   Subject: I2C Slave on PIC18F4431
Hi,

I am trying to get a PIC18F4431 to be a slave device. However, I cannot get it to respond to messages sent over the bus. I have regressed to to using a modified EX_SLAVE.c file (only changed ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group