Author |
Message |
Topic: 18F2620 SPI Slave Problem with SS pin |
gnz
Replies: 5
Views: 9241
|
Forum: General CCS C Discussion Posted: Wed Nov 19, 2008 2:36 am Subject: 18F2620 SPI Slave Problem with SS pin |
Problem is solved. Thanks for everybody for the replies.
The problem is solved by adding a 100ohm resistor between the 18f2620 SSpin and the chip select output of the master microcontroller.
I've ... |
Topic: 18F2620 SPI Slave Problem with SS pin |
gnz
Replies: 5
Views: 9241
|
Forum: General CCS C Discussion Posted: Wed Nov 19, 2008 2:12 am Subject: 18F2620 SPI Slave Problem with SS pin |
Thanks for your warn, PCMprogrammer. I've changed these two configuration, and I still have problem with the SS. |
Topic: 18F2620 SPI Slave Problem with SS pin |
gnz
Replies: 5
Views: 9241
|
Forum: General CCS C Discussion Posted: Tue Nov 18, 2008 4:14 am Subject: 18F2620 SPI Slave Problem with SS pin |
Hi ckielstra,
I have added the setup_spi(SPI_SLAVE | SPI_MODE_1); to my code but nothing changes the problem is with the spi_ss_disabled. When i use this, it is ok i can communicate over SPI, but wh ... |
Topic: 18F2620 SPI Slave Problem with SS pin |
gnz
Replies: 5
Views: 9241
|
Forum: General CCS C Discussion Posted: Sat Nov 15, 2008 4:53 am Subject: 18F2620 SPI Slave Problem with SS pin |
Hi everybody,
I have a problem with the SPI communication.
18F2620 (Rev 0x6) is slave and my SPI is configured by setup_spi(SPI_SLAVE) command. I've watched the SDO,SDI,SS and SCK lines and they a ... |
|