This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Changing SPI Clock Edge Rise and Fall

At the moment, the SPI clock rises at the second half of the cycle and falls at the end of the cycle. How could the SPI clock rise at the begin of the cycle and fall at the second of the cycle?

The  SPI is set to master mode 1.

UCA0CTL0 |= UCCKPH + UCMSB + UCMST + UCMODE_0 + UCSYNC;

**Attention** This is a public forum