Hello ,
the good example on SPC58 Family with FreeRTOS+FATFS is in the application :
SPC58xGxx_RLA HTML FTP CLI Test Application for Discovery
I recommend to analyze this application (Pinmap and configuration) and port it for SPC58EC for FreeRTOS-FAT
There are others applications using SPI Transfer for SPC58EC.
I recommend to mix them.
Best Regards
Erwan
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.