Only half of the IrDA packages are received correctly
Noticed that the prescaler was set to 10. Which divides the USART source clock by 10. It was probably too slow to handle the task. Set it to 1 and it works fine