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.

SPI peripheral: Resetting the state machine.

Hi,

if there are any SPI errors generated, will they get cleared on resetting the state machine using "UCSWRST" bit in UCB0CTL1 control register.

  • Usually, yes, SWRST resets the state machine. However, I don't know what kind of SPI errors you are talking about.
    SPI protocol is so simple and straight, there are no error conditions except for physial errors on the bus (which of course cannot be solved by  state machine reset)

    So you should tell which kind of problems you encounter.

**Attention** This is a public forum