AnsweredAssumed Answered

Phase and Polarity of SPI in TWR K70F120M

Question asked by HU Q on Jan 2, 2016
Latest reply on Jan 12, 2016 by jeremyzhou



I am working on spi driver (Polling Mode) with Aardvark as slave. It is working fine on modes 0, 1 and 2. In mode 3 (Hi Phase, Hi Polarity i.e. Phase = 1, Polarity = 1), Transmit bytes are correct but first receive byte is sometimes corrupted (if Slave sends '0xAA', Master Receive '0x55').

This behavior is observed 8 out of 10 times. Rest of communication goes normal. Is Mode 3 Supported on this platform?