Will PCM Alt Setting for a pin over-ride a SPI Slave mode pin assignment?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Will PCM Alt Setting for a pin over-ride a SPI Slave mode pin assignment?

647 Views
JHinkle
Senior Contributor I

KL17 micro - 32 pins.  SPI1_PCS shares the same pin as FlexIO_D4.  I need to use SPI1 in slave mode AND I need FlexIO_D4.  The User's manual on the KL17 series states that if SPI1 is set to be a SLAVE, then the SS pin (SPI1_PCS0) is automatically set to perform the chip select function.  BUT I don't want that pin as a chip select, I want it as FlexIO_D4.  If I set the PCM Alt value for that pin to FLEXIO_D4 -- will that over-ride the SPI1 Slave mode use for the pin? 

Thanks for any comments.

0 Kudos
1 Reply

385 Views
JHinkle
Senior Contributor I

I've reread the documentation multiple times and I'm now convinced that the SPI assignment can NOT be over-written.

The issue I have is that on the KL17 - there are two spi ports -- max speed on SPI1 is 12mhz and max on SPI0 is 6mhz when in slave mode.

I wanted to use the SPI1 so as to obtain the 12mhz speed -- but such is life!!!

I changed my design to compensate for the slower speed and am using SPI0 -- so this question is closed.

0 Kudos