AnsweredAssumed Answered

PCS Selection in K22F

Question asked by Prasanna Naik on Aug 13, 2019
Latest reply on Aug 14, 2019 by Robin_Shen

Hi,

   I want to use PCS[1] of SPI 1 as a chip select pin in MK22FN512VLL12 microcontroller whereas the rest of the PCS line as a digital output to control LEDs/display.

I understand that PCS bits (16-21) of PUSHR register is used to operate the corresponding PCS pin and PCSIS bits(16-21) of MCR register to select default state of PCS pin.

If is dont operate the PCS bits (16-21) of PUSHR register while operating SPI, then can i use the unused PCS pins as normal GPIO's?

 

Thanks and best regards,

Prasanna

Outcomes