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.

SK-AM62A-LP: AM62A7: mcan on linux can't no receive data

Part Number: SK-AM62A-LP

hi 

 sdk version:

mcu_plus_sdk_am62ax_08_06_00_18

 ti-processor-sdk-linux-am62axx-evm-08.06.00.45

we follow below link to use can on linux to test,but  there has a problem,can't not receive data from remote (it can send some data to remote)

AM62A7: Enable MCAN in linux & Modify associated DTS file in AM62A7 - Processors forum - Processors - TI E2E support forums

we send data successful ,but the tx count has not update,

then I check the code,the reason should be the irq has not generate

below is my test dts 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi
+++ b/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi
@@ -25,7 +25,6 @@ mcu_pmx0: pinctrl@4084000 {
#pinctrl-cells = <1>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0xffffffff>;
- status = "disabled";
};
mcu_uart0: serial@4a00000 {
@@ -124,4 +123,32 @@ mcu_gpio0: gpio@4201000 {
clock-names = "gpio";
status = "disabled";
};
+
+ mcu_mcan0: can@4e00000 {
+ compatible = "bosch,m_can";
+ reg = <0x00 0x4e00000 0x00 0x8000>,
+ <0x00 0x4e08000 0x00 0x200>;
+ reg-names = "message_ram", "m_can";
+ power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

also I change the irq num like below a or b,Testing didn't work either

a

b

 so why irq has not generate,irq domain? and how to connect interrupt routes