реклама на сайте
подробности

 
 
> lpc18xx и 8-бит SDRAM
slabnoff
сообщение Dec 24 2012, 09:53
Сообщение #1


Частый гость
**

Группа: Свой
Сообщений: 82
Регистрация: 26-09-05
Пользователь №: 8 955



Сейчас есть девайс с lpc2388, к нему привешено 512 килобайт статического ОЗУ. Из которых я реально активно пользую 128, остальные только программно переключая страницы, что несколько неудобно.
Возникла мысль сделать новую итерацию устройства, на lpc18xx или lpc43xx. Соответственно аппаратчик прорабатывая схему (в ответ на мои сетования по поводу страничной работы с внешним ОЗУ) предложил отказаться от статики и перейти на SDRAM. Компоновка платы плотная, поэтому крайне желательно уложиться в корпус 144 ноги, а не в 208.
А теперь соответственно вопрос: по документации в Features про EMC написано, что SDRAM 16-bit and 32-bit wide, но нам бы надо 8 бит (скорость в пределах разумного не важна, нужен тупо объем для буферирования, веб-сервера и прочей ерунды; а лишние 8 ног как раз помогут остаться в пределах корпуса 144 ног), и далее в описании регистра DYNAMICCONFIGx в описании address maping есть конфигурации 2Mx8 и т.п.. В общем я запутался, можно ли подцепить 8-битную SDRAM?

P.S. В lpc24xx вроде бы такой же EMC и в AN10771 есть такая интересная фраза "In the case of an 8-bit SDRAM memory, the data bus is 8-bit wide and D8-D15 should not be connected to the EMC."
P.P.S. Не пинайте сильно, я в первый раз SDRAM в МК сталкиваюсь.
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
slabnoff
сообщение Feb 20 2013, 11:28
Сообщение #2


Частый гость
**

Группа: Свой
Сообщений: 82
Регистрация: 26-09-05
Пользователь №: 8 955



Может кому пригодится. Ответ от саппорта:

Dear Andrew,

*** Question

We became necessary to connect 8-bit wide SDRAM to the lpc18xx. In the user manual (UM10430) there is a line (in description of EMC features) "16-bit and 32-bit wide chip select SDRAM memory support...", but at the same time in the register description for DYNAMICCONFIGx has a configuration "...16 Mb (2Mx8), 2 banks, row length = 11, column length = 9" and some others for 8-bit wide SDRAM. The document AN10771, which describes the use of a very similar memory controller for lpc2478 has a line "In the case of an 8-bit SDRAM memory, the data bus is 8-bit wide and D8-D15 should not be connected to the EMC".
Question: Is it possible to use an 8-bit SDRAM with lpc18xx?


*** Answer

No, an 8-bit SDRAM data bus is not supported.

8-bit devices can be used, but only when they are used to form a 16-bit data bus (two devices) or 32-bit data bus (four devices).
The entry in the DYNAMICCONFIGx register must be made for the single device. Example: If you use four 64MB 8-bit devices to form a 32-bit data bus, you select the "64 MB (8Mx8)" entry in the 32-bit bus section, and not the 256MB 32-bit one.

This was true already for the LPC2400 devices (indeed a similar EMC block), and therefore the comment in the appnote AN10771 is wrong.

Please let us know if this does not resolve your inquiry. Your ticket will remain closed if we do not hear from you.

Best Regards,
The NXP Technical Support Team
NXP Semiconductors
=========================================================
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 30th July 2025 - 05:38
Рейтинг@Mail.ru


Страница сгенерированна за 0.01419 секунд с 7
ELECTRONIX ©2004-2016