You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I use CAN_EchoTest.ino in exemple.
I try to use "Can0.watchFor();".
It does'nt work without id. (no interupt for the mailbox)
When i use "Can0.watchFor(0x007);" i recive my frame correctly.
I look in the due_can.cpp and i see :
int CANRaw::watchFor()
{
int retVal = setRXFilter(0, 0, false);
enable_interrupt(getMailboxIer(0));
setRXFilter(0, 0, true);
enable_interrupt(getMailboxIer(1));
return retVal;
}
I don't know if it's normal but i don't understand how it work.
The text was updated successfully, but these errors were encountered:
I've had another report of this so I'm not going to say that you're wrong here. For some reason the watchFor() function does seem to be broken. I will keep this issue open and try to get to the bottom of what is going on.
Hi,
I use CAN_EchoTest.ino in exemple.
I try to use "Can0.watchFor();".
It does'nt work without id. (no interupt for the mailbox)
When i use "Can0.watchFor(0x007);" i recive my frame correctly.
I look in the due_can.cpp and i see :
int CANRaw::watchFor()
{
int retVal = setRXFilter(0, 0, false);
enable_interrupt(getMailboxIer(0));
setRXFilter(0, 0, true);
enable_interrupt(getMailboxIer(1));
}
I don't know if it's normal but i don't understand how it work.
The text was updated successfully, but these errors were encountered: