It seems to be the 16 bit baud rate generator that is creating the problems as soon as you disable it everything works