Hi,
I'm not sure if I inderstand but I think that calling file methods in interrupt context is not a good idea. You should just set some flag and handle that in the main loop (or task). Is this what you meant?
Best regards
Petr Hradsky
Processor Expert Support Team