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.
Now we have some TDA4VM/J721EX boards and 06_01_00_15 sdk.
We want to connect can devices to can buses of TDA4VM board. Whether only mcu1_0 in mcu domain and mcu2_1 in main domain can control can devices?
There are 14 mcan modules in main domain. Which cores can each of these modules be controlled by?
When A72 run linux, can I control the can devices in Linux? How should I change the dts files and bringup drivers?
Hi Subin,
-1-
"Whether only mcu1_0 in mcu domain and mcu2_1 in main domain can control can devices? There are 14 mcan modules in main domain. Which cores can each of these modules be controlled by?"
>> mcu1_0 is the R5F in the MCU domain and mcu2_1 is the R5F in the MAIN domain.
>> The MCU domain has 2 CAN instances namely MCU_MCAN0 and MCU_MCAN1
>> The MAIN domain has 14 CAN instances out of which 2 are exposed on the EVM namely MCAN0 and MCAN2
>> Both the mcu1_0 and mcu2_1 can control all CAN instances - the SDK has example running on mcu1_0 where you can control the MCU_MCAN0 and MCU_MCAN1.
-2-
"When A72 run linux, can I control the can devices in Linux? How should I change the dts files and bringup drivers?"
>> There is no driver for CAN on TDA4VM/J721EX as of now.
Please let me know in case you need further information.
Regards,
Karan
Hi, Karan, thanks for your reply.
-1-
Is there any examples running on mcu2_1 where we can control the MCAN0~13?
We want to test the links of MCAN0 and MCAN2 which are exposed on the EVM.
If the links are OK, we want to connect some can devices to the EVM through MCAN0 and MCAN2. Do you have any demos?
-2-
Would you provide linux driver of MCAN in the next version of SDK?
If we want to control our can devices in Linux, what should we do? We need to develop drivers by ourselves?
Hi, Karan, another question:
-3-
I found there is a board test demo in pdk/packages/ti/board/diag/mcan, but the demo only can be built for mpu1 and mcu1_0.
The test demo cannot run on mcu2_1?
How can I use this demo to test MCAN0~13?
I found something like this in the makefile of mcan_board_diag. I think the sdk lack of .asm and .lds files of mcu2_1, is it right?
Where can we get the files?
Hi Subin,
The application in pdk/packages/ti/board/diag/mcan is just the diagnostic test to check the functionality - it doesn't expose a lot of things.
You can instead refer to the CSL MCAN example present in pdk/packages/ti/csl/example/mcan/mcanEvmLoopback/mcan_evm_loopback_app_main_k3.c for (1 and 3)
For (2) as of now, there is no plan for a Linux driver for the next release - is there a specific requirement for which you need to use CAN on Linux? Can you explicitly mention it?
Regards,
Karan
Hi Subin,
I haven't heard back from you, I'm assuming you were able to resolve your issue.
If not, just post a reply below (or create a new thread if the thread has locked due to time-out).
Regards,
Karan