Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] MicroC SPI Ethernet Library problem

Status
Not open for further replies.

dim912

Junior Member level 2
Joined
Sep 9, 2009
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Colombo
Activity points
1,524
I am using the PIC MINI WEB header board which includes PIC18F25J10 and ENC28J60 Ethernet controller. the program for the header board is written on MicroC.

When I use the SPI Ethernet library many of input output pins of the PIC do not correctly works. But When I do not use SPI Ethernet library and program the
header board, those pins correctly works.

Ex : I can use A0, C0,C1,C2 pins to drive LEDs as my wish when I do not use SPI Ethernet library. But When I use the SPI Ethernet library, LEDs connected to
those pins never get on.

But I want to use both SPI Ethernet library and other general input output pins of the header board.

If you have any suggestions and similar experiences, please help me.
 

You'll need to post or upload your code, so that one of us can take a look at it.

BigDog
 
  • Like
Reactions: dim912

    dim912

    Points: 2
    Helpful Answer Positive Rating
Hey I found the fault I have done.
It is not in the code :razz:

mistakenly I have not disconnect ICSP programmer from the header board when I run the program.
The program correctly runs with expected results, when the PIC is running after disconnecting the ICSP programmer from the board.

Thank you for your kind heart Mr.bigdogguru.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top