RegCalc - TI E2E Community by niusheng11

VIEWS: 0 PAGES: 7

									OMAP-L1x/C674x/AM1x mDDR/DDR2 Memory Controller Register Setting C
How to use: Only populate GREEN cells. Plug in memory data manual values into the "data manual value" colum
         You will need to install the "Analysis ToolPak" add-in from Excel. Go to Tools>Add-Ins and select Ana

                                                                     Data
                                                                    Manual
                Parameter            Description                    Value
         fDDR/mDDR_CLK (MHz) Memory clock frequency                     150
         tck (ns)            Memory clock period                       6.67
         MemType             Memory type: mDDR vs DDR2              DDR2

SDCR Configuration
        Data Bus Size            Valid values are 16 or 32               16
        CAS Latency              Valid values are 2-5                     5
        Number of Banks          Valid values are 1, 2, 4, and 8          8
                                 Valid values are 256, 512, 1024,
         Page Size               and 2048                              1024




SDRCR Configuration
                                 Average Periodic Refresh
         tREFI (us)              Interval                               7.8




SDTIMR1 Configuration
        tRFC (ns)                Refresh cycle time                   127.5
                                 Precharge command to refresh
         tRP (ns)                or activate command                    7.5
                                 Activate command to read/write
         tRCD (ns)               command                                 15
         tWR (ns)                Write recovery time                     15
         tRAS (ns)               Active to precharge command             40
                                 Activate to Activate command in
         tRC (ns)                the same bank                           55
                              Activate to Activate command in
         tRRD (ns)            a different bank                   10
         tWTR (ns)            Write to read command delay       7.5

SDTIMR2 Configuration
        tRAS(MAX) (us)        Active to precharge command        70
                              Exit power down to a non-read
         tXP (tCK cycles)     command                             2
                              Exit self refresh to a non-read
         tXSNR (ns)           command (for mDDR use tXSR)       138
                              Exit self refresh to a read
         tXSRD (tCK cycles)   command (for mDDR use tXSR)       200
                              Read to precharge command
                              delay (only required for DDR2,
         tRTP (ns)            for mDDR set this to 1)           7.5
         tCKE (tCK cycles)    CKE minimum pulse width             3


DRPYC1R Configuration
ontroller Register Setting Calculator
ues into the "data manual value" column, then select the remaining options for the register fields.
el. Go to Tools>Add-Ins and select Analysis ToolPak from the options.

                              Field       Field
            Register Field    Value       Value                     Register
               Name           (Dec)       (Hex)        Register      Value




                                                      SDCR        0x00134A32
           DDR2TERM1                  0           0
           IBANK_POS                  0           0
           MSDRAMEN                   0           0

           DDRDRIVE1                  0           0
           BOOTUNLOCK                 0           0
           DDR2DDQS                   0           0
           DDR2TERM0                  0           0
           DDR2EN                     1           1
           DDRDLL_DIS                 0           0
           DDRDRIVE0                  0           0
           DDREN                      1           1
           SDRAMEN                    1           1
           TIMING_UNLOCK              0           0
           NM                         1           1
           CL                         5           5
           IBANK                      3           3
           PAGESIZE                   2           2


                                                      SDRCR       0x00000492

           LPMODEN                  0          0
           MCLKSTOP_EN              0          0
           SR_PD                    0          0
           RR                    1170        492


                                                      SDTIMR1     0x26522A09
           T_RFC                   19         13

           T_RP                       1           1

           T_RCD                      2           2
           T_WR                       2           2
           T_RAS                      5           5

           T_RC                       8           8
T_RRD          1    1
T_WTR          1    1

                        SDTIMR2   0x3C14C722
T_RASMAX       7    7

T_XP           2    2

T_ODT          0    0

T_XSNR        20   14


T_XSRD       199   C7
T_RTP          1    1
T_CKE          2    2
                    0
                    0 DRPHYC1R 0x000000C6
EXT_STRBEN     1    1
RL             6    6
PWRDNEN        1    1
OMAP-L1x/C674x/AM1x mDDR/DDR2 Memory Controller Register Decode Calculato

How to use: Only populate GREEN cells. Plug in HEX register values with "0x" prefix and the DDR frequency into the top cells to see
Two sets of DDR values are decoded side-by-side for ease of comparing settings.
You will need to install the "Analysis ToolPak" add-in from Excel. Go to Tools>Add-Ins and select Analysis ToolPak from the options.


                  Register 1    Register 2 Freq 1 (MHz) Freq 2 (MHz)
     SDCR        0x00134A32    0x00134A32      150          400
    SDRCR        0x00000492    0x00000492
   SDTIMR1       0x26522A09    0x26522A09
   SDTIMR2       0x3C14C722    0x3C14C722
   DRPYC1R       0x000000C6    0x000000C6


  SDCR Field       Value 1       Value 2
         RSVD         0             0
  DDR2TERM1           0             0
   IBANK_POS          0             0
  MSDRAMEN            0             0
   DDRDRIVE1          0             0
 BOOTUNLOCK           0             0
   DDR2DDQS           0             0
  DDR2TERM0           0             0
      DDR2EN          1             1
  DDRDLL_DIS          0             0
   DDRDRIVE0          0             0
       DDREN          1             1
     SDRAMEN          1             1
  TIMUNLOCK           0             0
          NM          1             1
         RSVD         0             0
           CL         5             5
         RSVD         0             0
        IBANK         3             3
         RSVD         0             0
     PAGESIZE         2             2


 SDRCR Field       Value 1       Value 2     Time 1 (ns)    Time 2 (ns)
    LPMODEN           0             0
  MCLKSTOPEN          0             0
        RSVD          0             0
       SR_PD          0             0
        RSVD          0             0
          RR        1170          1170           7800.00        2925.00


SDTIMR1 Field      Value 1       Value 2     Time 1 (ns)    Time 2 (ns)
         T_RFC       19            19              133.33         50.00
          T_RP        1             1               13.33          5.00
         T_RCD        2             2               20.00          7.50
         T_WR         2             2               20.00          7.50
        T_RAS     5         5             40.00         15.00
         T_RC     8         8             60.00         22.50
       T_RRD      1         1             13.33          5.00
         RSVD     0         0
       T_WTR      1         1             13.33          5.00


SDTIMR2 Field   Value 1   Value 2   Time 1 (ns)   Time 2 (ns)
         RSVD      0         0
    T_RASMAX       7         7        62400.00      23400.00
         T_XP      2         2           20.00          7.50
        T_ODT      0         0
       T_XSNR     20        20          140.00          52.50
       T_XSRD    199       199         1333.33         500.00
        T_RTP      1         1           13.33           5.00
        T_CKE      2         2           20.00           7.50


  DRPYC1R       Value 1   Value 2
        RSVD       0         0
  EXT_STRBEN       1         1
   PWRDNEN         1         1
        RSVD       0         0
          RL       6         6
gister Decode Calculator

R frequency into the top cells to see the decoded register field settings.

 Analysis ToolPak from the options.

								
To top