There are several other considerations for writing on the SPI:
- The R/W bit must be set to 0.
- The data on SDI pin is clocked into a shift register on each rising edge on the SCK pin.
- The CSB must be held low for data to be clocked.
Device is ignore clock pulses if CSB is held high.
- The CSB transition from high to low must occur when SCK is low.
- When SCK and SDI lines are shared between devices, TI recommends hold the CSB line high on the device that is not to be clocked.
There are several other considerations for SPI readback:
- The R/W bit must be set to 1.
- The MUXout pin is tristated for the address
portion of the transaction, and when there is no transaction
- The data on MUXout becomes available momentarily
after the falling edge of SCK and therefore must be read back on the rising
edge of SCK.
- The data portion of the transition on the SDI line is always ignored.