Hello.
I have used in the past 2 arduino nanos with the MCP2515 module.
Now I need to read 4 sensors with the Teensy LC and send that information via CAN to the arduino Nano. Basically, the Teensy LC is just transmiting via CAN, the Nano is the one that reads from the CAN Bus.
I'm using the same libraries as for the setup with the 2 nanos, the mcp2515.h from autowp.
I'm using the SPI pins from the Teensy LC, CS0, MOSI0, MISO0 and SCK0. I'm connectong the INT pin from the MCP2515 module to the same Digital Pin 2 that I have used in the 2 nanos setup.
The Arduino Nano gets no response from the CAN Bus, I suspect the Teensy is not sending the messages. I have done serial decoding with a picoscope on the CAN Bus and there is no messages being transmited.
Can the Teensy LC, since it's 3.3V work with the 5V MCP2515? And by this I mean the MOSI,MISO,CS and SCK pins.
Do I need level shifting on the CS0, MOSI0, MISO0, SCK0 and INT pins?
Thank you.
I have used in the past 2 arduino nanos with the MCP2515 module.
Now I need to read 4 sensors with the Teensy LC and send that information via CAN to the arduino Nano. Basically, the Teensy LC is just transmiting via CAN, the Nano is the one that reads from the CAN Bus.
I'm using the same libraries as for the setup with the 2 nanos, the mcp2515.h from autowp.
I'm using the SPI pins from the Teensy LC, CS0, MOSI0, MISO0 and SCK0. I'm connectong the INT pin from the MCP2515 module to the same Digital Pin 2 that I have used in the 2 nanos setup.
The Arduino Nano gets no response from the CAN Bus, I suspect the Teensy is not sending the messages. I have done serial decoding with a picoscope on the CAN Bus and there is no messages being transmited.
Can the Teensy LC, since it's 3.3V work with the 5V MCP2515? And by this I mean the MOSI,MISO,CS and SCK pins.
Do I need level shifting on the CS0, MOSI0, MISO0, SCK0 and INT pins?
Thank you.