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.

AM2434: SA2UL fails to work on a HS-FS device - error when trying to open UDMA channels

Part Number: AM2434

Hi,

I have an issue with using the SA2UL on a HS-FS device, however it works with a GP device.

I'm trying to use the provided example in the SDK (crypto_aes_cbc_256_am243x-evm_r5fss0-0_nortos_ti-arm-clang), and I understand this is for a GP device, however I have not found any HS-FS example.

Originally in our project I tried to use SA2UL with the 8.06 SDK, but the same error happens with 9.0. 

It fails when it's trying to pair the PSI-L source thread and destination threads in Sciclient_rmPsilPair (line 430)

In the below code, the return value "r" is SystemP_SUCCESS, however the required flag in the response is not set, so it fails.

    r = Sciclient_service(&sciReq, &sciResp);
    if ((r != SystemP_SUCCESS) || ((sciResp.flags & TISCI_MSG_FLAG_ACK) != TISCI_MSG_FLAG_ACK))
    {
        r = SystemP_FAILURE;
    }

I did try flashing the example as it is, and I receive the following error:

[MAIN_Cortex_R5_0_0] [CRYPTO] AES CBC-256 example started ...
ERROR: SA2UL_setupTxChannel:1492: error in Tx Udma_chOpen()
ERROR: SA2UL_dmaInit:1527: error in creating the dma tx channel
ERROR: SA2UL_setupRxChannel:1370: error in Rx-1 Udma_chOpen()
ERROR: SA2UL_setupRxChannel:1410: error in Rx-0 Udma_chOpen()
ERROR: SA2UL_dmaInit:1535: error in creating the dma Rx channel

Is it possible to the SA2UL on a HS-FS device, and if yes, what should we modify in the provided example?

Thanks for you support,

Mark