Anticipating processing delay in embedded systems
Find a library that implements FIR filters in assembly. I am 100% sure there is a DSP library for STM32. 

Alternativelly write your own code that uses advanced features on the core.