⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbmx1evb_init_axd.txt

📁 How to detect Battery voltage in DragonBall SZ platform
💻 TXT
字号:
comment ### Select CLKO mux to output HCLK(BCLK) ###
comment setmem 0x21B000 0x2F00AC03, 32

comment ### Change BCLK (CPUCLK) to 16MHz
comment setmem 0x21B000 0x2F009403, 32

comment ### Change BCLK (CPUCLK) to 24MHz
comment setmem 0x21B000 0x2F008C03, 32

comment ### Change BCLK (CPUCLK) to 32MHz
comment setmem 0x21B000 0x2F008803, 32

comment ### Change BCLK (CPUCLK) to 48MHz
setmem 0x21B000 0x2F008403, 32

comment ### Change BCLK (CPUCLK) to 96MHz
comment setmem 0x21B000 0x2F008003, 32

comment ### CS0 - boot flash, 32 wait states, 8-bit ###
setmem 0x220000 0x00002000, 32
setmem 0x220004 0x11110301, 32

comment ### CS1 - SRAM, 10 wait states, 32-bit ###
setmem 0x220008 0x00000A00, 32
setmem 0x22000C 0x11110601, 32

comment ### CS4 - External UART, 10 wait states, 8-bit ###
setmem 0x220020 0x00000A00, 32
setmem 0x220024 0x11110301, 32


comment ### SDRAM Init
comment ### Set Precharge Command
setmem 0x221000 0x91120200, 32
comment ### Issue Precharge all Command
mem    0x08200000, +4 32
comment ### Set AutoRefresh Command
setmem 0x221000 0xA1120200, 32
comment ### Issue AutoRefresh Command
mem    0x08000000, +4 32
mem    0x08000000, +4 32
mem    0x08000000, +4 32
mem    0x08000000, +4 32
mem    0x08000000, +4 32
mem    0x08000000, +4 32
mem    0x08000000, +4 32
mem    0x08000000, +4 32
comment ### Set Mode Register
setmem 0x221000 0xB1120200, 32
comment ### Issue Mode Register Command, Burst length = 8
mem    0x08111800, +4 32
comment ### Set to Normal MOde
setmem 0x221000 0x81124200, 32

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -