Hi @Jau
this is caused by priorities, most likely. Even if you call blocking function, an interrupt is used anyway (if DMA is not configured). You can take a look at source code:
lukaszadrapa_0-1701074546743.png
So, if LPIT has higher priority, it won't work.
To avoid such issues, I would use non-blocking function in interrupt handlers.
Regards,
Lukas