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?
Hello Alexandre Voigt da Poian ,
I was wondering what is related with IDE, no matter KDS or MCUXpresso IDE,
if you want to capture on leading edge, then config CPHA to 0:
BTW, could you please take a sceenshot show "choose CPHA on MCUXpresso", do you use MCUXpresso Config tools for peripheral ?
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------