Hi @fengba,
You can use any of the SPI Examples from the Real-Time Drivers (RTD) page. To install this RTD version you need to download the UpdateSite.zip file from the flexera portal. Once you have it, at S32DS Extensions and Updates, click "Add Update Site" and select the zip file, then click Open, you need to select the file and then Install.
There are also SDK examples integrated in S32DS:
Best regards,
Julián