We need to add one SDRAM in our project on IMX RT1052,here comes a question since this is my first time to use SDRAM and I can't find the official explantion both on NXP and the SDRAM manufactor.The RT1052 has 13bit pin(A0-A12) address to allocate while the SDRAM we select just have 12bit pin (SA0--SA11), how should I connect them togerther. PS.The SDRAM we select is W9812G6JB from WinBond.
Have a look at the schematics for the EVK for the RT1052: https://www.nxp.com/webapp/Download?colCode=MIMXRT1050-EVK-DESIGNFILES-A1&appType=license
(more here: i.MX RT1050 Evaluation Kit|NXP )
(just a note, I would personally not select a SDRAM that has a datasheet that dates back to 2012. In my RT1062/1064 designs I use the same SDRAM as NXP uses on their EVK's, make things easier. But maybe you have good reasons to use the Winbond device)
Below is a snip of the schematic from one of my designs, its for RT1062/RT1064 but If I'm not mistaken, the 1052 is very similar, but please check carefully !?!
Ths. The EVK default use 256M SDRAM,so it need 13bit address pin and we just need 128M SDRAM considering cost and our application.While the common numbers of address pin in 128M SDRAM I have found are all 12bit with A0--A11 for row and A0-A8 for column.That's the confuse I have meet.