chipKIT® Development Platform

Inspired by Arduino™

ChipKitCan Demo

Created Fri, 24 May 2013 21:37:37 +0000 by gw.agiledev


gw.agiledev

Fri, 24 May 2013 21:37:37 +0000

Hi,

for me the ChipKitCan Demo does not work. I can compile the example and deploy it to the board. It initializes correctly and starts to send messages. But the sending itself seems to fail as the interrupt handlers are never called. I have added some debug println() to the original implementation. It seems that "updateChannel(CAN::CHANNEL0)" resets the entire message. When flushing the channel I get a getTxErrorCount() returns 128. By commenting out updateChannel(CAN::CHANNEL0), getTxErrorCount() returns 0 but there is still no message sent by flushing the channel.

Am I missing something? Please find attached the ChipKitCan Demo which I am using.

Best regards Gabriel