I've had good success with the shield and the provided examples, however I've hit a problem that has me stumped.
About 50% of the time it works and 50% it doesn't
When it works the Int LED flashes and the code receives and/or sends perfectly.
When it doesn't work the Int LED goes immediately solid on start-up and I know that it has stalled.
If I do the following it works 100% of the time:
Disconnect one of the CAN wires.
Then power up the Arduino
Then attach the CAN wire that was disconnected
Adding some debug code it appears that when it stalls I get 5 in response to CAN.checkError()
Additional information is that the CAN.begin always seems to return OK, but if the stall occurs the error is present after a few ms of the begin.
Any ideas or suggestions?
Statistics : Posted by brian11 • on Tue Dec 03, 2013 12:31 pm • Replies 1 • Views 99
About 50% of the time it works and 50% it doesn't
When it works the Int LED flashes and the code receives and/or sends perfectly.
When it doesn't work the Int LED goes immediately solid on start-up and I know that it has stalled.
If I do the following it works 100% of the time:
Disconnect one of the CAN wires.
Then power up the Arduino
Then attach the CAN wire that was disconnected
Adding some debug code it appears that when it stalls I get 5 in response to CAN.checkError()
Additional information is that the CAN.begin always seems to return OK, but if the stall occurs the error is present after a few ms of the begin.
Any ideas or suggestions?
Statistics : Posted by brian11 • on Tue Dec 03, 2013 12:31 pm • Replies 1 • Views 99