Skip to main content
Rmilko
Associate
January 11, 2023
Question

SPC5 Uart initialization problem

  • January 11, 2023
  • 1 reply
  • 1340 views

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?

This topic has been closed for replies.

1 reply

Rmilko
RmilkoAuthor
Associate
January 11, 2023

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