I’m seeing a lot of CAN Bus Passive (Enum 3) errors on the network. Am I missing something on my configuration?
This is one of our custom boards. The CAN 1 is going to a SN65HVD230 chip. A 120 ohm termination resistor.
Components in the CAN network do talk and I’m able to communicate to the board via Microchip’s CanAnalyzer (no errors logged here).
canController = GHIElectronics.TinyCLR.Devices.Can.CanController.FromName(canPort); var propagationPhase1 = 13; var phase2 = 2; var baudratePrescaler = baudRate; //3 for 1M, 6 for 500k, 12 for 250k var synchronizationJumpWidth = 1; var useMultiBitSampling = false; canController.SetNominalBitTiming(new CanBitTiming(propagationPhase1, phase2, baudratePrescaler, synchronizationJumpWidth, useMultiBitSampling)); //Subscribe to the messages received canController.MessageReceived += Can_MessageReceived; //Subscribe to the message error canController.ErrorReceived += Can_ErrorReceived; canController.Enable();