This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] J722SXH01EVM:如何通过 TDA4AEN EVM 中的外部 GPIO 使用 MAIN_mcan0

Guru**** 2694555 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1598137/j722sxh01evm-how-to-use-main_mcan0-via-external-gpios-in-tda4aen-evm

器件型号: J722SXH01EVM

您好、TI 专家。

我正在尝试使用 PSDK 10.1.0.4 在 J722S 上使用 MCAN。

在 Linux 引导后、我使用确认 main_mcan0 存在ip link show
根据原理图、MAIN_mcan0 似乎映射到连接器 J10。

root@j722s-evm:/sd/svnet ip link show
1:低: MTU 65536 qdisc noqueue 状态未知模式默认组缺省值 qlen 1000
  链接/回送 00:00:00:00:00:00 brd 00:00:00:00:00:00:00
2:eth0: MTU 1500 qdisc mq 状态 up 模式默认组默认值 qlen 1000
  链接/醚 58:A1:5F:C1:db:45 brd ff:ff:ff:ff:ff:ff:ff:ff:ff
3:mcu_mcan0: MTU 16 qdisc noop 状态停机模式默认组缺省值 qlen 10
  链接/CAN
4:mcu_mcan1: MTU 16 qdisc noop 状态停机模式默认组缺省值 qlen 10
  链接/CAN
5:main_mcan0: MTU 16 qdisc noop 状态停机模式默认组缺省值 qlen 10
  链接/CAN

但是、即使在启动main_mcan0(使用验证)后ip -details link show main_mcan0
当我运行时cangen main_mcan0、在连接的接收器上未观察到信号。

以下是的输出ip -details link show main_mcan0

5: main_mcan0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10240
    link/can  promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
    can state ERROR-PASSIVE (berr-counter tx 128 rx 0) restart-ms 0
          bitrate 50000 sample-point 0.875
          tq 100 prop-seg 87 phase-seg1 87 phase-seg2 25 sjw 12 brp 8
          clock 80000000

在 TDA4AEN EVM 电路板 (PCB#:PROC170E3) 上、 是否可以通过外部 GPIO 使用 MAIN_mcan0?

 

此致

Yongsig