I'm working on a design where I need both CAN and Ethernet on a Teensy 4.1. When I try to use both, it crashes very quickly, using a very simple application (just initializing NativeEthernet and sending a few CAN messages).
When I don't use interrupts on the CAN side, I can get both to work. At least I thought so. CAN1 works with Ethernet as long as interrupts are disabled, but if I try using CAN2, it crashes with or without using interrupts.
I have a hardware design built around the Teensy, and I really need to figure this out. I saw one other thread on a similar topic a few years ago, but no resolutions.
Does anyone have any suggestions?
When I don't use interrupts on the CAN side, I can get both to work. At least I thought so. CAN1 works with Ethernet as long as interrupts are disabled, but if I try using CAN2, it crashes with or without using interrupts.
I have a hardware design built around the Teensy, and I really need to figure this out. I saw one other thread on a similar topic a few years ago, but no resolutions.
Does anyone have any suggestions?
Last edited: