cancel
Showing results for 
Search instead for 
Did you mean: 

SPC5 Uart initialization problem

Rmilko
Associate

Hello I have SPC582B54 and I want to use an UART interface. The problem is that it can't enter the initialization mode. The INIT bit in CR1 is set but the registers (f.e. baud rate registers) could not be written. It does not matter if this bit bit is set or not, the registers behave the same way - as the init mode is not entered. LIN_CLK is 42M (PLL0/1) Core clk 48M, PBRIDGE 24MHz. Is something more I have to do to enter the initialization mode?

1 REPLY 1
Rmilko
Associate

I solved it. SLEEP bit in CR1 must be also cleared.