SWCU193 April 2023 CC2340R2 , CC2340R5 , CC2340R5-Q1
Table 6-4 lists the memory-mapped registers for the CKMD registers. All register offset addresses not listed in Table 6-4 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Section |
---|---|---|---|
0h | DESC | Description Register. | Go |
44h | IMASK | Interrupt mask. | Go |
48h | RIS | Raw interrupt status. | Go |
4Ch | MIS | Masked interrupt status. | Go |
50h | ISET | Interrupt set register. | Go |
54h | ICLR | Interrupt clear register. | Go |
58h | IMSET | Interrupt mask set register. | Go |
5Ch | IMCLR | Interrupt mask clear register. | Go |
80h | HFOSCCTL | Internal. Only to be used through TI provided API. | Go |
84h | HFXTCTL | High frequency crystal control | Go |
8Ch | LFOSCCTL | Low frequency oscillator control | Go |
90h | LFXTCTL | Low frequency crystal control | Go |
94h | LFQUALCTL | Low frequency clock qualification control | Go |
98h | LFINCCTL | Low frequency time increment control | Go |
9Ch | LFINCOVR | Low frequency time increment override control | Go |
A0h | AMPADCCTL | Internal. Only to be used through TI provided API. | Go |
A4h | HFTRACKCTL | High frequency tracking loop control | Go |
A8h | LDOCTL | Internal. Only to be used through TI provided API. | Go |
ACh | NABIASCTL | Nanoamp-bias control | Go |
B0h | LFMONCTL | Low-frequency clock-monitor control | Go |
C0h | LFCLKSEL | Low frequency clock selection | Go |
C4h | TDCCLKSEL | Internal. Only to be used through TI provided API. | Go |
C8h | ADCCLKSEL | ADC clock selection | Go |
E0h | LFCLKSTAT | Low-frequency clock status | Go |
E4h | HFXTSTAT | HFXT status information | Go |
E8h | AMPADCSTAT | Internal. Only to be used through TI provided API. | Go |
ECh | TRACKSTAT | HFOSC tracking loop status information | Go |
F0h | AMPSTAT | HFXT Amplitude Compensation Status | Go |
100h | ATBCTL0 | Internal. Only to be used through TI provided API. | Go |
104h | ATBCTL1 | Internal. Only to be used through TI provided API. | Go |
108h | DTBCTL | Digital test bus mux control | Go |
110h | TRIM0 | Internal. Only to be used through TI provided API. | Go |
114h | TRIM1 | Internal. Only to be used through TI provided API. | Go |
118h | HFXTINIT | Initial values for HFXT ramping | Go |
11Ch | HFXTTARG | Target values for HFXT ramping | Go |
120h | HFXTDYN | Alternative target values for HFXT configuration | Go |
124h | AMPCFG0 | Amplitude Compensation Configuration 0 | Go |
128h | AMPCFG1 | Amplitude Compensation Configuration 1 | Go |
12Ch | LOOPCFG | Configuration Register for the Tracking Loop | Go |
200h | TDCCTL | Internal. Only to be used through TI provided API. | Go |
204h | TDCSTAT | Internal. Only to be used through TI provided API. | Go |
208h | TDCRESULT | Internal. Only to be used through TI provided API. | Go |
20Ch | TDCSATCFG | Internal. Only to be used through TI provided API. | Go |
210h | TDCTRIGSRC | Internal. Only to be used through TI provided API. | Go |
214h | TDCTRIGCNT | Internal. Only to be used through TI provided API. | Go |
218h | TDCTRIGCNTLOAD | Internal. Only to be used through TI provided API. | Go |
21Ch | TDCTRIGCNTCFG | Internal. Only to be used through TI provided API. | Go |
220h | TDCPRECTL | Internal. Only to be used through TI provided API. | Go |
224h | TDCPRECNTR | Internal. Only to be used through TI provided API. | Go |
300h | WDTCNT | WDT counter value register | Go |
304h | WDTTEST | WDT test mode register | Go |
308h | WDTLOCK | WDT lock register | Go |
Complex bit access types are encoded to fit into small table cells. Table 6-5 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
Write Type | ||
W | W | Write |
Reset or Default Value | ||
-n | Value after reset or the default value |
DESC is shown in Table 6-6.
Return to the Summary Table.
Description Register.
This register provides IP module ID, revision information, instance index and standard MMR registers offset.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | MODID | R | 9B4Bh | Module identifier used to uniquely identify this IP. |
15-12 | STDIPOFF | R | 1h | Standard IP MMR block offset. Standard IP MMRs are the set of from aggregated IRQ registers till DTB. 0: Standard IP MMRs do not exist 0x1-0xF: Standard IP MMRs begin at offset of (64*STDIPOFF from the base IP address) NOTE: This IP does not have DTB as part of the Standard IP MMRs. It uses DTBCTL instead. |
11-8 | RESERVED | R | 0h | Reserved |
7-4 | MAJREV | R | 0h | Major revision of IP (0-15). |
3-0 | MINREV | R | 0h | Minor revision of IP (0-15). |
IMASK is shown in Table 6-7.
Return to the Summary Table.
Interrupt mask.
This register selects interrupt sources which are allowed to pass from RIS to MIS when the corresponding bit-fields are set to 1.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | Reserved |
17 | LFTICK | R/W | 0h | 32kHz TICK to RTC and WDT. Either derived from selected LFCLK or generated from CLKULL in absence of LFCLK. |
16 | LFGEARRSTRT | R/W | 0h | LFINC filter gearing restart. Indicates that the LFINC filter restarted gearing. Subsequent LFINC estimates may have higher variation. |
15 | AMPSETTLED | R/W | 0h | HFXT Amplitude compensation - settled Indicates that the amplitude compensation FSM has reached the SETTLED or TCXOMODE state, and the controls configured in HFXTTARG or HFXTDYN are reached. |
14 | AMPCTRLATTARG | R/W | 0h | HFXT Amplitude compensation - controls at target Indicates that the control values configured in HFXTTARG or HFXTDYN are reached. Applies to Q1CAP, Q2CAP and IREF. |
13 | PRELFEDGE | R/W | 0h | Pre-LF clock edge detect. Indicates that a positive edge occured on the selected pre-LF clock LFCLKSEL.PRE. Can be used by software to confirm that a LF clock source is running and within the expected frequency, before selecting it as the main LF clock source. |
12 | LFCLKLOSS | R/W | 0h | LF clock is lost. Indicates that no LF clock edge occured for ~49us (~1.6 times nominal period). The system will automatically fall-back to generating LFTICK based on CLKULL, to avoid timing corruption. Note that this signal is NOT related to the analog LF clock-loss detector which can reset the device during STANDBY. |
11 | LFCLKOOR | R/W | 0h | LF clock period out-of-range. Indicates that a LF clock period was measured to be out-of-range, according to LFQUALCTL.MAXERR. |
10 | LFCLKGOOD | R/W | 0h | LF clock good. Indicates that the LF clock is good, according to the configuration in LFQUALCTL. |
9 | LFINCUPD | R/W | 0h | LFINC updated. Indicates that a new LFINC measurement value is available in LFCLKSTAT.LFINC. |
8 | TDCDONE | R/W | 0h | TDC done event. Indicates that the TDC measurement is done. |
7 | ADCPEAKUPD | R/W | 0h | HFXT-ADC PEAK measurement update event. Indicates that the HFXT-ADC PEAK measurement is done. |
6 | ADCBIASUPD | R/W | 0h | HFXT-ADC BIAS measurement update event. Indicates that the HFXT-ADC BIAS measurement is done. |
5 | ADCCOMPUPD | R/W | 0h | HFXT-ADC comparison update event. Indicates that the HFXT-ADC comparison is done. |
4 | TRACKREFOOR | R/W | 0h | Out-of-range indication from the tracking loop. Indicates that the selected reference clock frequency of the tracking loop is out-of-range. |
3 | TRACKREFLOSS | R/W | 0h | Clock loss indication from the tracking loop. Indicates that the selected reference clock of the tracking loop is lost. |
2 | HFXTAMPGOOD | R/W | 0h | HFXT amplitude good indication. |
1 | HFXTFAULT | R/W | 0h | HFXT fault indication. Indicates that HFXT did not start correctly, or its frequency is too low. HFXT will not recover from this fault and has to be restarted. This is only a one-time check at HFXT startup. |
0 | HFXTGOOD | R/W | 0h | HFXT good indication. Indicates that HFXT started correctly. The frequency is not necessarily good enough for radio operation. This is only a one-time check at HFXT startup. |
RIS is shown in Table 6-8.
Return to the Summary Table.
Raw interrupt status.
This register reflects the state of all pending interrupts, regardless of masking. This register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the corresponding ICLR register bit.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | Reserved |
17 | LFTICK | R | 0h | 32kHz TICK to RTC and WDT. Either derived from selected LFCLK or generated from CLKULL in absence of LFCLK. |
16 | LFGEARRSTRT | R | 0h | LFINC filter gearing restart. Indicates that the LFINC filter restarted gearing. Subsequent LFINC estimates may have higher variation. |
15 | AMPSETTLED | R | 0h | HFXT Amplitude compensation - settled Indicates that the amplitude compensation FSM has reached the SETTLED or TCXOMODE state, and the controls configured in HFXTTARG or HFXTDYN are reached. |
14 | AMPCTRLATTARG | R | 0h | HFXT Amplitude compensation - controls at target Indicates that the control values configured in HFXTTARG or HFXTDYN are reached. Applies to Q1CAP, Q2CAP and IREF. |
13 | PRELFEDGE | R | 0h | Pre-LF clock edge detect. Indicates that a positive edge occured on the selected pre-LF clock LFCLKSEL.PRE. Can be used by software to confirm that a LF clock source is running and within the expected frequency, before selecting it as the main LF clock source. |
12 | LFCLKLOSS | R | 0h | LF clock is lost. Indicates that no LF clock edge occured for ~49us (~1.6 times nominal period). The system will automatically fall-back to generating LFTICK based on CLKULL, to avoid timing corruption. Note that this signal is NOT related to the analog LF clock-loss detector which can reset the device during STANDBY. |
11 | LFCLKOOR | R | 0h | LF clock period out-of-range. Indicates that a LF clock period was measured to be out-of-range, according to LFQUALCTL.MAXERR. |
10 | LFCLKGOOD | R | 0h | LF clock good. Indicates that the LF clock is good, according to the configuration in LFQUALCTL. |
9 | LFINCUPD | R | 0h | LFINC updated. Indicates that a new LFINC measurement value is available in LFCLKSTAT.LFINC. |
8 | TDCDONE | R | 0h | TDC done event. Indicates that the TDC measurement is done. |
7 | ADCPEAKUPD | R | 0h | HFXT-ADC PEAK measurement update event. Indicates that the HFXT-ADC PEAK measurement is done. |
6 | ADCBIASUPD | R | 0h | HFXT-ADC BIAS measurement update event. Indicates that the HFXT-ADC BIAS measurement is done. |
5 | ADCCOMPUPD | R | 0h | HFXT-ADC comparison update event. Indicates that the HFXT-ADC comparison is done. |
4 | TRACKREFOOR | R | 0h | Out-of-range indication from the tracking loop. Indicates that the selected reference clock frequency of the tracking loop is out-of-range. |
3 | TRACKREFLOSS | R | 0h | Clock loss indication from the tracking loop. Indicates that the selected reference clock of the tracking loop is lost. |
2 | HFXTAMPGOOD | R | 0h | HFXT amplitude good indication. |
1 | HFXTFAULT | R | 0h | HFXT fault indication. Indicates that HFXT did not start correctly, or its frequency is too low. HFXT will not recover from this fault and has to be restarted. This is only a one-time check at HFXT startup. |
0 | HFXTGOOD | R | 0h | HFXT good indication. Indicates that HFXT started correctly. The frequency is not necessarily good enough for radio operation. This is only a one-time check at HFXT startup. |
MIS is shown in Table 6-9.
Return to the Summary Table.
Masked interrupt status.
This register is simply a bitwise AND of the contents of IMASK and RIS.*] registers. A flag set in this register can be cleared by writing 1 to the corresponding ICLR register bit.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | Reserved |
17 | LFTICK | R | 0h | 32kHz TICK to RTC and WDT. Either derived from selected LFCLK or generated from CLKULL in absence of LFCLK. |
16 | LFGEARRSTRT | R | 0h | LFINC filter gearing restart. Indicates that the LFINC filter restarted gearing. Subsequent LFINC estimates may have higher variation. |
15 | AMPSETTLED | R | 0h | HFXT Amplitude compensation - settled Indicates that the amplitude compensation FSM has reached the SETTLED or TCXOMODE state, and the controls configured in HFXTTARG or HFXTDYN are reached. |
14 | AMPCTRLATTARG | R | 0h | HFXT Amplitude compensation - controls at target Indicates that the control values configured in HFXTTARG or HFXTDYN are reached. Applies to Q1CAP, Q2CAP and IREF. |
13 | PRELFEDGE | R | 0h | Pre-LF clock edge detect. Indicates that a positive edge occured on the selected pre-LF clock LFCLKSEL.PRE. Can be used by software to confirm that a LF clock source is running and within the expected frequency, before selecting it as the main LF clock source. |
12 | LFCLKLOSS | R | 0h | LF clock is lost. Indicates that no LF clock edge occured for ~49us (~1.6 times nominal period). The system will automatically fall-back to generating LFTICK based on CLKULL, to avoid timing corruption. Note that this signal is NOT related to the analog LF clock-loss detector which can reset the device during STANDBY. |
11 | LFCLKOOR | R | 0h | LF clock period out-of-range. Indicates that a LF clock period was measured to be out-of-range, according to LFQUALCTL.MAXERR. |
10 | LFCLKGOOD | R | 0h | LF clock good. Indicates that the LF clock is good, according to the configuration in LFQUALCTL. |
9 | LFINCUPD | R | 0h | LFINC updated. Indicates that a new LFINC measurement value is available in LFCLKSTAT.LFINC. |
8 | TDCDONE | R | 0h | TDC done event. Indicates that the TDC measurement is done. |
7 | ADCPEAKUPD | R | 0h | HFXT-ADC PEAK measurement update event. Indicates that the HFXT-ADC PEAK measurement is done. |
6 | ADCBIASUPD | R | 0h | HFXT-ADC BIAS measurement update event. Indicates that the HFXT-ADC BIAS measurement is done. |
5 | ADCCOMPUPD | R | 0h | HFXT-ADC comparison update event. Indicates that the HFXT-ADC comparison is done. |
4 | TRACKREFOOR | R | 0h | Out-of-range indication from the tracking loop. Indicates that the selected reference clock frequency of the tracking loop is out-of-range. |
3 | TRACKREFLOSS | R | 0h | Clock loss indication from the tracking loop. Indicates that the selected reference clock of the tracking loop is lost. |
2 | HFXTAMPGOOD | R | 0h | HFXT amplitude good indication. |
1 | HFXTFAULT | R | 0h | HFXT fault indication. Indicates that HFXT did not start correctly, or its frequency is too low. HFXT will not recover from this fault and has to be restarted. This is only a one-time check at HFXT startup. |
0 | HFXTGOOD | R | 0h | HFXT good indication. Indicates that HFXT started correctly. The frequency is not necessarily good enough for radio operation. This is only a one-time check at HFXT startup. |
ISET is shown in Table 6-10.
Return to the Summary Table.
Interrupt set register.
This register can used by software for diagnostics and safety checking purposes. Writing a 1 to a bit in this register will set the event and the corresponding RIS bit also gets set. If the corresponding IMASK bit is set, then the corresponding MIS register bit also gets set.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | Reserved |
17 | LFTICK | W | 0h | 32kHz TICK to RTC and WDT. Either derived from selected LFCLK or generated from CLKULL in absence of LFCLK. |
16 | LFGEARRSTRT | W | 0h | LFINC filter gearing restart. Indicates that the LFINC filter restarted gearing. Subsequent LFINC estimates may have higher variation. |
15 | AMPSETTLED | W | 0h | HFXT Amplitude compensation - settled Indicates that the amplitude compensation FSM has reached the SETTLED or TCXOMODE state, and the controls configured in HFXTTARG or HFXTDYN are reached. |
14 | AMPCTRLATTARG | W | 0h | HFXT Amplitude compensation - controls at target Indicates that the control values configured in HFXTTARG.Q1CAP, HFXTTARG.Q2CAP and HFXTTARG.IREF or HFXTDYN.Q1CAP, HFXTDYN.Q2CAP and HFXTDYN.IREF are reached. |
13 | PRELFEDGE | W | 0h | Pre-LF clock edge detect. Indicates that a positive edge occured on the selected pre-LF clock LFCLKSEL.PRE. Can be used by software to confirm that a LF clock source is running and within the expected frequency, before selecting it as the main LF clock source. |
12 | LFCLKLOSS | W | 0h | LF clock is lost. Indicates that no LF clock edge occured for ~49us (~1.6 times nominal period). The system will automatically fall-back to generating LFTICK based on CLKULL, to avoid timing corruption. Note that this signal is NOT related to the analog LF clock-loss detector which can reset the device during STANDBY. |
11 | LFCLKOOR | W | 0h | LF clock period out-of-range. Indicates that a LF clock period was measured to be out-of-range, according to LFQUALCTL.MAXERR. |
10 | LFCLKGOOD | W | 0h | LF clock good. Indicates that the LF clock is good, according to the configuration in LFQUALCTL. |
9 | LFINCUPD | W | 0h | LFINC updated. Indicates that a new LFINC measurement value is available in LFCLKSTAT.LFINC. |
8 | TDCDONE | W | 0h | TDC done event. Indicates that the TDC measurement is done. |
7 | ADCPEAKUPD | W | 0h | HFXT-ADC PEAK measurement update event. Indicates that the HFXT-ADC PEAK measurement is done. |
6 | ADCBIASUPD | W | 0h | HFXT-ADC BIAS measurement update event. Indicates that the HFXT-ADC BIAS measurement is done. |
5 | ADCCOMPUPD | W | 0h | HFXT-ADC comparison update event. Indicates that the HFXT-ADC comparison is done. |
4 | TRACKREFOOR | W | 0h | Out-of-range indication from the tracking loop. Indicates that the selected reference clock frequency of the tracking loop is out-of-range. |
3 | TRACKREFLOSS | W | 0h | Clock loss indication from the tracking loop. Indicates that the selected reference clock of the tracking loop is lost. |
2 | HFXTAMPGOOD | W | 0h | HFXT amplitude good indication. |
1 | HFXTFAULT | W | 0h | HFXT fault indication. Indicates that HFXT did not start correctly, or its frequency is too low. HFXT will not recover from this fault and has to be restarted. This is only a one-time check at HFXT startup. |
0 | HFXTGOOD | W | 0h | HFXT good indication. Indicates that HFXT started correctly. The frequency is not necessarily good enough for radio operation. This is only a one-time check at HFXT startup. |
ICLR is shown in Table 6-11.
Return to the Summary Table.
Interrupt clear register.
This register allows software to clear interrupts. Writing a 1 to a bit in this register will clear the event and the corresponding RIS bit also gets cleared. If the corresponding IMASK bit is set, then the corresponding MIS register bit also gets cleared.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | Reserved |
17 | LFTICK | W | 0h | 32kHz TICK to RTC and WDT. Either derived from selected LFCLK or generated from CLKULL in absence of LFCLK. |
16 | LFGEARRSTRT | W | 0h | LFINC filter gearing restart. Indicates that the LFINC filter restarted gearing. Subsequent LFINC estimates may have higher variation. |
15 | AMPSETTLED | W | 0h | HFXT Amplitude compensation - settled Indicates that the amplitude compensation FSM has reached the SETTLED or TCXOMODE state, and the controls configured in HFXTTARG or HFXTDYN are reached. |
14 | AMPCTRLATTARG | W | 0h | HFXT Amplitude compensation - controls at target Indicates that the control values configured in HFXTTARG or HFXTDYN are reached. Applies to Q1CAP, Q2CAP and IREF. |
13 | PRELFEDGE | W | 0h | Pre-LF clock edge detect. Indicates that a positive edge occured on the selected pre-LF clock LFCLKSEL.PRE. Can be used by software to confirm that a LF clock source is running and within the expected frequency, before selecting it as the main LF clock source. |
12 | LFCLKLOSS | W | 0h | LF clock is lost. Indicates that no LF clock edge occured for ~49us (~1.6 times nominal period). The system will automatically fall-back to generating LFTICK based on CLKULL, to avoid timing corruption. Note that this signal is NOT related to the analog LF clock-loss detector which can reset the device during STANDBY. |
11 | LFCLKOOR | W | 0h | LF clock period out-of-range. Indicates that a LF clock period was measured to be out-of-range, according to LFQUALCTL.MAXERR. |
10 | LFCLKGOOD | W | 0h | LF clock good. Indicates that the LF clock is good, according to the configuration in LFQUALCTL. |
9 | LFINCUPD | W | 0h | LFINC updated. Indicates that a new LFINC measurement value is available in LFCLKSTAT.LFINC. |
8 | TDCDONE | W | 0h | TDC done event. Indicates that the TDC measurement is done. |
7 | ADCPEAKUPD | W | 0h | HFXT-ADC PEAK measurement update event. Indicates that the HFXT-ADC PEAK measurement is done. |
6 | ADCBIASUPD | W | 0h | HFXT-ADC BIAS measurement update event. Indicates that the HFXT-ADC BIAS measurement is done. |
5 | ADCCOMPUPD | W | 0h | HFXT-ADC comparison update event. Indicates that the HFXT-ADC comparison is done. |
4 | TRACKREFOOR | W | 0h | Out-of-range indication from the tracking loop. Indicates that the selected reference clock frequency of the tracking loop is out-of-range. |
3 | TRACKREFLOSS | W | 0h | Clock loss indication from the tracking loop. Indicates that the selected reference clock of the tracking loop is lost. |
2 | HFXTAMPGOOD | W | 0h | HFXT amplitude good indication. |
1 | HFXTFAULT | W | 0h | HFXT fault indication. Indicates that HFXT did not start correctly, or its frequency is too low. HFXT will not recover from this fault and has to be restarted. This is only a one-time check at HFXT startup. |
0 | HFXTGOOD | W | 0h | HFXT good indication. Indicates that HFXT started correctly. The frequency is not necessarily good enough for radio operation. This is only a one-time check at HFXT startup. |
IMSET is shown in Table 6-12.
Return to the Summary Table.
Interrupt mask set register.
Writing a 1 to a bit in this register will set the corresponding IMASK bit.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | Reserved |
17 | LFTICK | W | 0h | 32kHz TICK to RTC and WDT. Either derived from selected LFCLK or generated from CLKULL in absence of LFCLK. |
16 | LFGEARRSTRT | W | 0h | LFINC filter gearing restart. Indicates that the LFINC filter restarted gearing. Subsequent LFINC estimates may have higher variation. |
15 | AMPSETTLED | W | 0h | HFXT Amplitude compensation - settled Indicates that the amplitude compensation FSM has reached the SETTLED or TCXOMODE state, and the controls configured in HFXTTARG or HFXTDYN are reached. |
14 | AMPCTRLATTARG | W | 0h | HFXT Amplitude compensation - controls at target Indicates that the control values configured in HFXTTARG or HFXTDYN are reached. Applies to Q1CAP, Q2CAP and IREF. |
13 | PRELFEDGE | W | 0h | Pre-LF clock edge detect. Indicates that a positive edge occured on the selected pre-LF clock LFCLKSEL.PRE. Can be used by software to confirm that a LF clock source is running and within the expected frequency, before selecting it as the main LF clock source. |
12 | LFCLKLOSS | W | 0h | LF clock is lost. Indicates that no LF clock edge occured for ~49us (~1.6 times nominal period). The system will automatically fall-back to generating LFTICK based on CLKULL, to avoid timing corruption. Note that this signal is NOT related to the analog LF clock-loss detector which can reset the device during STANDBY. |
11 | LFCLKOOR | W | 0h | LF clock period out-of-range. Indicates that a LF clock period was measured to be out-of-range, according to LFQUALCTL.MAXERR. |
10 | LFCLKGOOD | W | 0h | LF clock good. Indicates that the LF clock is good, according to the configuration in LFQUALCTL. |
9 | LFINCUPD | W | 0h | LFINC updated. Indicates that a new LFINC measurement value is available in LFCLKSTAT.LFINC. |
8 | TDCDONE | W | 0h | TDC done event. Indicates that the TDC measurement is done. |
7 | ADCPEAKUPD | W | 0h | HFXT-ADC PEAK measurement update event. Indicates that the HFXT-ADC PEAK measurement is done. |
6 | ADCBIASUPD | W | 0h | HFXT-ADC BIAS measurement update event. Indicates that the HFXT-ADC BIAS measurement is done. |
5 | ADCCOMPUPD | W | 0h | HFXT-ADC comparison update event. Indicates that the HFXT-ADC comparison is done. |
4 | TRACKREFOOR | W | 0h | Out-of-range indication from the tracking loop. Indicates that the selected reference clock frequency of the tracking loop is out-of-range. |
3 | TRACKREFLOSS | W | 0h | Clock loss indication from the tracking loop. Indicates that the selected reference clock of the tracking loop is lost. |
2 | HFXTAMPGOOD | W | 0h | HFXT amplitude good indication. |
1 | HFXTFAULT | W | 0h | HFXT fault indication. Indicates that HFXT did not start correctly, or its frequency is too low. HFXT will not recover from this fault and has to be restarted. This is only a one-time check at HFXT startup. |
0 | HFXTGOOD | W | 0h | HFXT good indication. Indicates that HFXT started correctly. The frequency is not necessarily good enough for radio operation. This is only a one-time check at HFXT startup. |
IMCLR is shown in Table 6-13.
Return to the Summary Table.
Interrupt mask clear register.
Writing a 1 to a bit in this register will clear the corresponding IMASK bit.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-18 | RESERVED | R | 0h | Reserved |
17 | LFTICK | W | 0h | 32kHz TICK to RTC and WDT. Either derived from selected LFCLK or generated from CLKULL in absence of LFCLK. |
16 | LFGEARRSTRT | W | 0h | LFINC filter gearing restart. Indicates that the LFINC filter restarted gearing. Subsequent LFINC estimates may have higher variation. |
15 | AMPSETTLED | W | 0h | HFXT Amplitude compensation - settled Indicates that the amplitude compensation FSM has reached the SETTLED or TCXOMODE state, and the controls configured in HFXTTARG or HFXTDYN are reached. |
14 | AMPCTRLATTARG | W | 0h | HFXT Amplitude compensation - controls at target Indicates that the control values configured in HFXTTARG or HFXTDYN are reached. Applies to Q1CAP, Q2CAP and IREF. |
13 | PRELFEDGE | W | 0h | Pre-LF clock edge detect. Indicates that a positive edge occured on the selected pre-LF clock LFCLKSEL.PRE. Can be used by software to confirm that a LF clock source is running and within the expected frequency, before selecting it as the main LF clock source. |
12 | LFCLKLOSS | W | 0h | LF clock is lost. Indicates that no LF clock edge occured for ~49us (~1.6 times nominal period). The system will automatically fall-back to generating LFTICK based on CLKULL, to avoid timing corruption. Note that this signal is NOT related to the analog LF clock-loss detector which can reset the device during STANDBY. |
11 | LFCLKOOR | W | 0h | LF clock period out-of-range. Indicates that a LF clock period was measured to be out-of-range, according to LFQUALCTL.MAXERR. |
10 | LFCLKGOOD | W | 0h | LF clock good. Indicates that the LF clock is good, according to the configuration in LFQUALCTL. |
9 | LFINCUPD | W | 0h | LFINC updated. Indicates that a new LFINC measurement value is available in LFCLKSTAT.LFINC. |
8 | TDCDONE | W | 0h | TDC done event. Indicates that the TDC measurement is done. |
7 | ADCPEAKUPD | W | 0h | HFXT-ADC PEAK measurement update event. Indicates that the HFXT-ADC PEAK measurement is done. |
6 | ADCBIASUPD | W | 0h | HFXT-ADC BIAS measurement update event. Indicates that the HFXT-ADC BIAS measurement is done. |
5 | ADCCOMPUPD | W | 0h | HFXT-ADC comparison update event. Indicates that the HFXT-ADC comparison is done. |
4 | TRACKREFOOR | W | 0h | Out-of-range indication from the tracking loop. Indicates that the selected reference clock frequency of the tracking loop is out-of-range. |
3 | TRACKREFLOSS | W | 0h | Clock loss indication from the tracking loop. Indicates that the selected reference clock of the tracking loop is lost. |
2 | HFXTAMPGOOD | W | 0h | HFXT amplitude good indication. |
1 | HFXTFAULT | W | 0h | HFXT fault indication. Indicates that HFXT did not start correctly, or its frequency is too low. HFXT will not recover from this fault and has to be restarted. This is only a one-time check at HFXT startup. |
0 | HFXTGOOD | W | 0h | HFXT good indication. Indicates that HFXT started correctly. The frequency is not necessarily good enough for radio operation. This is only a one-time check at HFXT startup. |
HFOSCCTL is shown in Table 6-14.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | PW | W | 0h | Internal. Only to be used through TI provided API. |
23-9 | RESERVED | R | 0h | Reserved |
8 | CLKSVTOVR | R/W | 0h | Internal. Only to be used through TI provided API. |
7-2 | RESERVED | R | 0h | Reserved |
1 | FORCEOFF | R/W | 0h | Internal. Only to be used through TI provided API. |
0 | QUALBYP | R/W | 0h | Internal. Only to be used through TI provided API. |
HFXTCTL is shown in Table 6-15.
Return to the Summary Table.
High frequency crystal control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | AMPOVR | R/W | 0h | Internal. Only to be used through TI provided API. |
30-27 | RESERVED | R | 0h | Reserved |
26 | BIASEN | R/W | 0h | Internal. Only to be used through TI provided API. |
25 | LPBUFEN | R/W | 0h | Internal. Only to be used through TI provided API. |
24 | INJECT | R/W | 0h | Internal. Only to be used through TI provided API. |
23 | QUALBYP | R/W | 0h | Internal. Only to be used through TI provided API. |
22-20 | RESERVED | R | 0h | Reserved |
19-8 | QUALDLY | R/W | 0h | Skip potentially unstable clock cycles after enabling HFXT. Number of cycles skipped is 8*QUALDLY. |
7 | TCXOMODE | R/W | 0h | Temperature compensated crystal oscillator mode. Set this bit if a TXCO is connected. |
6 | TCXOTYPE | R/W | 0h | Type of temperature compensated crystal used. Only has effect if TCXOMODE is set. 0h = Use with clipped-sine TCXO 1h = Use with CMOS TCXO |
5-3 | RESERVED | R | 0h | Reserved |
2 | AUTOEN | R/W | 0h | Internal. Only to be used through TI provided API. |
1 | HPBUFEN | R/W | 0h | High performance clock buffer enable. This bit controls the clock output for the RF PLL. It is required for radio operation. |
0 | EN | R/W | 0h | Internal. Only to be used through TI provided API. |
LFOSCCTL is shown in Table 6-16.
Return to the Summary Table.
Low frequency oscillator control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EN | R/W | 0h | LFOSC enable |
LFXTCTL is shown in Table 6-17.
Return to the Summary Table.
Low frequency crystal control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-15 | RESERVED | R | 0h | Reserved |
14-13 | LEAKCOMP | R/W | 0h | Leakage compensation control
0h = Full leakage compensation 1h = Half leakage compensation 3h = No leakage compensation |
12 | BUFBIAS | R/W | 0h | Control the BIAS current of the input amp in LP buffer
0h = Minimum bias current: 25nA 1h = Maximum bias current: 50nA |
11-8 | AMPBIAS | R/W | 0h | Adjust current mirror ratio into oscillator core. This value is depending on crystal and is set by FW. This field uses a 2's complement encoding. |
7-6 | BIASBOOST | R/W | 0h | Boost oscillator amplitude This value depends on the crystal and needs to be configured by Firmware. |
5-4 | REGBIAS | R/W | 0h | Regulation loop bias resistor value This value depends on the crystal and needs to be configured by Firmware. |
3 | RESERVED | R | 0h | Reserved |
2 | HPBUFEN | R/W | 0h | Control the buffer used. In normal operation, low-power buffer is used in all device modes. The high-performance buffer is only used for test purposes. |
1 | AMPREGMODE | R/W | 0h | Amplitude regulation mode
0h = Amplitude control loop enabled 1h = Amplitude control loop disabled |
0 | EN | R/W | 0h | LFXT enable |
LFQUALCTL is shown in Table 6-18.
Return to the Summary Table.
Low frequency clock qualification control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-14 | RESERVED | R | 0h | Reserved |
13-8 | MAXERR | R/W | 20h | Maximum LFCLK period error. Value given in microseconds, 3 integer bits + 3 fractional bits. |
7-0 | CONSEC | R/W | 64h | Number of consecutive times the LFCLK period error has to be smaller than MAXERR to be considered "good". Setting this value to 0 will bypass clock qualification, and the "good" indicator will always be 1. |
LFINCCTL is shown in Table 6-19.
Return to the Summary Table.
Low frequency time increment control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | PREVENTSTBY | R/W | 1h | Controls if the LFINC filter prevents STANBY entry until settled.
0h = Disable. Do not prevent STANDBY entry. 1h = Enable. Prevent STANDBY entry. |
30 | RESERVED | R | 0h | Reserved |
29-8 | INT | R/W | 001E8480h | Integral part of the LFINC filter. This value is updated by Hardware to reflect the current state of the filter. It can also be written to change the current state. |
7 | STOPGEAR | R/W | 0h | Controls the final gear of the LFINC filter.
0h = Lowest final gear. Best settling, but less dynamic frequency tracking. 1h = Highest final gear. Best dynamic frequency tracking, but higher variation in filter value. |
6-5 | ERRTHR | R/W | 0h | Controls the threshold for gearing restart of the LFINC filter. Only effective if GEARRSTRT is not ONETHR or TWOTHR. 0h = Restart gearing on large error. Fewer false restarts, slower response on small frequency shifts. 1h = Middle value towards LARGE. 2h = Middle value towards SMALL. 3h = Restart gearing on small error. Potentially more false restarts, faster response on small frequency shifts. |
4-3 | GEARRSTRT | R/W | 2h | Controls gearing restart of the LFINC filter.
0h = Never restart gearing. Very stable filter value, but very slow response on frequency changes. 1h = Restart gearing when the error accumulator crosses the threshold once. 2h = Restart gearing when the error accumulator crosses the threshold twice in a row. |
2 | SOFTRSTRT | R/W | 1h | Use a higher gear after re-enabling / wakeup. The filter will require 16-24 LFCLK periods to settle (depending on STOPGEAR), but may respond faster to frequency changes during STANDBY. 0h = Don't use soft gearing restarts 1h = Use soft gearing restarts |
1-0 | RESERVED | R | 0h | Reserved |
LFINCOVR is shown in Table 6-20.
Return to the Summary Table.
Low frequency time increment override control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | OVERRIDE | R/W | 0h | Override LF increment Use the value provided in LFINC instead of the value calculated by Hardware. |
30-22 | RESERVED | R | 0h | Reserved |
21-0 | LFINC | R/W | 0h | LF increment value This value is used when OVERRIDE is set to 1. Otherwise the value is calculated automatically. |
AMPADCCTL is shown in Table 6-21.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | SWOVR | R/W | 0h | Internal. Only to be used through TI provided API. |
30-18 | RESERVED | R | 0h | Reserved |
17 | PEAKDETEN | R/W | 0h | Internal. Only to be used through TI provided API. |
16 | ADCEN | R/W | 0h | Internal. Only to be used through TI provided API. |
15 | RESERVED | R | 0h | Reserved |
14-8 | COMPVAL | R/W | 0h | Internal. Only to be used through TI provided API. |
7-5 | RESERVED | R | 0h | Reserved |
4 | SRCSEL | R/W | 0h | Internal. Only to be used through TI provided API. |
3-2 | RESERVED | R | 0h | Reserved |
1 | COMPSTRT | R/W | 0h | Internal. Only to be used through TI provided API. |
0 | SARSTRT | R/W | 0h | Internal. Only to be used through TI provided API. |
HFTRACKCTL is shown in Table 6-22.
Return to the Summary Table.
High frequency tracking loop control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | EN | R/W | 0h | Enable tracking loop. |
30 | DSMBYP | R/W | 0h | Bypass Delta-Sigma-Modulation of fine trim. |
29-28 | RESERVED | R | 0h | Reserved |
27-26 | REFCLK | R/W | 0h | Select the reference clock for the tracking loop. Change only while the tracking loop is disabled. 0h = Select HFXT as reference clock. 1h = Select LRF reference clock. 2h = Select GPI as reference clock. |
25-0 | RATIO | R/W | 00400000h | Reference clock ratio. RATIO = 24MHz / (2*reference-frequency) * 224 Commonly used reference clock frequencies are provided as enumerations. 00400000h = Use for 48MHz reference clock 01800000h = Use for 8MHz reference clock 03000000h = Use for 4MHz reference clock |
LDOCTL is shown in Table 6-23.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | SWOVR | R/W | 0h | Internal. Only to be used through TI provided API. |
30-5 | RESERVED | R | 0h | Reserved |
4 | HFXTLVLEN | R/W | 0h | Internal. Only to be used through TI provided API. |
3 | STARTCTL | R/W | 0h | Internal. Only to be used through TI provided API. |
2 | START | R/W | 0h | Internal. Only to be used through TI provided API. |
1 | BYPASS | R/W | 0h | Internal. Only to be used through TI provided API. |
0 | EN | R/W | 0h | Internal. Only to be used through TI provided API. |
NABIASCTL is shown in Table 6-24.
Return to the Summary Table.
Nanoamp-bias control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EN | R/W | 0h | Enable nanoamp-bias |
LFMONCTL is shown in Table 6-25.
Return to the Summary Table.
Low-frequency clock-monitor control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EN | R/W | 0h | Enable LFMONITOR. Enable only after a LF clock source has been selected, enabled and is stable. If LFMONITOR detects a clock loss, the system will be reset. |
LFCLKSEL is shown in Table 6-26.
Return to the Summary Table.
Low frequency clock selection
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-4 | RESERVED | R | 0h | Reserved |
3-2 | PRE | R/W | 0h | Select low frequency clock source for the PRELFCLK interrupt. Can be used by Software to confirm that the clock is running and it's frequency is good, before selecting it in MAIN. 0h = No clock. Output will be tied low. 1h = Low frequency on-chip oscillator 2h = Low frequency crystal oscillator 3h = External LF clock through GPI. |
1-0 | MAIN | R/W | 0h | Select the main low frequency clock source. If running, this clock will be used to generate LFTICK and as CLKULL during STANDBY. If not running, LFTICK will be generated from HFOSC and STANDBY entry will be prevented. 0h = No LF clock selected. LFTICK will be generated from HFOSC, STANDBY entry will be prevented. 1h = Low frequency on-chip oscillator 2h = Low frequency crystal oscillator 3h = External LF clock through GPI. |
TDCCLKSEL is shown in Table 6-27.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | Reserved |
1-0 | REFCLK | R/W | 0h | Internal. Only to be used through TI provided API. |
ADCCLKSEL is shown in Table 6-28.
Return to the Summary Table.
ADC clock selection
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | Reserved |
1-0 | SRC | R/W | 0h | Select ADC clock source Change only while ADC is disabled. 0h = 48MHz CLKSVT 1h = 48MHz HFXT |
LFCLKSTAT is shown in Table 6-29.
Return to the Summary Table.
Low-frequency clock status
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | GOOD | R | 0h | Low frequency clock good Note: This is only a coarse frequency check based on LFQUALCTL. The clock may not be accurate enough for timing purposes. |
30-26 | RESERVED | R | 0h | Reserved |
25 | FLTSETTLED | R | 0h | LFINC filter is running and settled. |
24 | LFTICKSRC | R | 0h | Source of LFTICK.
0h = LFTICK generated from the selected LFCLK 1h = LFTICK generated from CLKULL (LFCLK not available) |
23-22 | LFINCSRC | R | 0h | Source of LFINC used by the RTC. This value depends on LFINCOVR.OVERRIDE, LF clock availability, HF tracking loop status and the device state (ACTIVE/STANDBY). 0h = Using measured value. This value is updated by hardware and can be read from LFINC. 1h = Using filtered / average value. This value is updated by hardware and can be read and updated in LFINCCTL.INT. 2h = Using override value from LFINCOVR.LFINC 3h = Using FAKE LFTICKs with corresponding LFINC value. |
21-0 | LFINC | R | 0h | Measured value of LFINC. Given in microseconds with 16 fractional bits. This value is calculated by Hardware. It is the LFCLK period according to CLKULL cycles. |
HFXTSTAT is shown in Table 6-30.
Return to the Summary Table.
HFXT status information
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | RESERVED | R | 0h | Reserved |
30-16 | STARTUPTIME | R | 0h | HFXT startup time Can be used by software to plan starting HFXT ahead in time. Measured whenever HFXT is enabled in CLKULL periods (24MHz), from HFXTCTL.EN until the clock is good for radio operation (amplitude compensation is settled). |
15-2 | RESERVED | R | 0h | Reserved |
1 | FAULT | R | 0h | HFXT clock fault Indicates a lower than expected HFXT frequency. HFXT will not recover from this fault, disabling and re-enabling HFXT is required. |
0 | GOOD | R | 0h | HFXT clock available. The frequency is not necessarily good enough for radio operation. |
AMPADCSTAT is shown in Table 6-31.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-25 | RESERVED | R | 0h | Reserved |
24 | COMPOUT | R | 0h | Internal. Only to be used through TI provided API. |
23 | RESERVED | R | 0h | Reserved |
22-16 | PEAKRAW | R | 0h | Internal. Only to be used through TI provided API. |
15-8 | PEAK | R | 0h | Internal. Only to be used through TI provided API. |
7 | RESERVED | R | 0h | Reserved |
6-0 | BIAS | R | 0h | Internal. Only to be used through TI provided API. |
TRACKSTAT is shown in Table 6-32.
Return to the Summary Table.
HFOSC tracking loop status information
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | LOOPERRVLD | R | 0h | Current HFOSC tracking error valid This bit is one if the tracking loop is running and the error value is valid. |
30 | RESERVED | R | 0h | Reserved |
29-16 | LOOPERR | R | 0h | Current HFOSC tracking error |
15-13 | RESERVED | R | 0h | Reserved |
12-0 | FINETRIM | R | 0h | Current HFOSC Fine-trim value This field uses the internal fractional representation (sign, 4 integer bits, 8 fractional bits). The actual trim value applied to the oscillator is delta-sigma modulated 5 bits non-signed (inverted sign bit + integer bits). |
AMPSTAT is shown in Table 6-33.
Return to the Summary Table.
HFXT Amplitude Compensation Status
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-29 | RESERVED | R | 0h | Reserved |
28-25 | STATE | R | 0h | Current AMPCOMP FSM state.
0h = FSM in idle state 1h = Starting LDO 2h = Second shutdown state 3h = Injecting HFOSC for fast startup 4h = Transition to HFXTTARG values 5h = Initial amplitude ramping with HFXTINIT values 6h = Amplitude down correction 7h = Post injection settle wait Ah = First shutdown state Ch = TCXO settled state Eh = Amplitude up correction Fh = Settled state |
24-18 | IDAC | R | 0h | Current IDAC control value. |
17-14 | IREF | R | 0h | Current IREF control value. |
13-8 | Q2CAP | R | 0h | Current Q2CAP control value. |
7-2 | Q1CAP | R | 0h | Current Q1CAP control value. |
1 | CTRLATTARGET | R | 0h | HFXT control values match target values. This applies to IREF, Q1CAP, Q2CAP values. |
0 | AMPGOOD | R | 0h | HFXT amplitude good |
ATBCTL0 is shown in Table 6-34.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-19 | RESERVED | R | 0h | Reserved |
18-0 | SEL | R/W | 0h | Internal. Only to be used through TI provided API. |
ATBCTL1 is shown in Table 6-35.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-15 | RESERVED | R | 0h | Reserved |
14-13 | LFOSC | R/W | 0h | Internal. Only to be used through TI provided API. |
12 | NABIAS | R/W | 0h | Internal. Only to be used through TI provided API. |
11 | RESERVED | R | 0h | Reserved |
10 | LFXT | R/W | 0h | Internal. Only to be used through TI provided API. |
9-8 | LFMON | R/W | 0h | Internal. Only to be used through TI provided API. |
7 | HFXT | R/W | 0h | Internal. Only to be used through TI provided API. |
6-1 | RESERVED | R | 0h | Reserved |
0 | HFOSC | R/W | 0h | Internal. Only to be used through TI provided API. |
DTBCTL is shown in Table 6-36.
Return to the Summary Table.
Digital test bus mux control
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-23 | RESERVED | R | 0h | Reserved |
22-18 | DSEL2 | R/W | 0h | Internal. Only to be used through TI provided API. |
17-13 | DSEL1 | R/W | 0h | Internal. Only to be used through TI provided API. |
12-8 | DSEL0 | R/W | 0h | Internal. Only to be used through TI provided API. |
7-4 | CLKSEL | R/W | 0h | Select clock to output on DTB[0]
0h = Select CLKULL (24 MHz during ACTIVE, 32kHz during STANDBY) 1h = Select CLKSVT (48 MHz) 2h = Select CLKADC (48 MHz) 4h = Select tracking loop reference clock 7h = Select LFCLK (selected by LFCLKSEL.MAIN) Ah = Select HFOSC after qualification Ch = Select HFXT divided by 8 Dh = Select HFXT Eh = Select LFOSC Fh = Select LFXT |
3-1 | RESERVED | R | 0h | Reserved |
0 | EN | R/W | 0h | Enable DTB output |
TRIM0 is shown in Table 6-37.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-9 | RESERVED | R | 0h | Reserved |
8-5 | HFOSC_CAP | R/W | 0h | Internal. Only to be used through TI provided API. |
4-0 | HFOSC_COARSE | R/W | 0h | Internal. Only to be used through TI provided API. |
TRIM1 is shown in Table 6-38.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | HFXTSLICER | R/W | 0h | Internal. Only to be used through TI provided API. |
29-28 | PEAKIBIAS | R/W | 0h | Internal. Only to be used through TI provided API. |
27 | NABIAS_UDIGLDO | R/W | 0h | Internal. Only to be used through TI provided API. |
26-24 | LDOBW | R/W | 0h | Internal. Only to be used through TI provided API. |
23-20 | LDOFB | R/W | 6h | Internal. Only to be used through TI provided API. |
19-16 | LFDLY | R/W | Fh | Internal. Only to be used through TI provided API. |
15 | NABIAS_LFOSC | R/W | 1h | Internal. Only to be used through TI provided API. |
14-8 | NABIAS_RES | R/W | 14h | Internal. Only to be used through TI provided API. |
7-0 | LFOSC_CAP | R/W | D6h | Internal. Only to be used through TI provided API. |
HFXTINIT is shown in Table 6-39.
Return to the Summary Table.
Initial values for HFXT ramping
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | RESERVED | R | 0h | Reserved |
29-23 | AMPTHR | R/W | 28h | Amplitude threshold during HFXT ramping |
22-16 | IDAC | R/W | 7Fh | Initial HFXT IDAC current |
15-12 | IREF | R/W | 8h | Initial HFXT IREF current |
11-6 | Q2CAP | R/W | 0h | Initial HFXT Q2 cap trim |
5-0 | Q1CAP | R/W | 0h | Initial HFXT Q1 cap trim |
HFXTTARG is shown in Table 6-40.
Return to the Summary Table.
Target values for HFXT ramping
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | AMPHYST | R/W | 1h | ADC hysteresis used during IDAC updates. Every AMPCFG1.INTERVAL, IDAC will be regulated - up as long as ADC < AMPTHR - down as long as ADC > AMPTHR+AMPHYST |
29-23 | AMPTHR | R/W | 28h | Minimum HFXT amplitude |
22-16 | IDAC | R/W | 46h | Minimum IDAC current |
15-12 | IREF | R/W | 4h | Target HFXT IREF current |
11-6 | Q2CAP | R/W | 2Dh | Target HFXT Q2 cap trim |
5-0 | Q1CAP | R/W | 2Dh | Target HFXT Q1 cap trim |
HFXTDYN is shown in Table 6-41.
Return to the Summary Table.
Alternative target values for HFXT configuration
Software can change these values to dynamically transition the HFXT configuration while HFXT is running.
Set SEL to select the alternative set of target values.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | SEL | R/W | 0h | Select the dynamic configuration. Amplitude ramping will always happen using the values in HFXTINIT, and HFXTTARG. Afterwards, this bit can be used to select between HFXTTARG and HFXTDYN. Hardware will ensure a smooth transition of analog control signals. 0h = Select configuration in HFXTTARG. 1h = Select configuration in HFXTDYN. |
30 | RESERVED | R | 0h | Reserved |
29-23 | AMPTHR | R/W | 28h | Minimum HFXT amplitude |
22-16 | IDAC | R/W | 46h | Minimum IDAC current |
15-12 | IREF | R/W | 4h | Target HFXT IREF current |
11-6 | Q2CAP | R/W | 2Dh | Target HFXT Q2 cap trim |
5-0 | Q1CAP | R/W | 2Dh | Target HFXT Q1 cap trim |
AMPCFG0 is shown in Table 6-42.
Return to the Summary Table.
Amplitude Compensation Configuration 0
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | Q2DLY | R/W | 0h | Q2CAP change delay. Number of clock cycles to wait before changing Q2CAP by one step. Clock frequency defined in FSMRATE. |
27-24 | Q1DLY | R/W | 0h | Q1CAP change delay. Number of clock cycles to wait before changing Q1CAP by one step. Clock frequency defined in FSMRATE. |
23-20 | ADCDLY | R/W | 3h | ADC and PEAKDET startup time. Number of clock cycles to wait after enabling the PEAKDET and ADC before the first measurement. Clock frequency defined in FSMRATE. |
19-15 | LDOSTART | R/W | 9h | LDO startup time. Number of clock cycles to bypass the LDO resistors for faster startup. Clock frequency defined in FSMRATE. |
14-10 | INJWAIT | R/W | 2h | Inject HFOSC for faster HFXT startup. This value specifies the number of clock cycles to wait after injection is done. The clock speed is defined in FSMRATE. |
9-5 | INJTIME | R/W | 4h | Inject HFOSC for faster HFXT startup. This value specifies the number of clock cycles the injection is enabled. The clock speed is defined in FSMRATE. Set to 0 to disable injection. |
4-0 | FSMRATE | R/W | 2h | Update rate for the AMPCOMP update rate. Also affects the clock rate for the Amplitude ADC. The update rate is 6MHz / (FSMRATE+1). 0h = 6 MHz 1h = 3 MHz 2h = 2 MHz 5h = 1 MHz Bh = 500 kHz 17h = 250 kHz |
AMPCFG1 is shown in Table 6-43.
Return to the Summary Table.
Amplitude Compensation Configuration 1
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | IDACDLY | R/W | 2h | IDAC change delay. Time to wait before changing IDAC by one step. This time needs to be long enough for the crystal to settle. The number of clock cycles to wait is IDACDLY<<4 + 15. Clock frequency defined in AMPCFG0.FSMRATE. |
27-24 | IREFDLY | R/W | 6h | IREF change delay. Number of clock cycles to wait before changing IREF by one step. Clock frequency defined in AMPCFG0.FSMRATE. |
23-12 | BIASLT | R/W | FFh | Lifetime of the amplitude ADC bias value. This value specifies the number of adjustment intervals, until the ADC bias value has to be measured again. Set to 0 to disable automatic bias measurements. |
11-0 | INTERVAL | R/W | FFh | Interval for amplitude adjustments. Set to 0 to disable periodic adjustments. This value specifies the number of clock cycles between adjustments. The clock speed is defined in AMPCFG0.FSMRATE. |
LOOPCFG is shown in Table 6-44.
Return to the Summary Table.
Configuration Register for the Tracking Loop
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-26 | FINETRIM_INIT | R/W | 18h | Initial value for the resistor fine trim |
25-21 | BOOST_TARGET | R/W | 2h | Number of error-updates using BOOST values, before using KI/KP |
20-18 | KP_BOOST | R/W | 7h | Proportional loop coefficient during BOOST |
17-15 | KI_BOOST | R/W | 4h | Integral loop coefficient during BOOST |
14-10 | SETTLED_TARGET | R/W | Ch | Number of updates before HFOSC is considered "settled" |
9-6 | OOR_LIMIT | R/W | Eh | Out-of-range threshold |
5-3 | KP | R/W | 6h | Proportional loop coefficient |
2-0 | KI | R/W | 3h | Integral loop coefficient |
TDCCTL is shown in Table 6-45.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R | 0h | Reserved |
1-0 | CMD | W | 0h | Internal. Only to be used through TI provided API. |
TDCSTAT is shown in Table 6-46.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-10 | RESERVED | R | 0h | Reserved |
9 | STOP_BF | R | 0h | Internal. Only to be used through TI provided API. |
8 | START_BF | R | 0h | Internal. Only to be used through TI provided API. |
7 | SAT | R | 0h | Internal. Only to be used through TI provided API. |
6 | DONE | R | 0h | Internal. Only to be used through TI provided API. |
5-0 | STATE | R | 6h | Internal. Only to be used through TI provided API. |
TDCRESULT is shown in Table 6-47.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | VALUE | R | 2h | Internal. Only to be used through TI provided API. |
TDCSATCFG is shown in Table 6-48.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-5 | RESERVED | R | 0h | Reserved |
4-0 | LIMIT | R/W | 0h | Internal. Only to be used through TI provided API. |
TDCTRIGSRC is shown in Table 6-49.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15 | STOP_POL | R/W | 0h | Internal. Only to be used through TI provided API. |
14-13 | RESERVED | R | 0h | Reserved |
12-8 | STOP_SRC | R/W | 0h | Internal. Only to be used through TI provided API. |
7 | START_POL | R/W | 0h | Internal. Only to be used through TI provided API. |
6-5 | RESERVED | R | 0h | Reserved |
4-0 | START_SRC | R/W | 0h | Internal. Only to be used through TI provided API. |
TDCTRIGCNT is shown in Table 6-50.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | CNT | R/W | 0h | Internal. Only to be used through TI provided API. |
TDCTRIGCNTLOAD is shown in Table 6-51.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-0 | CNT | R/W | 0h | Internal. Only to be used through TI provided API. |
TDCTRIGCNTCFG is shown in Table 6-52.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EN | R/W | 0h | Internal. Only to be used through TI provided API. |
TDCPRECTL is shown in Table 6-53.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | Reserved |
7 | RESET_N | R/W | 0h | Internal. Only to be used through TI provided API. |
6 | RATIO | R/W | 0h | Internal. Only to be used through TI provided API. |
5 | RESERVED | R | 0h | Reserved |
4-0 | SRC | R/W | 0h | Internal. Only to be used through TI provided API. |
TDCPRECNTR is shown in Table 6-54.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-17 | RESERVED | R | 0h | Reserved |
16 | CAPT | W | 0h | Internal. Only to be used through TI provided API. |
15-0 | CNT | R | 0h | Internal. Only to be used through TI provided API. |
WDTCNT is shown in Table 6-55.
Return to the Summary Table.
WDT counter value register
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | VAL | R/W | 0h | Counter value. A write to this field immediately starts (or restarts) the counter. It will count down from the written value. If the counter reaches 0, a reset will be generated. A write value of 0 immediately generates a reset. This field is only writable if not locked. See WDTLOCK register. Writing this field will automatically activate the lock. A read returns the current value of the counter. |
WDTTEST is shown in Table 6-56.
Return to the Summary Table.
WDT test mode register
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | STALLEN | R/W | 0h | WDT stall enable This field is only writable if not locked. See WDTLOCK register. 0h = DISABLE WDT continues counting while the CPU is stopped by a debugger. 1h = ENABLE WDT stops counting while the CPU is stopped by a debugger. |
WDTLOCK is shown in Table 6-57.
Return to the Summary Table.
WDT lock register
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | STAT | R/W | 1h | A write with value 0x1ACCE551 unlocks the watchdog registers for write access. A write with any other value locks the watchdog registers for write access. Writing the WDTCNT register will also lock the watchdog registers. A read of this field returns the state of the lock (0=unlocked, 1=locked). |