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.

MCU-PLUS-SDK-AM243X: Trigger BCDMA transfer using GPIO interrupt

Part Number: MCU-PLUS-SDK-AM243X

Tool/software:

Hello,

I'd like to trigger a BCDMA transfer using an external signal coming into some of my GPIOs.

Currently, I managed to make GPIO interrupts work by configuring the GPIO_MUX router like so

I configured my selected GPIO to trigger an interrupt on a falling edge. When the falling edge is detected, as you can see from the diagram above in red, the signal gets routed from the device peripherals interrupts all the way to the R5FSS_CORE0/1 via the following possible routers

This actually works. Here is the sci client function I use to confiture the route

As you can see, I have made the des_host_irq and dst_id variables configuratble parameters. In this case, to trigger specifically just on the GPIO I use the destination ID TISCI_DEV_R5FSS0_CORE0 and the destination host R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP6.

Now, what I want to do is instead of triggering just on the GPIO, I want the signal coming into my GPIO to trigger a BCDMA transfer. Based on the working example and simple logic, this is what the route should look like

With the following routers available to me

So, in theory, I should be able to do so by using my sci client message I showed above but this time with destination ID TISCI_DEV_DMASS0_INTAGGR_0 and a destination host being any of the ones indicated in the blue box in the image above.

However, the sci client message fails with an error.

I'm assuming that I have to modify the resource partitoning somehow with the respart tool in order to allocate the required resources in my board config. Would you be able to tell me which resources I must allocate in order to make it work and how to allocate them with the respart tool? Or better yet, give me a working example that contains the correct resource allocation that I can look at with the respart tool?

Thanks!