I am developing the SDIO driver of i.MX257.
It is using eSDHC2.
There are two questions.
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.
It sometimes becomes 0x00000000 when reading InterruptStatusRegister by the SD interruption handler.
What is thought of ?