📄 bsp_sdram_cfg.inc
字号:
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;
;//
;// Portions Copyright (c) Texas Instruments. All rights reserved.
;//
;//------------------------------------------------------------------------------
;//
;// File: bsp_sdram_cfg.inc
;//
;// This header file is comprised of SDRAM module register structure and
;// definitions.
;//------------------------------------------------------------------------------
; SDRC settings for SDR
;BSP_SDRC_MR_0_DISCRETE_VAL EQU 0x00000031
;BSP_SDRC_RFR_CTRL_0_VAL EQU 0x0002DA01 ;Changed
;BSP_SDRC_MCFG_0_VAL EQU 0x00D04010 ;Changed
;BSP_SDRC_MCFG_0_DISCRETE_VAL EQU 0x01702011
;
; DDR/NAND COMBO SDRC settings
;
BSP_SDRC_RESET_VAL1 EQU 0x00000012
BSP_SDRC_RESET_VAL2 EQU 0x00000010
BSP_SDRC_RESET_STATUS_MASK EQU 0x1
BSP_SDRC_MCFG_VAL EQU 0x00801011
BSP_SDRC_SHARING_VAL EQU 0x00000100
BSP_SDRC_MR_VAL EQU 0x00000032
BSP_SDRC_MANUAL_NOP_CMD EQU 0x00000000
BSP_SDRC_ACTIM_CTRLA_VAL EQU 0x5A59B485
BSP_SDRC_ACTIM_CTRLB_VAL EQU 0x0000000E
BSP_SDRC_RFR_CTRL_VAL EQU 0x0002DA01
BSP_SDRC_MANUAL_PRECHARGE_CMD EQU 0x00000001
BSP_SDRC_MANUAL_AUTOREFRESH_CMD EQU 0x00000002
BSP_SDRC_DLL_VAL1 EQU 0x00007306
BSP_SDRC_DLL_VAL2 EQU 0x0000730A
BSP_SDRC_PWR_SRFRONRESET_VAL EQU 0x80
BSP_SDRC_PWR_PGPOLICY_VAL EQU 0x01
BSP_SDRC_PWR_VAL EQU 0x81
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -