Just out of the blue: did you enable global interrupts?
Maybe you can post your project here (create a workspace bundle), so we can have a look at it.
Enable Global Interrupts. Such a simple concept.
I've been writing Assembler and some C programs for 35 years and am once again humbled.
Thank you for your quick response.
I extracted all that initialization stuff into a separate routine named InitializeHardware(). To be honest, more than once i forgot to call it in main().
You are not alone in the dark
What also helps is that I amde this error more than once - this helps learning... Now I started to look, everytime I start a project, through the whole generated/provided code (especially main) and either delete the line or add a comment why I leave it in. This helps me preventing such mistakes.
Also, if you are using Interrupt on Rx or Tx, please ensure that the Interrupt is configured to "Level" triggered instead of "Rising" or "Derived". Since UART is a Datapath based component, the interrupt on FIFO's status will remain high till is is cleared. Configuring it as "rising" might result in missing of bytes.