chipKIT® Development Platform

Inspired by Arduino™

Pins conflict with Network Shield

Created Tue, 05 Jun 2012 00:16:59 +0000 by lffelzmann@gmail.com


lffelzmann@gmail.com

Tue, 05 Jun 2012 00:16:59 +0000

I am using a chip kit max 32 with a chip kit network shield and I am having conflitcts on some pins. The reference manual says that the pins 46, 45, 47, 48, 49, 53, 43, 40, 42, 41 and 7 of the board are used for ethernet. I am using the library provided by Digilent to access the ethernet. I paid attention not to use these pins on my project. I am using the pins 11, 13, 12, 38, 39, 51, 30, 31, 32, 33, 34, 35, 36 and 37 to drive a Graphic LCD display. The library to drive this display was written by me, so I am sure it does not affect the ethernet pins. When I use a code that uses only Ethernet, it works great. When I use a code that uses only the display GLCD, it works great too. But when I use the GLCD and the Ethernet, the GLCD does not work. All the content in the display is erased when I use the Ethernet.begin(mac, ip); function. Wich pins are really used by the library that Digilent provides and what pins can I use for other purposes?


lffelzmann@gmail.com

Wed, 06 Jun 2012 17:20:30 +0000

The problem has been solved moving my RST pin of the display from pin 51 to 71. It means that the ethernet library also uses the pin 51 (LATGbits.LATG8).


Jacob Christ

Tue, 26 Jun 2012 14:01:09 +0000

The problem has been solved moving my RST pin of the display from pin 51 to 71. It means that the ethernet library also uses the pin 51 (LATGbits.LATG8).

LATGbits.LATG8 is defiantly used by Ethernet. Its connected to the phy.

We have found that there are at least two other pins being taken over by Ethernet that should not be. RA6 and RE1

We are trying to hunt this down and fix the issue.

Jacob


Jacob Christ

Tue, 26 Jun 2012 18:30:51 +0000

This topic appears to be related to this topic:

http://www.chipkit.org/forum/viewtopic.php?f=7&t=1396

Jacob