AM6442: BCDMA split channels with PDMA and TR reload

Part Number: AM6442

Hi,

I’m working with AM6442 and MCU+ SDK 12.x.

I’m trying to understand the intended use of the BCDMA split TX/RX channels.

Can BCDMA split TX/RX channels be paired over PSI-L with PDMA peripheral endpoints, for example UART or ADC?

If this is supported, can TRPD reload ( CSL_udmapCppi5TrSetReload() ) also be used on these split channels for repeated peripheral transfers?

I’m mainly asking about the AM64x hardware capability, not only what the current MCU+ SDK drivers are capable of.

Thanks.

  • Hello Erkut,

    Can BCDMA split TX/RX channels be paired over PSI-L with PDMA peripheral endpoints, for example UART or ADC?

    Yes, you can. In the AM64x TRM in section 11.1.1.5 Block Copy DMA (BCDMA) is clear on the architecture:

    • BCDMA Split TX channels have Tx Per-Split-Channel Buffers that buffer payload data fetched from memory and transfer it to a remote peripheral via PSI-L. You can review this in section 11.1.1.5.1.7 Tx Per-Split-Channel Buffers.
    • BCDMA Split RX channels have Rx Per-Split-Channel Buffers that receive data from remote peripherals via PSI-L and write it out to memory. You can review this 11.1.1.5.1.8 Rx Per-Split-Channel Buffers.

    In the AM64x TRM in section 11.3.1.3 PDMA Functional Description is confirmed the paired-DMA model explicitly:

    • A PDMA destination (Tx) channel is paired with a BCDMA/PKTDMA source channel via PSI-L thread pairing (PDMA_PSILCFG_TX_ENABLE, PDMA_PSILCFG_TX_RT_ENABLE).
    • A PDMA source (Rx) channel is paired with a BCDMA/PKTDMA destination channel via PSI-L thread pairing (PDMA_PSILCFG_RX_PEER_THREAD_ID, etc.).

    So yes, BCDMA split TX → PSI-L → PDMA Tx (e.g. UART TX) and PDMA Rx (e.g. UART RX/ADC) → PSI-L → BCDMA split RX are both fully supported at the hardware level.

    If this is supported, can TRPD reload ( CSL_udmapCppi5TrSetReload() ) also be used on these split channels for repeated peripheral transfers?

    Yes, the hardware supports it, but there is a critical errata constraint you must be aware of.

    In the AM64x TRM in sections 11.1.4.21 BCDMA - Split Transmit Operation (TR Packet) and 11.1.4.26 BCDMA - Split Receive Operation (TR Packet) both explicitly document the TRPD descriptor fields for split channels:

    • Reload Enable → set to 1 if looping is required.
    • Reload Index → appropriate offset when Reload Enable is set.
    • Last Entry → TR count minus 1.

    This confirms that the reload/looping mechanism is architecturally valid on split channels.

    In the AM64x Errata document, there is i2431 BCDMA: RX Channel can lockup in certain scenarios. This errata directly affects the TRPD infinite reload use case on BCDMA split RX channels paired with PDMA. You could also review a related errata to BCDMA- i2436 BCDMA: BCDMA RX_IGNORE_LONG setting in RX CHAN CFG register doesn't work.

    Best Regards,

    Borislav Lazarkov

  • Hello Erkut,

    I haven’t heard from you for 24 days, so I’m assuming you were able to resolve your issue. If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information. If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

    Best Regards,

    Borislav Lazarkov