pps90
October 30, 2024, 4:27am
1
We are completing a project on autonomous vehicles, and the drive motor supports the CAN FD protocol. Can you provide some suggestions for starting the CAN FD communication control motor on PX4 6x?
Hello,
Maybe this issue solves what you are looking for?
opened 06:04AM - 19 Jun 23 UTC
stale
bug-report
### Describe the bug
There’s a problem bothering me. Why is the Ethernet device… missing after configuring the CAN port?
```
nsh> ifconfig
can0 Link encap:UNSPEC at DOWN
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
can1 Link encap:UNSPEC at DOWN
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
nsh>
```
After disabling the CAN port, the Ethernet port can work normally.
```
nsh> ifconfig
eth0 Link encap:Ethernet HWaddr 96:8b:9c:ce:b9:21 at DOWN
inet addr:192.168.0.54 DRaddr:192.168.0.1 Mask:255.255.255.0
```
### To Reproduce
1. enable FDCAN on menuconfig , can't see the eth0 port use ifconfig command.
2. disable FDCAN on menuconfig , the eth0 port work normally.
3. Ethernet configuration is like that:
```
nsh> netman show
DEVICE=eth0
BOOTPROTO=static
NETMASK=255.255.255.0
IPADDR=192.168.0.54
ROUTER=192.168.0.1
DNS=192.168.0.1
```
### Expected behavior
I need to use both CAN and Ethernet at the same time.
### Screenshot / Media
_No response_
### Flight Log
```txt
none
```
### Software Version
```txt
v1.14.0
```
### Flight controller
pixhawk 6x
### Vehicle type
None
### How are the different components wired up (including port information)
_No response_
### Additional context
_No response_
pps90
November 2, 2024, 3:13am
3
Perhaps his description is not very clear, can you provide more suggestions