{"id":185,"date":"2009-01-12T07:14:50","date_gmt":"2009-01-12T05:14:50","guid":{"rendered":"http:\/\/dh5ym.hopto.org\/wiki\/?p=185"},"modified":"2009-01-12T07:14:50","modified_gmt":"2009-01-12T05:14:50","slug":"atmega8515-with-external-sram-memory","status":"publish","type":"post","link":"https:\/\/dh5ym.hopto.org\/wiki\/?p=185","title":{"rendered":"Atmega8515 with external SRAM memory"},"content":{"rendered":"<p>The Atmega8515 features a external memory interface that can be used to interface a external SRAM memory. The picture shows my Atmega8515 board with the<br \/>\naddon SRAM board. The small IC is a 74HC537 8-bit latch. The big one is a 128kByte SRAM memory. Only 64bit out of these can be addressed by the microcontroller. One thing that i found worth to notice is: The SRAM has two chip select inputs. The first is \/CS1 and the second is CS2. The aim is to use one select signal (without inverter) to distinguish between two memories. I thought it is enougth to use one of the inputs and let the second floating. This was a mistake that caused me some hours of hunting a failure of sporadic instabilities during memory access. ;) The memory access is only valid if \/CS1 is low and CS2 is high. I should read the datasheet before next time.<br \/>\nAt the moment the whole application runs with a 12MHz crystal and without inserting wait-cycles during memory access. Hence i have a 74AC537 high speed latch i will try to go to 18.432MHz again. Above 14MHz it should be necessary to insert a wait cycle for read and write since the memory latency becomes to large. If one needs the speed he might use a cache memory instead.<div id=\"attachment_187\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/dh5ym.hopto.org\/wiki\/?attachment_id=187\" rel=\"attachment wp-att-187\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-187\" src=\"..\/wiki\/wp-content\/uploads\/2009\/01\/dsc01739-300x225.jpg\" alt=\"74HC537 and 128kByte SRAM on top of 8515 eval board\" title=\"Atmega8515 with external memory board\" width=\"300\" height=\"225\" class=\"size-medium wp-image-187\" srcset=\"https:\/\/dh5ym.hopto.org\/wiki\/wp-content\/uploads\/2009\/01\/dsc01739-300x225.jpg 300w, https:\/\/dh5ym.hopto.org\/wiki\/wp-content\/uploads\/2009\/01\/dsc01739-1024x768.jpg 1024w, https:\/\/dh5ym.hopto.org\/wiki\/wp-content\/uploads\/2009\/01\/dsc01739-624x468.jpg 624w, https:\/\/dh5ym.hopto.org\/wiki\/wp-content\/uploads\/2009\/01\/dsc01739.jpg 2048w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-187\" class=\"wp-caption-text\">74HC537 and 128kByte SRAM on top of 8515 eval board<\/p><\/div> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Atmega8515 features a external memory interface that can be used to interface a external SRAM memory. The picture shows my Atmega8515 board with the addon SRAM board. The small IC is a 74HC537 8-bit latch. The big one is &hellip; <a href=\"https:\/\/dh5ym.hopto.org\/wiki\/?p=185\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-microcontroller"],"_links":{"self":[{"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=185"}],"version-history":[{"count":0,"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=\/wp\/v2\/posts\/185\/revisions"}],"wp:attachment":[{"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dh5ym.hopto.org\/wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}