Serial communication (as in 'can echo bytes') is finally working. For some strange reason the cpu frequency is divided by 2.