memory_depth


Description

Specifies the Memory Depth which is the maximum number of memory addresses to make available in the device.

Syntax

UInt64 memory_depth

Read

Gets the current Memory Depth.

Example

unsigned memoryDepth;
memoryDepth = dsm.memory_depth;

Write

Sets a new Memory Depth.

Example

dsm.memory_depth = 0x40000;

Notes

Memory Depth is a hardware limited setting. There are only nine available settings for Memory Depth:

Decimal Hex
16 10
64 40
256 100
1024 400
4096 1000
16384 4000
65536 10000
262144 40000
524288 80000

If the number of frequencies in your chirp is not equal to one of the nine above settings, you must set the Data Length using the data_length property.

When you set the memory_depth property, the page_memory_depth property will also be changed. Changing one will change the other. Also, please note that the total Memory Depth available is dependent on the number of pages. If you have configured the DSM to 1 page, then the maximum Memory Depth available per page will be 524288. If you have 2 pages enabled, then the maximum Memory Depth available per page is 262144. If you have 4 pages enabled, then the maximum Memory Depth will be 131072. Note that 131072 (Hex 20000) is not available as a Memory Depth setting. To get around this, you will have to set Memory Depth to 262144 and then set Data Length to 131072.