19.4.2.1 Host Mode
To configure the SPI module device in Audio Protocol Host mode, set both the MSTEN bit
(SPIxCON1[5]) and the AUDEN bit (SPIxCON1[31]) to ‘1
’.
A few characteristics of Host mode are:
- This mode enables the device to
generate SCKx and LRCK pulses as long as the ON bit (SPIxCON1[15]) =
1
. - The SPI module generates LRCK and SCKx continuously in all cases, regardless of the transmit data while in Host mode.
- The SPI module drives the leading edge of LRCK and SCKx within one SCKx period, and the serial data shifts in and out continuously, even when the TX FIFO is empty.
Figure 19-18 shows a typical interface between Host and Client while in Host mode.