I think I have correct pins. CAN unit LED is turned on but same code for sending can frames does not seem to produce packets in bus (I use USB can dongle to debug bus). Sending part is same as Atom/M5Stack has.
I have tryed to use also pins 26/36 on the top of M5StickC instead of groove (HY2.0 4P interface) but that also does not work for me.
I am trying to get CAN unit working with M5StickC but failing at it. I own also M5Atom CAN which works fine when I modify example in that repository https://github.com/m5stack/M5Atom/blob/master/examples/ATOM_BASE/ATOM_CAN/ATOM_CAN.ino to use pins 26/32 (connecting with HY2.0 4P interface)
I have seen example of CAN in M5Stack repostory which seems to be pretty much same as M5Atom but I do not understand why M5StickC will not work
My initialization part is for M5StickC
I think I have correct pins. CAN unit LED is turned on but same code for sending can frames does not seem to produce packets in bus (I use USB can dongle to debug bus). Sending part is same as Atom/M5Stack has.
I have tryed to use also pins 26/36 on the top of M5StickC instead of groove (HY2.0 4P interface) but that also does not work for me.