Hi Keita
1. yes only for data lines. Ssince processor buffers and delays are made identical
for data and cmd signals, so adjustment made for data lines will wotk for cmd line too
2.>When CMD and DATA signals have phase difference, does it have an influence to the tuning?
no.
>Does "tOP" get the value which depends on each DATA/CMD line?
what is "tOP" ?
3. procedure is described in SD 3.0 Part1 Physical Layer Specification sect.4.2.4.5.
SD host send the cmd19 and set the delay value(0-127)
and the sdcard return 64 bytes data. If the data is same with
the tuning data. The delay value is valid. Execute this commmand
128 times. And calculate the longest window of the valid values.
The value in the middle of this window is the best value.
Code example can be found on:
https://github.com/linksprite/u-boot-acadia1.0-beta/blob/master/u-boot-acadia1.0-beta/patches/0372-E...
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------