![]() |
|
||||||
|
| Index: Circuits & Layouts: Extension modules: RAM-module (32 kByte)... |
This module offers a 32 kByte RAM extension for the Experimenting Board II, build from a 62256 memory chip and a 74HC373 for the address logic. It can also be used a smaller and cheaper memory chip (6264).
If you take a close at the schematic you will notice that the address and data lines seem to be completely mixed up. This doesn't matter since the data gets written and read through the same lines and this way the mixed up lines don't have an influence on the result. While programming you don't need to pay attention to this matter. The i.e. at addess 0100h written data can be read from the same address. It doesn't matter at which physical the data is located in the RAM module. Through this possibility to mix up the lines almost as you like to the layout can be keep very easy. You can even set this up on a hole grid erection with only a few bridges.
Writing into the RAM module works through the "MOVX @Ri,A" and "MOVX @DPTR,A" commands whereas the register (Ri = R0 or R1) resp. the data pointer register (DPTR) contains the address of the byte that will be written into the external RAM module and the data of the accumulator (A) will be written into the RAM module at this address.
Reading looks similar. With the "MOVX A,@Ri" and "MOVX A,@DPTR" commands the data at the address that is given in the Ri resp. DPTR will be read and copied into the accumulator.
It is an example program available to use with the RAM module. It reads the input signals of a port every millisecond for a time of 32.768 seconds and saves the results into the RAM module. These saved signals can be read from the RAM module at a later time and be given out to a port.
| Download
schematic and layout (packed Eagle files, 11 KBytes) |
| Example
program (Data memory) (.asm file for Batronix Prog-Studio 6 software, 5 KBytes) |
| Datasheet
of 62256 (.pdf file, 144 KBytes) |
| Datasheet
of 6264 (.pdf-file, 239 KBytes) |
To download right-click the link and select "Save target as..." or "Save link as...". Otherwise your browser might display the PDF file directly in the browser window.
| Developed from: | Sascha Dräger |
| Suitable for Experimenting Board: | II (Version 1.1 or higher, because \WR and \RD of port 0 are needed!) |
| Attachable to extension port: | Port 0 and port 2 will be used. |
| Adjustments at DIP-switch: | No special adjustments necessary. XTAL 1 and XTAL 2 should be "ON" so the MC gets a tact signal. |
| Power consumption: | about 7 mA |
| Circuit board / Layout: | Relative simple layout. Optimized for set up on hole grid erection with only a few bridges. |
| Limitations: | Port pin 3.6 and 3.7 carry the \WR and \RD lines which are used for RAM activation. These lines are not allowed to be set to low-level through the software. |

. General...
. Simple
display module...
. 8
digit 7 segment display module...
.
Relay module...
. RS
232 module...
.
Flash Microcontroller Experimenting Board
I...
. Flash Microcontroller Experimenting
Board II...
. Flash Microcontroller Programmer I...
. Flash Microcontroller Programmer II...
. Prog-Studio 6
software...
|
FAQ | Shipping costs and time | References | Customer feedback | Privacy statement | Contact |
| Copyright 1999 - 2007 by Batronix Elektronik |