Hi,
Regarding the maximum SPI clock frequency of LPC54S018, pls refer to the data sheet of LPC54S018, the master mode, the SPI baud rate is 48M bit/s, in slave mode, the baud rate is 14M bit/s.
Assume that you want to get 48MHz for SCK signal, If you use the code kFRO_HF_to_FLEXCOMM9, the SPI drivig clock will be 48MHz.
and you have to set up the SPI baud rate by writing the SPI divider regisyter as 0, the SPI_SCK clock frequency will be 48MHz.
Hope it can help you

