In the firmware you need to enable the SPI and UART while setting up the IO matrix inside the main function. Also you will need to change the lppMode to allow both SPIand UART.
Next, channel creating and transfer can be done just like in any other example. You can find the SPI communication reference in the USBFlashProg example in the SDK.
Please note that the SPI and UART pins are multiplexed on the serial peripheral port. So, now the SPI will be available on GPIO-GPIO, and the UART will be available on GPIO-GPIO
Thanks Nishant, I just needed UART to get the debug prints to the console while using SPI for my project.. So now i just have to design a serial connector. UART outputis 3.3V rt?Is there any other hardware specs to be taken care of?