AM623: AM623:Problem with MCAN+PDMA on A53

Part Number: AM623

Hello,

We are seeing a failure in MCAN UDMA TX channel initialization on AM62x.
The failure happens at TISCI_MSG_RM_PSIL_PAIR (0x1280), which TIFS responds NACK to DM.

Environment:
- SoC: AM62x
- SYSFW: 11.1.2--v11.01.02 (Fancy Rat)
- ABI revision: 4.0
- Host: 12 (A53 side)

Failing PSIL pair request:
- nav_id = 25
- src_thread = 0x1000
- dst_thread = 0xc40c

We also added logging and confirmed:
- TISCI_MSG_RM_GET_RESOURCE_RANGE (0x1500): LOCAL_ONLY, ACK
- TISCI_MSG_RM_IRQ_SET (0x1000): LOCAL_THEN_TIFS, ACK
- TISCI_MSG_RM_RING_CFG (0x1110): LOCAL_THEN_TIFS, ACK
- TISCI_MSG_RM_PSIL_PAIR (0x1280): TIFS_ONLY, NAK

So this does not look like a generic RM / secure-forwarding problem.
It appears that secure RM / TIFS specifically rejects this PSIL pair request.

Could you please advise:
1. why TIFS rejects this RM_PSIL_PAIR request
2. whether this element is allowed for host 12:
- nav_id = 25
- src_thread = 0x1000
- dst_thread = 0xc40c
3. whether there is any known policy / boardcfg / resasg / host assignment restriction for this case

Best regards.

  • Hello Okawachi hirosh,

    The MCAN with DMA is not supported on AM62X.

    Are you using the FreeRTOS A53 core in SMP or AMP mode?
    FYI, A53 FreeRTOS support is limited, and hopefully you have seen this message in the release notes.
    If you still need DMA on AM62X, then a DMA example is already available in the AM64X MCU+SDK.
    The same driver works on AM62X, and you have to integrate the MCAN driver and MCAN examples into your application and update the register offsets.

    Add driver compilation to the makefile to compile them. This way the MCAN driver works in the AM62X as well..

    Regards,

    Anil.