This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

low power mode and fatfs shutdown

Hi,

We are trying to power optimise our device but in the sleep/powerdown mode we seem to be using much more power than expected.

I am seeing consumption of approx 330uA in this low power mode.

So I am now hunting for peripherals that have not been "un-initied".

One of these is our sdcard/fatfs; we just removed the sdcard power but haven't gone through the process of unmounting filesystems, and ensuring peripherals are un-inited.
Could this be my issue?

I have done quick and dirty and just called app_sdc_uninit() in my shutdown procedure and now current sink is 80uA; much better.

But what is correct sequence to gracefully shutdown the filesystems and this sub-system?

Regards,

Owain

Parents Reply Children
Related