CubeMX SETUP
• The SDRAM มี 2 banks, Bank 1 and Bank 2.
• SDRAM1 (Bank 1) หรือ SDRAM2 (Bank 2) จะขึ้นอยู่กับบอร์ดที่คุณกำลังใช้. สำหรับผม, มันเป็น SDRAM1
• Clock and Chip Enable ถูกเซ็ตไปยัง SDCKE0+SDNE0 สำหรับ the Bank 1, และ SDCKE1+SDNE1 สำหรับ the Bank
2.
• ผมกำลังใช้ 4 internal Banks, ดังนั้นขนาดของ the RAM = 4*32 = 128 Mbits
• The ADDRESS เป็น 12 bits. ตรวจเช็ค the schematics สำหรับจำนวนของ address pins.
• The DATA เป็น 16 bits wide. ตรวจเช็ค the schematics สำหรับจำนวนของ data pins.