Hi everyone

I tried to read the can buf during the interrupt like:

void MCP2515_ISR() {
while (CAN_MSGAVAIL == CAN.checkReceive()) {
CAN.readMsgBuf(&len, buf);

for (int i = 0; i < len; i++) {
  Serial.print(buf[i]); Serial.print("\t");



void loop() {


but I get no data. Is there a reason way I can not read the buffer like this?

Hello, I have not seen you have set up any interruption in the code you posted. Are you sure you have posted complete code?