Set the SYNC and SPEN bits and clear the CSRC bit.
Select the transmit output pin by writing the appropriate values to the RxyPPS register
and RXxPPS register. Both selections should enable the same pin.
Select the clock input pin by writing
the appropriate value to the TXxPPS register.
Clear the ANSEL bit for the CKx pin (if applicable).
If 9-bit transmission is selected, insert the Most Significant
bit into the TX9D bit.
Prepare for transmission by writing the Least Significant eight
bits to the TXxREG register. The word will be transmitted in response to the Master
clocks at the CKx pin.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.