CAN issue with NUCLEO
Posted: Mon Jul 08, 2019 6:43 pm
I have a setup with two devices interchanging CAN messages. To this setup I added a NUCLEO_F746ZG. A message sent from the NUCLEO is received by both other devices. So I know I have the baudrate correct. However, can.recv(0) never returns a message. It always times out (OSError: [Errno 110] ETIMEDOUT). Even in LOOPBACK (as per the example) it always times out.
In order to rule out hardware issues (a loose wire, a blown port pin or the tranceiver malfunctioning) I flashed some of my own firmware onto the NUCLEO. With that firmware both sending and receiving works correctly.
I have expressly called initfilterbanks, but that does not make any difference.
What is the magic word to receive can messages?
In order to rule out hardware issues (a loose wire, a blown port pin or the tranceiver malfunctioning) I flashed some of my own firmware onto the NUCLEO. With that firmware both sending and receiving works correctly.
I have expressly called initfilterbanks, but that does not make any difference.
What is the magic word to receive can messages?