is RSTA reset equivalent to RSTC+RSTD for System control register (SYSCTL) in eSDHCv2 of i.MX257?

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

is RSTA reset equivalent to RSTC+RSTD for System control register (SYSCTL) in eSDHCv2 of i.MX257?

800 Views
aldobiziak
Contributor II

Goodmorning everybody,

from reference manual (i.MX25 Multimedia Applications Processor Reference Manual, Rev. 2), I get the following definitions:

RSDT = Software reset for DAT line. Resets part of the data circuit and the DMA circuit.

RSTC = Software reset for CMD line. Resets part of the command circuit.

RSTA = Software reset for all.

Is RSTA reset equivalent to RSDT plus RSTC reset?


Regards


Aldo

Labels (1)
Tags (3)
0 Kudos
3 Replies

584 Views
Yuri
NXP Employee
NXP Employee

  In some sense the RSTA is “greater” than (RSTD + RSTC). 
The RSTC resets command agent, the RSTD resets data agent, the RSTA
resets all controller.  Please look at Figure 23-2 (enhanced Secure Digital Host
Controller (eSDHC) Block Diagram) of the i.MX25 Reference Manual.


Have a great day,
Yuri

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

0 Kudos

584 Views
aldobiziak
Contributor II

Thank you for your answer, but I need more information sorry.

What's RSTA do more than RSTD + RSTC ?

Reset all internal buffers of eSDHC? (IP  bus IF, internal Dual-Port Buffer RAM)

What about eSDHC clocks and eSDHC interrupt registers?


Additional infomation:

My question was born to fix "ENGcm07207" bug. The recommended work around is to use RSTA reset (see

http://www.freescale.com/docs/pcn_attachments/16200_IMX25CE_Rev7.pdf

)

But, sdhci linux kernel driver uses RSTD + RSTC instead of RSTA.

For that reason I need to know if RSTD + RSTC can fix "ENGcm07207" bug.

Regards

0 Kudos

584 Views
Yuri
NXP Employee
NXP Employee

  This is not mentioned in the i.MX25 Reference Manual, but I found the following

for some devices, based on the similar eSDHC IP  :

“Soft reset for data(SYSCTL[RSTD]) should not be issued when SD clock is disabled, that

is, when SYSCTL[SDCLKEN] is cleared. Instead, the host driver may issue soft reset for all

(SYSCTL[RSTA])”. The RSTA should be used for the ENGcm07207.

Regards,

Yuri.

0 Kudos