Orin nx jp6.1 can

开启 brs测试canfd 只能到2.5M,测试5M 直接失败 按照文档TDCR 没有这个路径 应该怎么去修改

echo 0x600 > /sys/devices/c320000.mttcan/net/can1/tdcr

*** Please note that this reply is generated by LLM automatically ***

A question about the Jetson Orin NX!

Unfortunately, I couldn’t find any information about “brscanfd 25M5M TDCR” in the provided context. It’s possible that it’s a specific configuration or setting related to the Jetson Orin NX, but I couldn’t find any relevant information.

However, I can provide some general information about the Jetson Orin NX. The Jetson Orin NX is a series of modules from NVIDIA that are designed for edge AI and robotics applications. They are part of the NVIDIA Jetson Orin family, which also includes the Jetson Orin Nano and Jetson AGX Orin.

The Jetson Orin NX modules are available in different configurations, including the ONX 16GB and ONX 8GB, which have different specifications and performance characteristics. For example, the ONX 16GB has 2x NVDLA (Deep Learning Accelerator) engines, while the ONX 8GB has 1x NVDLA engine.

If you could provide more context or information about what “brscanfd 25M5M TDCR” refers to, I may be able to provide a more specific answer.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

应该怎么去解决这个问题

Hi wang_qing_jiu,

Are you using the devkit or custom board for Orin NX?

Have you confirmed that your CAN transceiver can work up to 5Mbps?

Could you run the following command instead for Jetpack 6.x?

# echo 0x600 > /sys/devices/platform/bus@0/c320000.mttcan/net/can1/tdc_offset

不行的 无法发送 NX 的地址是c310000 你这边可以先验证一下

For CAN0, please run the following command instead.

# echo 0x600 > /sys/devices/platform/bus@0/c310000.mttcan/net/can0/tdc_offset

@KevinFFF 我的意思是这样不行的 发送不出去 报错bit0 error detecter

What’s the CAN transceiver in use?
Have you confirmed that your CAN transceiver can support upto 5M CAN-FD?

Please also share the full device tree for further check.

$ sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

extracted_proc.zip (51.5 KB)

Please add the following prod-settings to both mttcan@c310000 and mttcan@c320000 nodes to check if it could help for your case.

		mttcan@c310000 {
			prod-settings {
				#prod-cells = <4>;
				prod_c_can_2m_1m {
					board {
						prod = <
							0 0x00000048 0x00007f00 0x00000000>;            //M_TTCAN_CORE_TDCR_0
					};
				};
				prod_c_can_5m {
					board {
						prod = <
							0 0x00000048 0x00007f00 0x00000600>;            //M_TTCAN_CORE_TDCR_0
					};
				};
				prod_c_can_8m {
					board {
						prod = <
							0 0x00000048 0x00007f00 0x00000400>;            //M_TTCAN_CORE_TDCR_0
					};
				};
			};
		};

		mttcan@c320000 {
			prod-settings {
				#prod-cells = <4>;
				prod_c_can_2m_1m {
					board {
						prod = <
							0 0x00000048 0x00007f00 0x00000000>;            //M_TTCAN_CORE_TDCR_0
					};
				};
				prod_c_can_5m {
					board {
						prod = <
							0 0x00000048 0x00007f00 0x00000600>;            //M_TTCAN_CORE_TDCR_0
					};
				};
				prod_c_can_8m {
					board {
						prod = <
							0 0x00000048 0x00007f00 0x00000400>;            //M_TTCAN_CORE_TDCR_0
					};
				};
			};
		};

can_put_echo_skb:bug! echo_skb 1 is occupied! 出现这个

There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks
~1105

Have you applied above prod-settings for CAN?

If so, please share the detailed commands you run to reproduce the issue.