SWCU195A December 2024 – May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755R10
Table 6-105 lists the memory-mapped registers for the CKMD registers. All register offset addresses not listed in Table 6-105 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | DESC | IP Description | Section 6.6.8.1 |
| 44h | IMASK | Interrupt mask. | Section 6.6.8.2 |
| 48h | RIS | Raw interrupt flag register | Section 6.6.8.3 |
| 4Ch | MIS | Masked interrupt flag register | Section 6.6.8.4 |
| 50h | ISET | Interrupt flag set register | Section 6.6.8.5 |
| 54h | ICLR | Interrupt flag clear register | Section 6.6.8.6 |
| 58h | IMSET | Interrupt mask set register | Section 6.6.8.7 |
| 5Ch | IMCLR | Interrupt mask clear register. | Section 6.6.8.8 |
| 80h | HFOSCCTL | Internal. Only to be used through TI provided API. | Section 6.6.8.9 |
| 84h | HFXTCTL | High frequency crystal control | Section 6.6.8.10 |
| 8Ch | LFOSCCTL | Low frequency oscillator control | Section 6.6.8.11 |
| 90h | LFXTCTL | Low frequency crystal control | Section 6.6.8.12 |
| 94h | LFQUALCTL | Low frequency clock qualification control | Section 6.6.8.13 |
| 98h | LFINCCTL | Low frequency time increment control | Section 6.6.8.14 |
| 9Ch | LFINCOVR | Low frequency time increment override control | Section 6.6.8.15 |
| A0h | AMPADCCTL | Internal. Only to be used through TI provided API. | Section 6.6.8.16 |
| A4h | HFTRACKCTL | High frequency tracking loop control | Section 6.6.8.17 |
| A8h | LDOCTL | Internal. Only to be used through TI provided API. | Section 6.6.8.18 |
| ACh | NABIASCTL | Nanoamp-bias control | Section 6.6.8.19 |
| B0h | LFMONCTL | Low-frequency clock-monitor control | Section 6.6.8.20 |
| B4h | LFINCCTL2 | Low frequency time increment control-2 | Section 6.6.8.21 |
| C0h | LFCLKSEL | Low frequency clock selection | Section 6.6.8.22 |
| C4h | TDCCLKSEL | Internal. Only to be used through TI provided API. | Section 6.6.8.23 |
| C8h | ADCCLKSEL | ADC clock selection | Section 6.6.8.24 |
| E0h | LFCLKSTAT | Low-frequency clock status | Section 6.6.8.25 |
| E4h | HFXTSTAT | HFXT status information | Section 6.6.8.26 |
| E8h | AMPADCSTAT | Internal. Only to be used through TI provided API. | Section 6.6.8.27 |
| ECh | TRACKSTAT | HF tracking loop status information | Section 6.6.8.28 |
| F0h | AMPSTAT | HFXT Amplitude Compensation Status | Section 6.6.8.29 |
| F4h | LFCLKSTAT2 | Low-frequency clock status-2 | Section 6.6.8.30 |
| 100h | ATBCTL0 | Internal. Only to be used through TI provided API. | Section 6.6.8.31 |
| 104h | ATBCTL1 | Internal. Only to be used through TI provided API. | Section 6.6.8.32 |
| 108h | DTBCTL | Digital test bus mux control | Section 6.6.8.33 |
| 10Ch | DTBCTL2 | Digital test bus mux control | Section 6.6.8.34 |
| 110h | TRIM0 | Internal. Only to be used through TI provided API. | Section 6.6.8.35 |
| 114h | TRIM1 | Internal. Only to be used through TI provided API. | Section 6.6.8.36 |
| 118h | HFXTINIT | Initial values for HFXT ramping | Section 6.6.8.37 |
| 11Ch | HFXTTARG | Target values for HFXT ramping | Section 6.6.8.38 |
| 120h | HFXTDYN | Alternative target values for HFXT configuration | Section 6.6.8.39 |
| 124h | AMPCFG0 | Amplitude Compensation Configuration 0 | Section 6.6.8.40 |
| 128h | AMPCFG1 | Amplitude Compensation Configuration 1 | Section 6.6.8.41 |
| 12Ch | LOOPCFG | Configuration Register for the Tracking Loop | Section 6.6.8.42 |
| 130h | LOOPCFG1 | Configuration Register for underclocking HFOSC | Section 6.6.8.43 |
| 140h | AFOSCCTL | Audio frequency oscillator control | Section 6.6.8.44 |
| 144h | AFTRACKCTL | Audio frequency tracking loop control | Section 6.6.8.45 |
| 148h | BANDGAPCTL | Internal. Only to be used through TI provided API. | Section 6.6.8.46 |
| 150h | AFCLKSEL | Audio clock selection | Section 6.6.8.47 |
| 154h | CANCLKSEL | CAN clock selection | Section 6.6.8.48 |
| 160h | TRACKSTATAF | AF tracking loop status information | Section 6.6.8.49 |
| 164h | TRACKSTATAF1 | AF tracking loop status information | Section 6.6.8.50 |
| 168h | TRACKSTATAF2 | AF tracking loop status information | Section 6.6.8.51 |
| 170h | LOOPCFGAF | Configuration Register for the Audio frequency Tracking Loop | Section 6.6.8.52 |
| 200h | CTL | Control | Section 6.6.8.53 |
| 204h | STAT | Status | Section 6.6.8.54 |
| 208h | RESULT | Result | Section 6.6.8.55 |
| 20Ch | SATCFG | Saturation Configuration | Section 6.6.8.56 |
| 210h | TRIGSRC | Trigger Source | Section 6.6.8.57 |
| 214h | TRIGCNT | Trigger Counter | Section 6.6.8.58 |
| 218h | TRIGCNTLOAD | Trigger Counter Load | Section 6.6.8.59 |
| 21Ch | TRIGCNTCFG | Trigger Counter Configuration | Section 6.6.8.60 |
| 220h | PRECTL | Prescaler Control | Section 6.6.8.61 |
| 224h | PRECNTR | Prescaler Counter | Section 6.6.8.62 |
| 300h | CNT | WDT counter value register | Section 6.6.8.63 |
| 304h | TEST | WDT test mode register | Section 6.6.8.64 |
| 308h | LOCK | WDT lock register | Section 6.6.8.65 |
Complex bit access types are encoded to fit into small table cells. Table 6-106 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-107.
Return to the Summary Table.
IP Description
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | MODID | R | 9B4Bh | Module identifier |
| 15-12 | STDIPOFF | R | 1h | Standard IP MMR block offset |
| 11-8 | RESERVED | R | 0h | Reserved |
| 7-4 | MAJREV | R | 0h | Major revision |
| 3-0 | MINREV | R | 0h | Minor revision |
IMASK is shown in Table 6-108.
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-24 | RESERVED | R | 0h | Reserved |
| 23 | HFOSCSETTLED | R/W | 0h | Indicates that HFOSC has settled, based on LOOPCFG.SETTLED_TARGET and LOOPCFG1.SETTLEIRQ |
| 22 | LFGEARRSTRTLIM | R/W | 0h | Indicates that the LFINC filter gearing mechanism has restarted more than LFINCCTL2.GEARRSTRTLIM |
| 21 | RESERVED | R | 0h | Reserved |
| 20 | SYSUNDERCLOCKED | R/W | 0h | Indicates system frequency has been lowered. It will be set only if HFTRACKCTL.UNDERCLK is appropriately configured and HFOSC tracking loop is not running. |
| 19 | AFOSCGOOD | R/W | 0h | AFOSC good indication. |
| 18 | TRACKREFAFOOR | R/W | 0h | Out-of-range indication from the AFOSC tracking loop. Indicates that the reference clock frequency of AFOSC tracking loop is out-of-range. |
| 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 CLKSEL.PRELFCLK' 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-109.
Return to the Summary Table.
Raw interrupt flag register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23 | HFOSCSETTLED | R | 0h | Indicates that HFOSC has settled, based on LOOPCFG.SETTLED_TARGET and LOOPCFG1.SETTLEIRQ |
| 22 | LFGEARRSTRTLIM | R | 0h | Indicates that the LFINC filter gearing mechanism has restarted more than LFINCCTL2.GEARRSTRTLIM |
| 21 | RESERVED | R | 0h | Reserved |
| 20 | SYSUNDERCLOCKED | R | 0h | Indicates system frequency has been lowered. It will be set only if HFTRACKCTL.UNDERCLK is appropriately configured and HFOSC tracking loop is not running. |
| 19 | AFOSCGOOD | R | 0h | AFOSC good indication. |
| 18 | TRACKREFAFOOR | R | 0h | Out-of-range indication from the AFOSC tracking loop. Indicates that the reference clock frequency of AFOSC tracking loop is out-of-range. |
| 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 CLKSEL.PRELFCLK' 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-110.
Return to the Summary Table.
Masked interrupt flag register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23 | HFOSCSETTLED | R | 0h | Indicates that HFOSC has settled, based on LOOPCFG.SETTLED_TARGET and LOOPCFG1.SETTLEIRQ |
| 22 | LFGEARRSTRTLIM | R | 0h | Indicates that the LFINC filter gearing mechanism has restarted more than LFINCCTL2.GEARRSTRTLIM |
| 21 | RESERVED | R | 0h | Reserved |
| 20 | SYSUNDERCLOCKED | R | 0h | Indicates system frequency has been lowered. It will be set only if HFTRACKCTL.UNDERCLK is appropriately configured and HFOSC tracking loop is not running. |
| 19 | AFOSCGOOD | R | 0h | AFOSC good indication. |
| 18 | TRACKREFAFOOR | R | 0h | Out-of-range indication from the AFOSC tracking loop. Indicates that the reference clock frequency of AFOSC tracking loop is out-of-range. |
| 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 CLKSEL.PRELFCLK' 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-111.
Return to the Summary Table.
Interrupt flag set register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23 | HFOSCSETTLED | W | 0h | Indicates that HFOSC has settled, based on LOOPCFG.SETTLED_TARGET and LOOPCFG1.SETTLEIRQ |
| 22 | LFGEARRSTRTLIM | W | 0h | Indicates that the LFINC filter gearing mechanism has restarted more than LFINCCTL2.GEARRSTRTLIM |
| 21 | RESERVED | R | 0h | Reserved |
| 20 | SYSUNDERCLOCKED | W | 0h | Indicates system frequency has been lowered. It will be set only if HFTRACKCTL.UNDERCLK is appropriately configured and HFOSC tracking loop is not running. |
| 19 | AFOSCGOOD | W | 0h | AFOSC good indication. |
| 18 | TRACKREFAFOOR | W | 0h | Out-of-range indication from the AFOSC tracking loop. Indicates that the reference clock frequency of AFOSC tracking loop is out-of-range. |
| 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 CLKSEL.PRELFCLK' 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-112.
Return to the Summary Table.
Interrupt flag clear register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23 | HFOSCSETTLED | W | 0h | Indicates that HFOSC has settled, based on LOOPCFG.SETTLED_TARGET and LOOPCFG1.SETTLEIRQ |
| 22 | LFGEARRSTRTLIM | W | 0h | Indicates that the LFINC filter gearing mechanism has restarted more than LFINCCTL2.GEARRSTRTLIM |
| 21 | RESERVED | R | 0h | Reserved |
| 20 | SYSUNDERCLOCKED | W | 0h | Indicates system frequency has been lowered. It will be set only if HFTRACKCTL.UNDERCLK is appropriately configured and HFOSC tracking loop is not running. |
| 19 | AFOSCGOOD | W | 0h | AFOSC good indication. |
| 18 | TRACKREFAFOOR | W | 0h | Out-of-range indication from the AFOSC tracking loop. Indicates that the reference clock frequency of AFOSC tracking loop is out-of-range. |
| 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 CLKSEL.PRELFCLK' 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-113.
Return to the Summary Table.
Interrupt mask set register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23 | HFOSCSETTLED | W | 0h | Indicates that HFOSC has settled, based on LOOPCFG.SETTLED_TARGET and LOOPCFG1.SETTLEIRQ |
| 22 | LFGEARRSTRTLIM | W | 0h | Indicates that the LFINC filter gearing mechanism has restarted more than LFINCCTL2.GEARRSTRTLIM |
| 21 | RESERVED | R | 0h | Reserved |
| 20 | SYSUNDERCLOCKED | W | 0h | Indicates system frequency has been lowered. It will be set only if HFTRACKCTL.UNDERCLK is appropriately configured and HFOSC tracking loop is not running. |
| 19 | AFOSCGOOD | W | 0h | AFOSC good indication. |
| 18 | TRACKREFAFOOR | W | 0h | Out-of-range indication from the AFOSC tracking loop. Indicates that the reference clock frequency of AFOSC tracking loop is out-of-range. |
| 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 CLKSEL.PRELFCLK' 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-114.
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-24 | RESERVED | R | 0h | Reserved |
| 23 | HFOSCSETTLED | W | 0h | Indicates that HFOSC has settled, based on LOOPCFG.SETTLED_TARGET and LOOPCFG1.SETTLEIRQ |
| 22 | LFGEARRSTRTLIM | W | 0h | Indicates that the LFINC filter gearing mechanism has restarted more than LFINCCTL2.GEARRSTRTLIM |
| 21 | RESERVED | R | 0h | Reserved |
| 20 | SYSUNDERCLOCKED | W | 0h | Indicates system frequency has been lowered. It will be set only if HFTRACKCTL.UNDERCLK is appropriately configured and HFOSC tracking loop is not running. |
| 19 | AFOSCGOOD | W | 0h | AFOSC good indication. |
| 18 | TRACKREFAFOOR | W | 0h | Out-of-range indication from the AFOSC tracking loop. Indicates that the reference clock frequency of AFOSC tracking loop is out-of-range. |
| 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 CLKSEL.PRELFCLK' 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-115.
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-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-116.
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.
|
| 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-117.
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-118.
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
|
| 12 | BUFBIAS | R/W | 0h | Control the BIAS current of the input amp in LP buffer
|
| 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
|
| 0 | EN | R/W | 0h | LFXT enable |
LFQUALCTL is shown in Table 6-119.
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-120.
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.
|
| 30 | KEEPHFXTEN | R/W | 0h | Keeps the HFXT enabled till the LFINC filter settles
|
| 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.
|
| 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.
|
| 4-3 | GEARRSTRT | R/W | 2h | Controls gearing restart of the LFINC filter.
|
| 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.
|
| 1-0 | EN | R/W | 1h | Enable LFINC filter. Programming with a value of 0x3 will disable the LFINC filter
|
LFINCOVR is shown in Table 6-121.
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 | Xh | LF increment value This value is used when OVERRIDE is set to 1. Otherwise the value is calculated automatically. The current LFINC value can be read from [CKM.LFCLKSTAT.LFINC]. |
AMPADCCTL is shown in Table 6-122.
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-123.
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 | UNDERCLK | R/W | 0h | When the HFOSC tracking loop is not running, this bitfield can be used to set the condition to automatically lower the HFOSC frequency. This will prevent frequency drift that may lead to SOC instability.
|
| 27-26 | REFCLK | R/W | 0h | Select the reference clock for the tracking loop. Change only while the tracking loop is disabled.
|
| 25-0 | RATIO | R/W | 00400000h | Reference clock ratio. Ratio format is 2b.24b RATIO = 24MHz / (2*reference-frequency) * 224 Commonly used reference clock frequencies are provided as enumerations.
|
LDOCTL is shown in Table 6-124.
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-125.
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-126.
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. |
LFINCCTL2 is shown in Table 6-127.
Return to the Summary Table.
Low frequency time increment control-2
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | ADJUSTLFINC | R/W | 0h | Adjusts LFINC while transitioning from fake to real LF clock if necessary. For the adjustment to happen, tracking loop must be running. |
| 30-10 | RESERVED | R | 0h | Reserved |
| 9-4 | GEARRSTRTLIM | R/W | 0h | Specifies the number of times gear could be restarted before raising an interrupt. It has no impact on the number of times gear can be reduced. A value of 0 indicates that the interrupt mechanism is disabled |
| 3-0 | GEARREDCNT | R/W | 2h | Specifies the number by which gear should be reduced post standby exit |
LFCLKSEL is shown in Table 6-128.
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.
|
| 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.
|
TDCCLKSEL is shown in Table 6-129.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-3 | RESERVED | R | 0h | Reserved |
| 2-0 | REFCLK | R/W | 0h | Internal. Only to be used through TI provided API. |
ADCCLKSEL is shown in Table 6-130.
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!
|
LFCLKSTAT is shown in Table 6-131.
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 | 1h | Source of LFTICK.
|
| 23-22 | LFINCSRC | R | 3h | 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).
|
| 21-0 | LFINC | R | 001E8480h | 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-132.
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-133.
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-134.
Return to the Summary Table.
HF 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 This field uses the internal fractional representation (sign, 9 integer bits, 4 fractional bits). |
| 15-13 | RESERVED | R | 0h | Reserved |
| 12-0 | FINETRIM | R | 1D80h | Current HFOSC Fine-trim value This field uses the internal fractional representation (sign, 5 integer bits, 7 fractional bits). The actual trim value applied to the oscillator is delta-sigma modulated 6 bits non-signed (inverted sign bit + integer bits). |
AMPSTAT is shown in Table 6-135.
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.
|
| 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 |
LFCLKSTAT2 is shown in Table 6-136.
Return to the Summary Table.
Low-frequency clock status-2
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-7 | RESERVED | R | 0h | Reserved |
| 6-4 | SUBGEAR | R | 0h | The value of sub gear in LF filter. It counts from 0 to 7. |
| 3-0 | MAINGEAR | R | 0h | The value of main gear in LF filter. The main gear increments when the sub gear crosses 7. |
ATBCTL0 is shown in Table 6-137.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R | 0h | Reserved |
| 23-0 | SEL | R/W | Xh | Internal. Only to be used through TI provided API. |
ATBCTL1 is shown in Table 6-138.
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 | BGAP | R/W | 0h | Internal. Only to be used through TI provided API. |
| 17-15 | AFOSC | R/W | 0h | Internal. Only to be used through TI provided API. |
| 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-3 | RESERVED | R | 0h | Reserved |
| 2-0 | HFOSC | R/W | 0h | Internal. Only to be used through TI provided API. |
DTBCTL is shown in Table 6-139.
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-3 | CLKSEL | R/W | 0h | Select clock to output on DTB[0]
|
| 2-1 | RESERVED | R | 0h | Reserved |
| 0 | EN | R/W | 0h | Enable DTB output |
DTBCTL2 is shown in Table 6-140.
Return to the Summary Table.
Digital test bus mux control
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-14 | RESERVED | R | 0h | Reserved |
| 13-10 | CLK2DTBSEL | R/W | 0h | Select a DTB other than DTB0 to route the clock. Value of 0 indicates that clock 2 won't be sent to DTB. |
| 9-8 | RESERVED | R | 0h | Reserved |
| 7-5 | CLKSEL2 | R/W | 0h | Select the clock that needs to be routed to a DTB other than DTB0
|
| 4-3 | RESERVED | R | 0h | Reserved |
| 2-1 | CLK2DIVVAL | R/W | 0h | These bits are used to configure the divider value.
|
| 0 | CLK2DIVEN | R/W | 0h | Enable divider on second clock path
|
TRIM0 is shown in Table 6-141.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-26 | RESERVED | R | 0h | Reserved |
| 25 | AFOSC_MODE | R/W | 0h | Internal. Only to be used through TI provided API. |
| 24-21 | AFOSC_MID | R/W | 0h | Internal. Only to be used through TI provided API. |
| 20-16 | AFOSC_COARSE | R/W | 0h | Internal. Only to be used through TI provided API. |
| 15-10 | RESERVED | R | 0h | Reserved |
| 9 | HFOSC_MODE | R/W | 0h | Internal. Only to be used through TI provided API. |
| 8-5 | HFOSC_MID | 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-142.
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 | 1h | 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 | 39h | Internal. Only to be used through TI provided API. |
HFXTINIT is shown in Table 6-143.
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-144.
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-145.
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.
|
| 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-146.
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 | 1Fh | 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).
|
AMPCFG1 is shown in Table 6-147.
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-148.
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 | Error-updates for 4xBOOST_TARGET times using KI_BOOST/KP_BOOST, before using KI/KP. Note: If boost is used for long duration using large values of KI_BOOST and KP_BOOST, the oscillator frequency can reach well above the max frequence limit of the design, causing unexpected behaviour. |
| 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 | 13h | Number of HFOSC tracking loop updates before HFOSC is considered "settled". The tracking loop updates at a rough frequency of (2*Reference frequency/256). If the reference frequency is 48MHz, the loop update frequency comes out to be 375Khz. Internally the MMR is multiplied by 4 |
| 9-6 | OOR_LIMIT | R/W | Eh | Out-of-range threshold. OOR_LIMIT is compared with absolute value of 5 MSB bits of loop filter error. |
| 5-3 | KP | R/W | 6h | Proportional loop coefficient |
| 2-0 | KI | R/W | 2h | Integral loop coefficient |
LOOPCFG1 is shown in Table 6-149.
Return to the Summary Table.
Configuration Register for underclocking HFOSC
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-26 | RESERVED | R | 0h | Reserved |
| 25 | SETTLEIRQ | R/W | 0h | Configuration to enable the interrupt when the HFOSC tracking loop has settled. The interrupt will be based on LOOPCFG.SETTLED_TARGET.
|
| 24-6 | UNDERCLKCNT | R/W | Xh | Timer to trigger HFOSC underclocking. The timer will run at approximately 32.768 KHz. |
| 5-0 | KIOFF | R/W | 3Fh | Based on HFTRACKCTRL.UNDERCLK configuration, after an event is triggerred, KI of the HFOSC tracking loop will be reduced by this amount. |
AFOSCCTL is shown in Table 6-150.
Return to the Summary Table.
Audio frequency oscillator control
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | PW | W | 0h | Password protection for QUALBYP. Write this field to 0xA5 to accept writes to QUALBYP. |
| 23-3 | RESERVED | R | 0h | Reserved |
| 2 | AUTODIS | R/W | 0h | If set, AFOSC can be disabled by PMCTL upon standby entry. EN bit will be overriden with a value 0 and user has to manually re-enable AFOSC. |
| 1 | QUALBYP | R/W | 0h | Clock qualification bypass. AFOSC qualification will skip a fixed number of clock cycles to prevent glitches or frequency overshoots from reaching the system. Setting this bit will bypass the qualification. This bit can be locked in SYS0. If unlocked, it is password protected with PW. |
| 0 | EN | R/W | 0h | Enable AFOSC. |
AFTRACKCTL is shown in Table 6-151.
Return to the Summary Table.
Audio 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-0 | RATIO | R/W | 0999999Ah | Ratio. Ratio format is 0b.30b
|
BANDGAPCTL is shown in Table 6-152.
Return to the Summary Table.
Internal. Only to be used through TI provided API.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | BGOVR | R/W | 0h | Internal. Only to be used through TI provided API. |
| 30-4 | RESERVED | R | 0h | Reserved |
| 3 | VBGAPBYP | R/W | 0h | Internal. Only to be used through TI provided API. |
| 2 | VBGAPREFEN | R/W | 0h | Internal. Only to be used through TI provided API. |
| 1 | VDDRREFEN | R/W | 0h | Internal. Only to be used through TI provided API. |
| 0 | REFEN | R/W | 0h | Internal. Only to be used through TI provided API. |
AFCLKSEL is shown in Table 6-153.
Return to the Summary Table.
Audio clock selection
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-3 | RESERVED | R | 0h | Reserved |
| 2-0 | SRC | R/W | 0h | Select audio frequency clock source Software should make sure that proper clock is selected before enabling the audio IP.
|
CANCLKSEL is shown in Table 6-154.
Return to the Summary Table.
CAN clock selection
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-2 | RESERVED | R | 0h | Reserved |
| 1-0 | SRC | R/W | 0h | Select audio frequency clock source Software should make sure that proper clock is selected before enabling the audio IP.
|
TRACKSTATAF is shown in Table 6-155.
Return to the Summary Table.
AF tracking loop status information
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | LOOPERRVLD | R | 0h | Current AFOSC 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 AFOSC tracking error This field uses the internal fractional representation (sign, 9 integer bits, 4 fractional bits). The actual fine trim value of format (sign, 9 integer bits, 30 fractional bits) is saturated to (sign, 9 integer bits, 4 fractional bits). |
| 15-13 | RESERVED | R | 0h | Reserved |
| 12-0 | FINETRIM | R | 1D80h | Current AFOSC Fine-trim value This field uses the internal fractional representation (sign, 5 integer bits, 7 fractional bits). The actual fine trim value of format (sign, 5 integer bits, 19 fractional bits) is saturated to (sign, 5 integer bits, 7 fractional bits). The actual trim value applied to the oscillator is delta-sigma modulated 6 bits non-signed (inverted sign bit + integer bits). |
TRACKSTATAF1 is shown in Table 6-156.
Return to the Summary Table.
AF tracking loop status information
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-30 | RESERVED | R | 0h | Reserved |
| 29-0 | LOOPERR | R | 0h | Current AFOSC tracking error This field uses the fractional representation of the actual error(30 fractional bits). The actual error is of format (sign, 9 integer bits, 30 fractional bits). |
TRACKSTATAF2 is shown in Table 6-157.
Return to the Summary Table.
AF tracking loop status information
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-25 | RESERVED | R | 0h | Reserved |
| 24-0 | FINETRIM | R | 01D80000h | Current AFOSC Fine-trim value This field uses the internal fractional representation (sign, 5 integer bits, 19 fractional bits). The actual trim value applied to the oscillator is delta-sigma modulated 6 bits non-signed (inverted sign bit + integer bits). |
LOOPCFGAF is shown in Table 6-158.
Return to the Summary Table.
Configuration Register for the Audio frequency Tracking Loop
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-26 | FINETRIM_INIT | R/W | Ch | 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 AFOSC is considered "settled" |
| 9-6 | OOR_LIMIT | R/W | Eh | Out-of-range threshold. Out-of-range threshold. OOR_LIMIT is compared with absolute value of 5 MSB bits of loop filter error. |
| 5-3 | KP | R/W | 6h | Proportional loop coefficient |
| 2-0 | KI | R/W | 3h | Integral loop coefficient |
CTL is shown in Table 6-159.
Return to the Summary Table.
Control
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-2 | RESERVED | R | 0h | Reserved |
| 1-0 | CMD | W | 0h | TDC commands.
|
STAT is shown in Table 6-160.
Return to the Summary Table.
Status
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RESERVED | R | 0h | Reserved |
| 7 | SAT | R | 0h | TDC measurement saturation flag. 0: Conversion has not saturated. 1: Conversion stopped due to saturation. This field is cleared when a new measurement is started or when CLR_RESULT is written to [TDC.CTL.CMD]. |
| 6 | DONE | R | 0h | TDC measurement complete flag. 0: TDC measurement has not yet completed. 1: TDC measurement has completed. This field clears when a new TDC measurement starts or when you write CLR_RESULT to [TDC.CTL.CMD]. |
| 5-0 | STATE | R | 6h | TDC state machine status.
|
RESULT is shown in Table 6-161.
Return to the Summary Table.
Result
Result of last TDC conversion.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VALUE | R | 2h | TDC conversion result. The result of the TDC conversion is given in number of clock edges of the clock source selected in [IPSPECIFIC.CKM.TDCCLKSEL.REFCLK]. Both rising and falling edges are counted. Note that [TDC.SATCFG.LIMIT] is given in periods, while VALUE is given in edges (periods*2). If TDC counter saturates, VALUE is slightly higher than [TDC.SATCFG.LIMIT]*2, as it takes a non-zero time to stop the measurement. Hence, the maximum value of this field becomes slightly higher than 231 (230 periods*2) if you configure [TDC.SATCFG.LIMIT] to R30. |
SATCFG is shown in Table 6-162.
Return to the Summary Table.
Saturation Configuration
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-5 | RESERVED | R | 0h | Reserved |
| 4-0 | LIMIT | R/W | 0h | Saturation limit. The flag [TDC.STAT.SAT] is set when the TDC counter saturates. Note that this value is given in periods, while [TDC.RESULT.VALUE] is given in edges (periods*2). Values not enumerated are not supported
|
TRIGSRC is shown in Table 6-163.
Return to the Summary Table.
Trigger Source
Select source and polarity for TDC start and stop events. See the Technical Reference Manual for event timing requirements.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15 | STOP_POL | R/W | 0h | Polarity of stop source. Change only while [TDC.STAT.STATE] is IDLE.
|
| 14-13 | RESERVED | R | 0h | Reserved |
| 12-8 | STOP_SRC | R/W | 0h | Select stop source from the asynchronous AUX event bus. Change only while [TDC.STAT.STATE] is IDLE.
|
| 7 | START_POL | R/W | 0h | Polarity of start source. Change only while [TDC.STAT.STATE] is IDLE.
|
| 6-5 | RESERVED | R | 0h | Reserved |
| 4-0 | START_SRC | R/W | 0h | Select start source from the asynchronous AUX event bus. Change only while [TDC.STAT.STATE] is IDLE.
|
TRIGCNT is shown in Table 6-164.
Return to the Summary Table.
Trigger Counter
Stop-counter control and status.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15-0 | CNT | R/W | 0h | Number of stop events to ignore when [TDC.TRIGCNTCFG.EN] is 1. Read CNT to get the remaining number of stop events to ignore during a TDC measurement. Write CNT to update the remaining number of stop events to ignore during a TDC measurement. The TDC measurement ignores updates of CNT if there are no more stop events left to ignore. When [TDC.TRIGCNTCFG.EN] is 1, [TDC.TRIGCNTLOAD.CNT] is loaded into CNT at the start of the measurement. |
TRIGCNTLOAD is shown in Table 6-165.
Return to the Summary Table.
Trigger Counter Load
Stop-counter load.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15-0 | CNT | R/W | 0h | Number of stop events to ignore when [TDC.TRIGCNTCFG.EN] is 1. To measure frequency of an event source: - Set start event equal to stop event. - Set CNT to number of periods to measure. Both 0 and 1 values measures a single event source period. To measure pulse width of an event source: - Set start event source equal to stop event source. - Select different polarity for start and stop event. - Set CNT to 0. To measure time from the start event to the Nth stop event when N > 1: - Select different start and stop event source. - Set CNT to (N-1). See the Technical Reference Manual for event timing requirements. When [TDC.TRIGCNTCFG.EN] is 1, CNT is loaded into [TDC.TRIGCNT.CNT] at the start of the measurement. |
TRIGCNTCFG is shown in Table 6-166.
Return to the Summary Table.
Trigger Counter Configuration
Stop-counter configuration.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R | 0h | Reserved |
| 0 | EN | R/W | 0h | Enable stop-counter. 0: Disable stop-counter. 1: Enable stop-counter. Change only while [TDC.STAT.STATE] is IDLE. |
PRECTL is shown in Table 6-167.
Return to the Summary Table.
Prescaler Control
The prescaler can be used to count events that are faster than the bus rate.
It can be used to:
- count pulses on a specified event from the asynchronous event bus.
- prescale a specified event from the asynchronous event bus.
To use the prescaler output as an event source in TDC measurements you must set both TRIGSRC.START_SRC and TRIGSRC.STOP_SRC to TDC_PRE.
It is recommended to use the prescaler when the signal frequency to measure exceeds 1/10th of the bus rate.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RESERVED | R | 0h | Reserved |
| 7 | RESET_N | R/W | 0h | Prescaler reset. 0: Reset prescaler. 1: Release reset of prescaler. AUX_TDC_PRE event becomes 0 when you reset the prescaler. |
| 6 | RATIO | R/W | 0h | Prescaler ratio. This controls how often the TDC_PRE event is generated by the prescaler.
|
| 5 | RESERVED | R | 0h | Reserved |
| 4-0 | SRC | R/W | 0h | Prescaler event source. Select an event from the asynchronous AUX event bus to connect to the prescaler input. Configure only while RESET_N is 0.
|
PRECNTR is shown in Table 6-168.
Return to the Summary Table.
Prescaler Counter
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-17 | RESERVED | R | 0h | Reserved |
| 16 | CAPT | W | 0h | Prescaler counter capture strobe. Write a 1 to CAPT to capture the value of the 16-bit prescaler counter into CNT. Read CNT to get the captured value. |
| 15-0 | CNT | R | 0h | Prescaler counter value. Write a 1 to CAPT to capture the value of the 16-bit prescaler counter into CNT. Read CNT to get the captured value. The read value gets 1 LSB uncertainty if the event source level rises when you release the reset. The read value gets 1 LSB uncertainty if the event source level rises when you capture the prescaler counter. Please note the following: - The prescaler counter is reset to 3 by [TDC.PRECTL.RESET_N]. - The captured value is 3 when the number of rising edges on prescaler input is less than 3. Otherwise, captured value equals number of event pulses. |
CNT is shown in Table 6-169.
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 LOCK register. Writing this field will automatically activate the lock. A read returns the current value of the counter. |
TEST is shown in Table 6-170.
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 LOCK register.
|
LOCK is shown in Table 6-171.
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 CNT register will also lock the watchdog registers. A read of this field returns the state of the lock (0=unlocked, 1=locked). |