chipKIT® Development Platform

Inspired by Arduino™

chipkit max32 with network shield

Created Fri, 30 Aug 2013 19:49:00 +0000 by chipkit_MAX32_CAN


Fri, 30 Aug 2013 19:49:00 +0000

I am using chip kit max32 with network shield and I have modified the CAN demo program to read vehicle CAN messages. I am providing power to the unit through OBD II power cable connected to J17 on network shield.

And also i have connected a transistor base (2n222n) to one of the digital pins through a resistor (this is drawing about 4mA from the pin).

The issue what I am having is digital pins starts fluctuating (going high, low) after a certain amount of time. I don't why it is doing this.

Any thoughts



Fri, 30 Aug 2013 21:16:56 +0000

Maybe something in your code? Unless you post it we can't tell.


Sat, 31 Aug 2013 22:13:30 +0000

So i am realizing now this might be a heat related issue, so what i really want is to put chipkitmax32 and network shield in some sort of sleep mode and then wake up when there is CAN traffic any thoughts. Just for reference i have attached the loop part of the code ( i don't think i have an issue with the code, the digital pin fluctuation does not happen when the hardware is used in the lab set up).

so how do i put the chipkitmax32 and network shied in sleep mode

void loop() {

if(!_configured) {


digitalWrite(ACC_POWER_PIN, LOW);


// receive CAN message rxCAN1();

if(current_CAN_value==4&&_connected==false) {

digitalWrite(ACC_POWER_PIN, HIGH);



if(current_CAN_value==1&&_connected==true) {


digitalWrite(ACC_POWER_PIN, LOW);



// do some other stuff not related to digital pin