Well, this time it seemed to be easy but… it wasn’t !
- 2 wio terminal
- 2 i2c can bus modules (https://www.seeedstudio.com/I2C-CAN-Bus-Module-p-5054.html)
Then I’ve loaded on the first wio the sketch SEND.INO (https://github.com/Longan-Labs/I2C_CAN_Arduino/tree/main/examples/send) and on the other RECV.INO (https://github.com/Longan-Labs/I2C_CAN_Arduino/tree/main/examples/recv)
Both P1 terminal on modules (120ohm termination) are shortened.
The receiver doesn’t receive any data, in particural the call to if(CAN_MSGAVAIL == CAN.checkReceive()) always return “no data available”.
I’m enclosing a picture but the setup it’s very easy, only CANH and CANL connected.
Did someone tried these samples ?