TO ADD EXTERNAL INTERRUPT FOR SDMMC STACK

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

TO ADD EXTERNAL INTERRUPT FOR SDMMC STACK

415 Views
Samsi
Contributor I

Hi all, first of all sorry for inconvenience from me. i'm trying to interface imxrt1170 with WILINK1807 wifi chip  over the sdio protocol .here i have illustrated the wilink 1807 and rt1170 connection's prototype.

rt1170                                        wilink1807

SDMMC->DATA0                     SDIO->DATA0

SDMMC->DATA1                     SDIO->DATA1

SDMMC->DATA2                     SDIO->DATA2

SDMMC->DATA3                     SDIO->DATA3

GPIO10->12                             RST/Enable

GPIO10->13                             IRQ

i need to set the GPIO10->13 as SDMMC card interrupt.

i have gone through the rt1170's RM. The DATA1 line is default interrupt pin.

i hope the sdmmc stack designed for default parameters .

my questions

how can i disable default interrupt related functionalities?

can i add the any GPIO's interrupt for sdmmc stack for further works? 

0 Kudos
1 Reply

399 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Hope you are well.
To disable the interrupts from certain handled you might want to use "DisableIRQ()" Regarding USDHC you can use "USDHC_DisableInterruptStatus(), USDHC_DisableInterruptSignal()"

GPIO interrupts can be added with "GPIO_PortEnableInterrupts()"

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos