SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
Figure 20-1 and Figure 20-14 show how the configuration of AUX_SPIM:SPIMCFG fields affect the 8-bit data transfer as well as the duration of register access blocking. For the purpose of illustration, the AUX_SPIM:SPIMCFG.DIV is set to 0x4, which gives an SCLK period that is 10 times the peripheral clock period.
In both Figure 20-13 and Figure 20-14, the peripheral clock starts to toggle and blocking begins when the user writes AUX_SPIM:TX8, which indicates the start of transmission. The value of the POL field does not impact the timing of the waveforms; it only sets the IDLE state of SCLK. The value of the PHA field determines the phase of the MOSI and MISO signals with respect to SCLK. As seen in Figure 20-13 and Figure 20-14, this also affects the blocking duration of the AUX_SPIM:SCLKIDLE register access. When PHA = 1, the access completes faster because the SCLK reaches IDLE state earlier.
Set the peripheral clock frequency with AUX_SYSIF:PEROPRATE.SPIM_OP_RATE as follows: