Diesel Version 5:CV 9: Difference between revisions
Jump to navigation
Jump to search
en>Dan Mycio No edit summary |
mNo edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox CV | ||
|cv name=Total PWM Period | |||
| | |cv range=0-255 | ||
|cv accepted=N/A | |||
| | |cv default=0 | ||
| | |||
| | |||
}} | }} | ||
== NMRA CV 9 - Total PWM Period == | == 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 value. <br> | 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> | The recommend formula for PWM period should be: <br><br> | ||
| Line 17: | Line 13: | ||
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 | 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 | ||
'''THIS FEATURE IS NOT CURRENTLY SUPPORTED''' | |||
[[Category:Standard CV]][[Category:Unsupported CV]] | |||
Latest revision as of 21:07, 16 July 2021
Lua error: Internal error: The interpreter exited with status 1.
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 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
THIS FEATURE IS NOT CURRENTLY SUPPORTED