SLAU367P October 2012 – April 2020 MSP430FR5041 , MSP430FR5043 , MSP430FR50431 , MSP430FR5847 , MSP430FR58471 , MSP430FR5848 , MSP430FR5849 , MSP430FR5857 , MSP430FR5858 , MSP430FR5859 , MSP430FR5867 , MSP430FR58671 , MSP430FR5868 , MSP430FR5869 , MSP430FR5870 , MSP430FR5872 , MSP430FR58721 , MSP430FR5887 , MSP430FR5888 , MSP430FR5889 , MSP430FR58891 , MSP430FR5922 , MSP430FR59221 , MSP430FR5947 , MSP430FR59471 , MSP430FR5948 , MSP430FR5949 , MSP430FR5957 , MSP430FR5958 , MSP430FR5959 , MSP430FR5962 , MSP430FR5964 , MSP430FR5967 , MSP430FR5968 , MSP430FR5969 , MSP430FR5969-SP , MSP430FR59691 , MSP430FR5970 , MSP430FR5972 , MSP430FR59721 , MSP430FR5986 , MSP430FR5987 , MSP430FR5988 , MSP430FR5989 , MSP430FR5989-EP , MSP430FR59891 , MSP430FR5992 , MSP430FR5994 , MSP430FR59941 , MSP430FR6005 , MSP430FR6007 , MSP430FR6035 , MSP430FR6037 , MSP430FR60371 , MSP430FR6041 , MSP430FR6043 , MSP430FR60431 , MSP430FR6045 , MSP430FR6047 , MSP430FR60471 , MSP430FR6820 , MSP430FR6822 , MSP430FR68221 , MSP430FR6870 , MSP430FR6872 , MSP430FR68721 , MSP430FR6877 , MSP430FR6879 , MSP430FR68791 , MSP430FR6887 , MSP430FR6888 , MSP430FR6889 , MSP430FR68891 , MSP430FR6920 , MSP430FR6922 , MSP430FR69221 , MSP430FR6927 , MSP430FR69271 , MSP430FR6928 , MSP430FR6970 , MSP430FR6972 , MSP430FR69721 , MSP430FR6977 , MSP430FR6979 , MSP430FR69791 , MSP430FR6987 , MSP430FR6988 , MSP430FR6989 , MSP430FR69891
The entire measurement sequence can be controlled by user software (called register mode) or by the ASQ without any CPU intervention (called auto mode). See Table 21-4 for differences. Configuration of each submodule is the same and is not listed in Table 21-4.
Action | Auto Mode | Control Register in Auto Mode | Register Mode | Control Register in Register Mode |
---|---|---|---|---|
Take USS submodules out of reset (once after reset) | UUPSCTL.SWRST = 0 | UUPSCTL.SWRST | UUPSCTL.SWRST = 0 | UUPSCTL.SWRST |
Enable auto mode or register mode (on mode changes) | SAPHMCNF.LPBE = 0 | SAPHMCNF.LPBE | SAPHMCNF.LPBE = 0 | SAPHMCNF.LPBE |
Set TxBias and RxBias impdance | SAPHMCNF.BIMP = 0, 1, 2, 3 | SAPHMCNF.BIMP | SAPHMCNF.BIMP = 0, 1, 2, 3 | SAPHMCNF.BIMP |
Drive output drivers to GND | SAPHOSEL.PCH0SEL = 1 | N/A (automatic) | SAPHOSEL.PCH0SEL = 0 | SAPHOCTL0.CH0TERM, SAPHOCTL0.CH1TERM |
Tx bias | SAPHBCTL.ASQBSW = 1 | N/A (automatic) | SAPHBCTL.ASQBSW = 0 | SAPHBCTL.CH0EBSW, SAPHBCTL.CH1EBSW |
Select output channel in PPG | SAPHPGCTL.PGSEL = 1 | SAPHASCTL0.ASQCHSEL, SAPHASCTL1.CHTOG | SAPHPGCTL.PGSEL = 0 | SAPHPGCTL.PPGCHSEL |
Trigger PPG | SAPHPGCTL.TRSEL = 1 | SAPHATM_A | SAPHPGCTL.TRSEL = 0 | SAPHPPGTRIG.PPGTRIG |
Input channel selection | SAPHICTL0.MUXCTL = 1 | SAPHASCTL0.ASQCHSEL, SAPHASCTL1.CHTOG, SAPHASCTL1.CHOWN | SAPHICTL0.MUXCTL = 0 | SAPHICTL0.MUXSEL |
Turn on the SDHS | SDHSCTL0.TRGSRC = 1 | SAPHATM_B | SDHSCTL0.TRGSRC = 0 | SDHSCTL4.SDHSON |
Rx bias | SAPHBCTL.ASQBSW = 1 | SAPHATM_C or SAPHASCTL1.EARLYRB | SAPHBCTL.ASQBSW = 0 | SAPHBCTL.PGABSW, SAPHICTL0.MUXSEL |
SDHS conversion start | SDHSCTL0.TRGSRC = 1 | SAPHATM_D | SDHSCTL0.TRGSRC = 0 | SDHSCTL5.SSTART |
The number of measurement | Triggering ASQ | SAPHASCTL0.PNGCNT (up to 4) | No ASQ trigger | N/A |
The order of the time mark events is determined by the counter values written to the SAPHATM_x registers.