
ActiaPete (Customer) asked a question.
Hi,
I have a P1AM by itself with a MKR CAN Shield V2.0 connected into the MKR Expansion Header. I can run code in the CPU and the MKR CAN shield will initialize and run with the USB cable in place.
But, when I connect 24Vdc on the External 24V input, if the MKR CAN has already been initialized with USB power it will continue working. If the P1AM powers up with 24V, the MKR CAN board refuses to initialize. It appears that when powering the 24Vdc there is a conflict between the base and the MKR board.
The MKR CAN Board uses pins 7, 8, 9, 10 which it can share with others.
The board also uses +5V, +3.3V, VIN, GND. (but VIN is unpowered since there is nothing connected to that part of the circuit)
There is a 10k2 pull-up on pins 3 and 7.
Could you try adding this before you CAN.begin loop?