AnsweredAssumed Answered

K22: SPI with GPIO PCS - All CTAR settings still valid?

Question asked by Troels Østeraa on Apr 30, 2018
Latest reply on May 13, 2018 by xiangjun.rong

Hi,

 

Device: MK22FN256VLL12.
So I ran out of hardware PCSs for the hardware I'm working on - for both SPI0 and SPI1.
I can see it is possible to use any GPIO as "manual" toggling before setting the PUSHR register and starting the transfer.

 

My question is: Are custom timings such as ASC and PSC still implemented and used when it is specified in the CTAR, and the specific CTAR is selected in PUSHR - BUT I toggle a GPIO for chip-selection? If so, how does this work, exactly?
If not, what parts of the CTAR applies, when I use a GPIO for chip-selection - surely basics as the SPI mode (CPHA,CPOL) are obeyed?

 

Thanks a lot.

Outcomes