Hi, Albert,
As the following Fig I copied from UM11126.pdf(for LPC552x), the FC0 has FC0_CTS_SDAX_SSEL0 and FC0_RTS_SCLX_SSEL1 pin, you have to set the FUNC bits in IOCON of P0_31 and P1_0 as 1, in this way, the FC0_CTS_SDAX_SSEL0 and FC0_RTS_SCLX_SSEL1 pin will function as slave chip select function: SPI0_SSEL0 and SPI0_SSEL1.
if you configure the FC0 as SPI. If the SPI0 is configured as slave mode, assume that the asserted logic of SPI0_SSELx is low, this is the pin state that the SPI0 functions as slave:
SPI0_SSEL0 SPI0_SSEL1 function
0 0 the SPI will function as salve, the SSEL0/SSEL1 state saved in FIFORD
0 1 the SPI will function as salve, the SSEL0/SSEL1 state saved in FIFORD
1 0 the SPI will function as salve, the SSEL0/SSEL1 state saved in FIFORD
1 1 the SPI will NOT function
If you want to both of GPIO and SPI slave work simultaneously, I suggest you choose another GPIO pin as GPIO function.
Hope it can help you

