I cannot get the CAN unit working on my M5Tough. The same setup with a M5Fire works fine.
First the setup with the Fire:
I connected the unit to port B with the resistor between L and H. This is connected to a mini PLC, where I knew CAN was definitely working (also with the resistor installed).
I can now send messages between the Fire and the PLC.
When I switch out the Fire for the Tough it doesn't work anymore. I cannot receive or send messages.
I'm using the same code on both M5 products except I switched out "M5Stack.h" for "M5Tough.h". (I also tried with "M5Stack.h" on the Tough)
Also tried using the latest version from github (2021/11/01) - no success
I bought 10 M5Tough to use as HID for small PLCs and now I cannot use them.
I'm out of ideas. Can anyone help?
Also: Is there a working example for CAN on UIFlow somewhere out there? This would make updating the code and other things much easier.