IMX8M Mini SDMA1 EXT EVENT0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8M Mini SDMA1 EXT EVENT0

737 Views
vishwas_m
Contributor I

Hi,

The GPIO1_IO03 pad has an alternate function SDMA1_EXT_EVENT0(ALT5) according to the NXP IMX8M reference manual.

sdma_events_pin_mux.png

 

When I configure the IOMUX to enable SDMA_EXT_EVENT0 on GPIO1_IO03 pad. The SDMA goes to an unpredictable state after SDMA is Initialised using SDMA_Init() API on the Mcuexpresso SDK.
I see a lot of events pending on SDMA1 i.e SDMAARM1->EVTPEND reg value is 0x24da1f7f.
If the IOMUX is configured to set the GPIO1_IO03 pad to GPIO1_IO03, The SDMAARM1->EVTPEND reg value is 0x0.

Is there a way to reset the SDMA EVTPEND register?
I am using the Mcuxpresso SDK ECSPI SDMA example to initialize the SDMA and read the registers. 

0 Kudos
1 Reply

641 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vishwas 

I am afraid SDMA_EXT_EVENT0 usage is not supported in nxp linux bsps,

as it requires special sdma scripts. As additional reading may be useful to look at

Freescale i.MX SDMA tutorial (part IV) 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos