SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Using the SPI.CTL1[23:16] REPTX bit field, the last data frame transmitted can be repeated as many times as configured within the field. The SPI transfer can be started by writing a data once into the TX FIFO. This feature then transmits the same data repeatedly as if the data were written into the TXFIFO [SPI.CTL1[23:16] REPTX bit field] number of times. The repeated transfer operation can be used to clean a transfer or to pull a certain amount of data from a peripheral. A value of 0 in the SPI.CTL1[23:16] REPTX bit field disables this mode. This function is only available in controller mode.
When the repeated transmit operation is used, the function needs to be aligned with the data in the FIFO. The following sequence is used when setting up the repeated transmit operation: