beautypg.com

Cv 17,18 extended address – SoundTraxx DSD-150/DSX Technical Reference User Manual

Page 13

background image

Address Mode

Direct Mode

Register Mode

Ops Mode Short Form

Paged Mode

Ops Mode Long Form

Digital Sound Decoder Technical Reference

13

CV 17,18
EXTENDED
ADDRESS

Description

CV 17 and 18 make up a ‘paired’ CV, meaning that the two CV registers taken together hold one piece of
data, in this case, the 14 bit extended decoder address:

CV 17 Extended Address MSB

bit 7

bit 0

A15

A14

A13

A12

A11

A10

A09

A08

CV 18 Extended Address LSB

bit 7

bit 0

A7

A6

A5

A4

A3

A2

A1

A0

A0-A15:

Extended Address Value

The extended address allows the decoder to be assigned one of 10,179 addresses ranging from 0xC000 to 0xE7FF
(Note however, that most command stations will only recognize addresses 0000 through 9999.). The extended
address will only be recognized by the decoder when CV 29, bit 5 is set to 1. Once this bit is set, the decoder will no
longer recognize its primary address until CV 29, bit 5 is cleared.

CV 17 contains the most significant byte and must be loaded with values within the range of 0xC0 and 0xE7. CV 18
contains the least significant byte and may contain any value.

To determine the extended address value, add the desired four digit address to the number 49152. Divide this
number by 256 and record the quotient and the remainder. CV 17 is then programmed with the quotient value and CV
18 is programmed with the remainder value.

Example: Compute CV 17 and 18 register values for extended address 7152.

1. Add 7152 to 49152: Sum = 56304.
2. Divide 56304 by 256: Quotient = 219 Remainder = 240
3. Program CV 17 to 219 (0xDB)
4. Program CV 18 to 240 (0xF0)

Note: Most command stations will handle these computations automatically when setting the extended address.
However, it’s still nice to know how to derive them.

Because CV 17 and 18 make up a paired CV, programming order is important. CV 17 must be written to first, followed
by a write CV 18. The decoder will ignore commands that attempt to program these register out of order or with
values outside the allowed range of 0xC000 to 0XE7FF

Note that these CVs cannot be changed in operations mode.

Default Value:

0xC003

Related CVs:

See also Primary Address, CV 29, Consist Address.

This manual is related to the following products: