Hi im have problems with connecting spi on my 18F4550 because the datasheet shows that SCK=RB1, SDI=RB0 and SDO=RC7, but when i choose the hardware spi function in picwizard(in CCS compiler) it shows SPI_CLK=C3, SPI_DI=C4 and SPI_D0=C5 i dont know what to believe, or if im completely wrong??
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Sat Jan 05, 2008 9:43 am
The datasheet is always leading. The pins suggested by the CCS compiler are the pin numbers as used on most other PIC processors but are wrong for the PIC18F4550.
Maybe be this has been fixed in a newer compiler version. What is the version number of your compiler?
Guest
Posted: Sat Jan 05, 2008 10:20 am
im using 4.057
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Sat Jan 05, 2008 11:26 am
I don't have the latest compiler versions but maybe someone else can check the correct pin numbers in the PIC wizard?
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