13.17.8 Reference Oscillator x Trim
Note:
- REFOxTRIM must not be written when REFOxCON[ON] != REFOxCON[ACTIVE] – This will result in undefined behavior.
- This register can always be accessed regardless of the cfg_sys_unlock value.
Name: | REFOxTRIM |
Offset: | 0x80 + (x-1)*0x20 [x=1..6] |
Reset: | 0x00000000 |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
ROTRIM8 | ROTRIM7 | ROTRIM6 | ROTRIM5 | ROTRIM4 | ROTRIM3 | ROTRIM2 | ROTRIM1 | ||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
ROTRIM0 | |||||||||
Access | R/W | ||||||||
Reset | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
Access | |||||||||
Reset |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
Access | |||||||||
Reset |
Bits 23, 24, 25, 26, 27, 28, 29, 30, 31 – ROTRIM Trim bits – Provides fractional additive to RODIV value for 1/2 period of REFOx clock
Note: ROTRIM values greater than zero are only valid when RODIV values are greater
than 0.
Value | Description |
---|---|
0000_0000_0 | 0/512 (0.0) divisor added to RODIV value |
0000_0000_1 | 1/512 (0.001953125) divisor added to RODIV value |
0000_0001_0 | 2/512 (0.00390625) divisor added to RODIV value |
... | ... |
... | ... |
100000000 | 256/512 (0.5000) divisor added to RODIV value |
... | ... |
... | ... |
1111_1111_0 | 510/512 (0.99609375) divisor added to RODIV value |
1111_1111_1 | 511/512 (0.998046875) divisor added to RODIV value |