Timing Parameters For SDRAM with RT1176 MCU

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

Timing Parameters For SDRAM with RT1176 MCU

Jump to solution
770 Views
Wobaffet
Senior Contributor I

Hello,

We wanted to clarify some things regarding the configuration of SDRAM for the RT1176 MCU.

For the cm7_semc example on the RT1170-EVK SDK, the SDRAM tAct2Act parameter is configured as below;

    sdramconfig.tAct2Act_Ns            = 2; /* tRC/tRDD 2ns */

For the SDRAM on EVK, tRC given as below:

Wobaffet_0-1692953960619.png

tRDD value is not given on the datasheet for winbond, so how is it determined with 2ns?

Thank you in advance!

Best Regards.

 

0 Kudos
Reply
1 Solution
691 Views
iabdalkader
Contributor I

Those values could be wrong, in the datasheet the units for tWR/tRDD are in tCK units, so at 160MHz it should be ~12ns, which is more inline with parts from other manufacturers (for example AS4C4M16SA lists this value as 12ns). Note, older boards seem to have this value generated correctly, for example

EVKB1060:

sdramconfig.tWriteRecovery_Ns = 12; /* 12ns */

EVK1170:

sdramconfig.tWriteRecovery_Ns = 2; /* tWR 2ns */

 

View solution in original post

0 Kudos
Reply
2 Replies
692 Views
iabdalkader
Contributor I

Those values could be wrong, in the datasheet the units for tWR/tRDD are in tCK units, so at 160MHz it should be ~12ns, which is more inline with parts from other manufacturers (for example AS4C4M16SA lists this value as 12ns). Note, older boards seem to have this value generated correctly, for example

EVKB1060:

sdramconfig.tWriteRecovery_Ns = 12; /* 12ns */

EVK1170:

sdramconfig.tWriteRecovery_Ns = 2; /* tWR 2ns */

 

0 Kudos
Reply
755 Views
ramprakash09
Contributor II

Hi,

It look like you are trying to configure the SDRAM for the RT1176 MCU and you are unsure about the tAct2Act parameter. The tAct2Act parameter is typically determined by the SDRAM manufacturer and should be specified in the SDRAM datasheet. If the tRDD value is not given in the datasheet, it is usually safe to assume a value of 2ns, as this is a common value for many SDRAMs.

So It is important to note that this value can vary depending on the specific SDRAM being used. If the exact value is critical for your application, I would recommend reaching out to the SDRAM manufacturer directly for clarification.

Regards

0 Kudos
Reply