Hi,
Thank you so much for your interest in our products and for using our community.
To use SPI and I2C you have two options. The first is through LPSPI or LPI2C, respectively. The second is with the FlexIO module, which is capable of supporting a wide range of protocols, among them SPI and I2C.
In the SDK you will find examples of LPSPI, LPI2C, as well as SPI and I2C with FlexIO. I also recommend consulting Table 11-1. Muxing Options from reference manual.
Hope it helps you.
Have a nice day!