Difference between revisions of "Diesel Version 5:CV 9"

From Train Control Systems Documentation
Jump to navigation Jump to search
(Created page with "== NMRA CV 9 (Total PWM Period) == The value of CV#9 sets the nominal PWM period at the decoder output and therefore the frequency is proportional to the reciprocal of the val...")
 
Line 1: Line 1:
== NMRA CV 9 (Total PWM Period) ==
+
{{Infobox
The value of CV#9 sets the nominal PWM period at the decoder output and therefore the frequency is
+
|title = NMRA CV# 9
proportional to the reciprocal of the value. The recommend formula for PWM period should be: PWM period (uS) = (131 + MANTISSA x 4)x 2 EXP ,Where MANTISSA is in bits 0-4 bits of CV#9 (low order) and EXP is bits 5-7 for CV#9. If the value programmed into CV-9 falls outside a decoder's capability, it is suggested (but not required) that the decoder "adjust" the value to the appropriate highest or lowest setting supported by the decoder
+
|header1 = PWM period
 +
|label2 = Range of Values
 +
|data2 = 0-255
 +
|label3 = Default Value
 +
|data3 = 0
 +
}}
 +
 
 +
== NMRA CV 9 (PWM Period) ==
 +
The value of CV#9 sets the nominal PWM period at the decoder output and therefore the frequency is proportional to the reciprocal of the value. <br>
 +
The recommend formula for PWM period should be: <br><br>
 +
 
 +
PWM period (uS) = (131 + MANTISSA x 4)x 2 EXP<br><br>
 +
 
 +
Where MANTISSA is in bits 0-4 bits of CV#9 (low order) and EXP is bits 5-7 for CV#9. If the value programmed into CV-9 falls outside a decoder's capability, it is suggested (but not required) that the decoder "adjust" the value to the appropriate highest or lowest setting supported by the decoder

Revision as of 13:30, 23 May 2018

NMRA CV# 9
PWM period
Range of Values0-255
Default Value0

NMRA CV 9 (PWM Period)

The value of CV#9 sets the nominal PWM period at the decoder output and therefore the frequency is proportional to the reciprocal of the value.
The recommend formula for PWM period should be:

PWM period (uS) = (131 + MANTISSA x 4)x 2 EXP

Where MANTISSA is in bits 0-4 bits of CV#9 (low order) and EXP is bits 5-7 for CV#9. If the value programmed into CV-9 falls outside a decoder's capability, it is suggested (but not required) that the decoder "adjust" the value to the appropriate highest or lowest setting supported by the decoder