Shop OBEX P1 Docs P2 Docs Learn Events
ENC26J80 Info Needed.. — Parallax Forums

ENC26J80 Info Needed..

KPRKPR Posts: 189
edited 2009-04-16 23:15 in Propeller 1
I have just purchased a YBOX2, and want to mod it to add a SD card reader, so I have been on all of the usual propeller sites doing research and it has only brought me more questions, namely are all of the pins used for the network interface.

Scouring the net the developer(s) of the NIC interface and code seem to use almost the same usage either 5 or 4 pins on the propeller, where 5 pins seems to be the most used interface.

The YBOX2 uses 8, one of these being used as a software clock signal (p7 on the propeller instead of a 25 mhz crystal ) which I understand but looking through the code on Dev's (DeepDarc / Darco's ) code repository, I can't find where ( P0 - RESET ) and (P6 - WOL ) are being used.

I would like to recover the use of these pins but still use Dev's code, because his driver has PING and DHCP where the other examples don't.

All this being said, I am worried that re-using these pins will cause the drivers not to work.. I have e-mailed Dev directly over the past few weeks, but I get no response back from him so I am posting here in hopes of some help..

Thanks

Abysmal

Comments

  • Harrison.Harrison. Posts: 484
    edited 2009-04-13 16:31
    The ENC28J60 RESET and WOL pins are not used by either of the drivers. It's a good idea to cut those traces on the ybox2 PCB if you plan on using them. In fact, the WOL pin is actually a reserved pin in recent silicon versions of the chip, and therefore should be left unconnected.
  • Brian FairchildBrian Fairchild Posts: 549
    edited 2009-04-13 16:34
    The ybox schematic shows 12 pins unused on EX2 and the lower half of EX1. An SD card needs only 4 pins. Or am I missing something?
  • KPRKPR Posts: 189
    edited 2009-04-16 19:04
    Yes, I know but I'd like to have the ability to add a SD Card keyboard / mouse / VGA / LCD / game port.. at some time in the future.. so as many pins as possible are needed.. I figure I'll use a piggyback board to do this..
  • Bill HenningBill Henning Posts: 6,445
    edited 2009-04-16 19:09
    Would it then not be simpler to start with a USB proto board and add an ENC26J80?
    KPR said...
    Yes, I know but I'd like to have the ability to add a SD Card keyboard / mouse / VGA / LCD / game port.. at some time in the future.. so as many pins as possible are needed.. I figure I'll use a piggyback board to do this..
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com - a new blog about microcontrollers
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-04-16 20:38
    I agree, Bill.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • KPRKPR Posts: 189
    edited 2009-04-16 23:15
    I did that the first time around, but the ybox2 is so small and sweet, I got one too.. I should just do my own board but it would cost too much to make just one, especially with all of the shipping costs, I'm up in Toronto Canada and haven't found any local suppliers that I can get parts from.. and we all know the cost for a custom pcb..

    k.
Sign In or Register to comment.