13.7.5 SDRAM controller registersSDRAM Control registers 1,2 (FMC_SDCR1,2)Address offset: 0x140+ 4* (x – 1), x = 1,2
Reset value: 0x0000 02D0
register นี้บรรจุ the control parameters สำหรับแต่ละ SDRAM memory bank

Bits 31:15 Reserved, must be kept at reset value.
Bits 14:13
RPIPE[1:0]: Read pipe
บิตเหล่านี้กำหนด the delay, เป็น HCLK clock cycles, สำหรับการอ่าน data หลังจาก CAS latency.
00: No HCLK clock cycle delay
01: One HCLK clock cycle delay
10: Two HCLK clock cycle delay
11: reserved.
Note: บิตที่ตรงกันใน the FMC_SDCR2 register ถูกอ่านได้เท่านั้น.Bit 12
RBURST: Burst read
บิตนี้เปิดใช้งาน Burst read mode. The SDRAM controller จะคาดการณ์ the next read commands ในระหว่าง the CAS
latency และเก็บ data ใน the Read FIFO.
0: single read requests ไม่ถูกจัดการเป็น bursts(การส่งข้อมูลเป็นชุดอย่างเร็ว)
1: single read requests ถูกจัดการเป็น bursts เสมอ
Note: บิตที่ตรงกันใน the FMC_SDCR2 register ไม่ต้องสนใจ.Bits 11:10
SDCLK[1:0]: SDRAM clock configuration
บิตเหล่านี้กำหนด the SDRAM clock period สำหรับทั้งสอง SDRAM banks และยอมให้ปิดใช้งาน the clock ก่อนการเปลี่ยน the
frequency. ในกรณีนี้ the SDRAM ต้องถูกเริ่มต้นใหม่.
00: SDCLK clock disabled
01: reserved
10: SDCLK period = 2 x HCLK periods
11: SDCLK period = 3 x HCLK periods
Note: บิตที่ตรงกันใน the FMC_SDCR2 register ไม่ต้องสนใจ.Bit 9
WP: Write protection
บิตนี้เปิดใช้งาน write mode access ไปยัง the SDRAM bank.
0: Write accesses ถูกอนุญาต
1: Write accesses ถูกเพิกเฉย
Bits 8:7
CAS[1:0]: CAS Latency
บิตนี้เซ็ต the SDRAM CAS latency เป็นจำนวนของ memory clock cycles
00: reserved.
01: 1 cycle
10: 2 cycles
11: 3 cycles
Bit 6
NB: Number of internal banks
บิตนี้เซ็ตจำนวนของ internal banks.
0: Two internal Banks
1: Four internal Banks
Bits 5:4
MWID[1:0]: Memory data bus width.
บิตเหล่านี้กำหนด the memory device width.
00: 8 bits
01: 16 bits
10: 32 bits
11: reserved.
Bits 3:2
NR[1:0]: Number of row address bits
บิตเหล่านี้กำหนดจำนวนของบิตของ a row address.
00: 11 bit
01: 12 bits
10: 13 bits
11: reserved.
Bits 1:0
NC[1:0]: Number of column address bits
บิตเหล่านี้กำหนดจำนวนของบิตของ a column address.
00: 8 bits
01: 9 bits
10: 10 bits
11: 11 bits.
Note: ก่อนการแก้ไข the RBURST or RPIPE การเซ็ตหรือการปิดใช้งาน the SDCLK clock, ก่อนอื่นผู้ใช้ต้องส่ง a PALL command
เพื่อให้แน่ใจว่าการทำงานที่กำลังดำเนินการอยู่เสร็จสมบูรณ์.