Dear Paul,
Thank you for mentioning the Port Control Register n. I found detailed information about setting the edge sensitivity of each pin on chapter 11.5.1.
Regarding the SPI's slave select signal... I re-read chapter 11 and I even did a search for the key words "slave select" on the whole document. It still seems to me like the KL46Z cannot be configured as a master for a multislave system. At least not easily. Each SPI port is assgined to only one slave select pin. There is no mention of configuring additional GPIO as extra slave select outputs.
Let's put this question into context. Let's imagine that I have the KL46Z as an SPI master and I want to talk to two inertial sensors using the same SPI zero port. Inertial sensor #1's slave select input would have to be connected to the KL46Z's default slave select output pin. This would be pin PTD0/SPI0_PCS0. Which KL46Z pin should I connect to inertial sensor #2's slave select input? Also, how do I tell the KL46Z that this pin should be treated as an additional slave select output?
The only other way I can image achieving the multislave configuration would be to use an external multiplexer chip so I can feed the output of the KL46Z's SPI0_PC0 pin to multiple slave sensors. This would require me to use an additional KL46Z GPIO pin to drive the multiplexer's select input. Other than that I would be forced to bit bang additional slave select outputs out of the KL46Z or to use one SPI port per SPI slave in my sensor system.
Is this multislave configuration possible within the KL46Z's built in features? Or do I have to go the hard way and use bit banging and/or an external multiplexer chip?
Thanks again Paul! Every answer you've written has also answered many other questions I was planning on asking later on in the forums.