View previous topic :: View next topic |
Author |
Message |
PIC_INDIAN
Joined: 26 Nov 2005 Posts: 1 Location: India
|
SPI PROBLEM IN 18F4550 |
Posted: Sat Nov 26, 2005 11:07 pm |
|
|
i have problem in setup_spi while using 18F4550,
if i setup the spi the spi clock didn't genererated, but while i am using the same code for 18F452 it is working fine, plse tell me what may be the problem
Note: eventhough i configured the PORTB as digital IO on reset.
Thanks : |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Nov 27, 2005 2:30 pm |
|
|
Quote: | I have problem in setup_spi while using 18F4550,
if i setup the spi the spi clock didn't genererated |
1. Post a small test program that shows the problem.
See my post in the following link. It shows a simple test
program for spi write. Make a similar program for your
PIC, test it, and then post it.
http://www.ccsinfo.com/forum/viewtopic.php?t=24861
2. Also post your compiler version. This will be a number such
as 3.191, or 3.239, etc. You can find it at the top of the .LST
file for you project. It will be in your project folder. |
|
![](templates/subSilver/images/spacer.gif) |
|