AnsweredAssumed Answered

i.MX25 SDIO

Question asked by 勝美 金子 on Nov 20, 2013
Latest reply on Mar 13, 2014 by Karina Valencia Aguilar
Branched to a new discussion

Hello.

 

I am developing the SDIO driver of i.MX257.
It is using eSDHC2.

There are two questions.

 

Question 1:
Teach the way of controlling the clock of the SD bus by the SDCLKEN bit of SystemControlRegister.
To want to be realized is to make the inside of the 1 bit mode stop the clock of the SD bus and to accept SDIO interruption.
It sets PEREN, HCKEN, IPGEN of SystemControlRegister to 1.
SION of the following register is set.
・IOMUXC_SW_MUX_CTL_PAD_SD1_CMD
・IOMUXC_SW_MUX_CTL_PAD_SD1_CLK
・IOMUXC_SW_MUX_CTL_PAD_CSI_D6
・IOMUXC_SW_MUX_CTL_PAD_CSI_D7

 

Question 2:
It sometimes becomes 0x00000000 when reading InterruptStatusRegister by the SD interruption handler.
What is thought of ?

Outcomes