Hi Giampietro:
One similar demo is SDK_2.3.1_FRDM-K22F\boards\frdmk22f\usb_examples\usb_host_msd_fatfs\.
This demo includes a fatfs filesystem on U-Disk , not on SPI nor flash. The application executes some Fatfs APIs to test the attached device.
Regards
Daniel