Go Down

Topic: CAN BUS Shield won't Initialize (Read 176 times) previous topic - next topic


Hi All,

I switched boards from a sparkfun red board (uno) to a Mega ADK board.  What would cause my CAN BUS shield not to initialize from board to board?  The code uploaded to the Mega is the same one I used for the uno. 

My CAN libraries are:


const int SPI_CS_PIN = 10;

I'm using this to show initialized:

Code: [Select]

while (CAN_OK != CAN.begin(CAN_125KBPS))

Serial.println("CAN BUS shield init fail");
Serial.println("  Init CAN BUS Shield again");
Serial.println("CAN BUS Shield init ok!");

Go Up