MPC8309 SDdriver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,150件の閲覧回数
田曙亮
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,037件の閲覧回数
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,038件の閲覧回数
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,037件の閲覧回数
田曙亮
Contributor I

Thanks Pavel

0 件の賞賛
返信