Hi, Zahom,
Regarding the fatfs system on the FRDM-K82F, unfortunately, I have only the fatfs project based on sdhc interface for FRDM-K64F, I attach it here. Regarding the architecture of the attached project, the ff.c is high level code for the standard disk operation, the fsl_sd_disk.c is a middle-ware code, the sdhc low level driver is provided by the KSDK driver. pls port it to K82F.
Hope it can help you.
BR
XiangJun Rong