MPC8309 SDdriver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC8309 SDdriver

跳至解决方案
1,202 次查看
田曙亮
Contributor I

hi

I use mpc9309 linux2.6.34. When i use sdcard driver, i find sd driver use poll to detect sdcard.

This will cause a problem that if sd is not exist, it will cause many sd cmd intterupt.

I want to know that if this question had been resolved in other linux version.

thanks.

0 项奖励
回复
1 解答
1,089 次查看
Pavel
NXP Employee
NXP Employee

Look at the Section 2.5 of the AN10911 from NXP (http://www.nxp.com/documents/application_note/AN10911.pdf).

There are two methods for SD/MMC card detection.

The driver uses SD_CD pin for card detection.

Look at the bits CRM and CINS and CINTSEN bits in the Chapter 12 of the MPC8309 Reference Manual.

Description of these bits does not recommend using interrupt for card insertion.


Have a great day,
Pavel

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,090 次查看
Pavel
NXP Employee
NXP Employee

Look at the Section 2.5 of the AN10911 from NXP (http://www.nxp.com/documents/application_note/AN10911.pdf).

There are two methods for SD/MMC card detection.

The driver uses SD_CD pin for card detection.

Look at the bits CRM and CINS and CINTSEN bits in the Chapter 12 of the MPC8309 Reference Manual.

Description of these bits does not recommend using interrupt for card insertion.


Have a great day,
Pavel

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

0 项奖励
回复
1,089 次查看
田曙亮
Contributor I

Thanks Pavel

0 项奖励
回复