AnsweredAssumed Answered

Doubt on how to choose CPHA on MCUXpresso

Question asked by Alexandre Voigt da Poian on Jul 12, 2018
Latest reply on Jul 12, 2018 by Alice_Yang

I am using SPI on MK22FN1M0AVLL12. On KDS I choose to clock phase (CPHA) capture on leading edge. There is working but in MCUXpresso I have to choose CPHA 0 or 1. To portate my code to MCUXpresso I need to know if CAPTURE ON LEADING EDGE is 1 and CHANGE ON LEADING EDGE is 0. These are the two options that appear on KDS. Anybody now what is correct?

Outcomes