Skip to main content
SOCQU
Associate II
Aug 27, 2026 2:31 PM UTC
Solved

NEGEDGE flag in DT

Dear ST team

Why does ST team add the “negedge” flag in DT  for the SDCARD timing initialization on ST eval DKs?

Sébastien

Erwan SZYMANSKI
Erwan SZYMANSKIBest answer
ST Technical Moderator
Aug 28, 2026 8:58 AM UTC

Hello ​@SOCQU ,
I think the NEGEDGE parameter was used in first driver implementation due to timing constraints on first designs using it. In normal conditions, this parameter should not have any impact on functional behavior, but can be necessary for very specific timing cases (you can refer to the Reference Manual to get more information on it).

Today, we could imagine removing it without any impact on the functional state.

By the way, this is mostly relevant on MMC DDR cases, and less important when we use DDR=0.

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

2 replies

Erwan SZYMANSKI
Erwan SZYMANSKIBest answer
ST Technical Moderator
Aug 28, 2026 8:58 AM UTC

Hello ​@SOCQU ,
I think the NEGEDGE parameter was used in first driver implementation due to timing constraints on first designs using it. In normal conditions, this parameter should not have any impact on functional behavior, but can be necessary for very specific timing cases (you can refer to the Reference Manual to get more information on it).

Today, we could imagine removing it without any impact on the functional state.

By the way, this is mostly relevant on MMC DDR cases, and less important when we use DDR=0.

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
SOCQU
SOCQUAuthor
Associate II
Aug 31, 2026 7:40 AM UTC

Dear Erwan

Thanks for your answser. We defined our DT based on DK2 and it confirms it may not be needed as I’ve understood. 


Sébastien