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.

AM6442: GPIO interrupt L2G, IA, trigger a udma transfer , after transfer complete trigger interrupt in A53

Part Number: AM6442
Other Parts Discussed in Thread: TMDS64EVM

Hi:

I am running tmds64evm without OS.

Now, I want to config a gpio,  either active high trigger or active low trigger, I don't care. but once, that gpio is toogled,  UDMA will start transfer from msram to DDR.  after complete the transfer, udma will eventually trigger GIC in A53. 

I have my board configuration fully ready as below and compiled, gpio1_43 will be used,  you have  

under  examples\drivers\gpio\gpio_input_interrupt\am64x-evm\a53ss0-0_nortos, I am using this. example.

once, I press the button, the udma should be triggered and start  to moving the memory and trigger the interrupt, however, it doesn't.  can you show me the example? My code is pretty bad. 

<code>

           .num_resource = 2,
           .type = TISCI_RESASG_UTYPE (TISCI_DEV_MAIN_GPIOMUX_INTROUTER0, TISCI_RESASG_SUBTYPE_IR_OUTPUT),
           .start_resource = 16,
           .host_id = TISCI_HOST_ID_ALL,

 </code>

Thanks. 

here you give a good example to trigger R5F. 

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1261456/am6442-compare-router-to-trigger-bcdma/4785658?tisearch=e2e-sitesearch&keymatch=%2520user%253A563969#4785658

I want to trigger GIC. do you have example ? Thanks.