How to use CAN3 port in Pixhawk4?



But,the program is dead ,Why???

Pixhawk 4 only has two CAN ports I think?



The Pixhawk4 is the same as fumv5, used STM32F767xx, this chip supports CAN3.

Yes, but Holybro, who designed and built the Pixhawk 4, didn’t wire the CAN3 ports of the chip to a port on the Pixhawk 4. Can’t you use a CAN node instead on ports CAN 1 or 2?

Yes,get it.But this situation is basic on all CAN devices are the same protocols and use a CAN node to distinguish.How about 3 different protocols ?

The ardupilot supports CAN3 undoubtedly,but I don’t know how to modify in software correctly

I fix it ,now it works perfectly

The details in code see in
如何在Ardupilot的4.0.4源码添加支持CAN3驱动-CSDN博客