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.

enc28j60 proteus simulation failed on CLKRDY check

Status
Not open for further replies.

kalas

Newbie level 4
Newbie level 4
Joined
Sep 18, 2006
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,314
Hi

I've made a simple design with a PIC18F452 and a ENC28J60.
I use CCS C 4.140 and the CCS TCPIP stack.

On simulation with Proteus 8 SP2, I've a problem in the MacInit () function, the check of CLKRDY bit always fail.

I can see spi signals from PIC with oscillo in the reading of ESTAT reg.

The strange thing is I can simulate the Explorer16 with PicTail exemple supplied with proteus with no trouble.

After several hours of search and tracking, I can't see what is wrong.

Some ideas will be welcome.
 

I've found, it's a timing issue.
When I compile my prog for 8MHz (HS Mode) and run the simulation at 8MHz, it's ok.
My original config, PLLx4 Mode and a Fosc=40 MHz, doesn't work.

Seems the ENC28J60 model from Proteus doesn't want the 10MHz SPI, like the old revison of this ic.
 

I've found, it's a timing issue.
When I compile my prog for 8MHz (HS Mode) and run the simulation at 8MHz, it's ok.
My original config, PLLx4 Mode and a Fosc=40 MHz, doesn't work.

Seems the ENC28J60 model from Proteus doesn't want the 10MHz SPI, like the old revison of this ic.

Hi, im also trying out something on ethernet, please can you send your code and circuit diagram, it would realy be helpful to me. my mail is
oluwoleoyetoke@yahoo.com
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top