Hi David,
Yes, the MK10DN512VLL10 SPI0 provides 6 chip selects. The SPI0_PCS5 signal exists at PTB23 pin.
The SPI0_MCR register with incorrect info at reference manual, which should be from bit 16 to bit 21 PCSIS[5:0].
Customer could check K60_100MHz silicon revision 2.x header file, which using the same SPI module with MK10DN512VLL10 product:
| #define SPI_MCR_PCSIS_MASK | 0x3F0000u |
| #define SPI_MCR_PCSIS_SHIFT | 16 |
| #define SPI_MCR_PCSIS(x) | (((uint32_t)(((uint32_t)(x))<<SPI_MCR_PCSIS_SHIFT))&SPI_MCR_PCSIS_MASK) |
Yes, you are quite right.
The SPI external chip select could be extended with using a decoder chip.
Wish it helps.
best regards,
Ma Hui