Difference between revisions of "Diesel Version 5:CV 9"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
− | |title = NMRA CV | + | |title = NMRA CV 9 |
|header1 = PWM period | |header1 = PWM period | ||
|label2 = Range of Values | |label2 = Range of Values |
Latest revision as of 21:07, 27 September 2018
PWM period | |
---|---|
Range of Values | 0-255 |
Default Value | 0 |
NMRA CV 9 - Total PWM Period
THIS FEATURE IS NOT (YET) SUPPORTED BY THE WOWDIESEL V5
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