many thanks for your quick reply!
I just did some more testing and now got it working, changing the UART baudrate register UBRR0 directly .
Code: Select all
//BaudRate 4800 -> UBRR: 0x0067
// BaudRate 38400 -> UBRR: 0x000C
//Example for 4800:
UBRR0H = 0x00;
UBRR0L = 0x67;
Niro