Hello,
i am trying to access registers of the uart-controller of teensy 3.5. But if i do so, the µC get stuck.
"no bug here" is just printed once :-\
any ideas, why i cannot access the register / why the controller get stuck?
i am trying to access registers of the uart-controller of teensy 3.5. But if i do so, the µC get stuck.
Code:
Serial.println("no bug here");
// configure UARTX-Controller:
UART3_C2 &= 0x7f; // disable TIE;
Serial.println("no bug here");
UART3_C2 |= UART_C2_TCIE;
Serial.println("no bug here");
UART3_C5 &= 0x7f; // disable TDMAS;
Serial.println("no bug here");
UART3_C5 |= UART_C5_TCDMAS;
Serial.println("no bug here");
"no bug here" is just printed once :-\
any ideas, why i cannot access the register / why the controller get stuck?
Last edited: