change UART Baudrate

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

change UART Baudrate

600 Views
Hanchun
Contributor I

I make a project in S32DS, but I can't change UART Baudrate. If I change in the table, it will say error

Hanchun_0-1673948054275.png

 

0 Kudos
4 Replies

588 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what S32DS and SDK version do you use? I tried lpuart_echo_s32k144 demo example in S32DS2.2 and SDK 3.0.3 and the baudrate can be changed. Just modify Baudrate item, generate PE code and build project. No error is seen and project is built, elf generated.

BR, Petr

0 Kudos

581 Views
Hanchun
Contributor I

I am using S32DS for arm v2.2 and SDK 3.0. I tried again, and 3000000 is not OK. but others are OK. why 3000000 is not OK, how can I solve it?

Hanchun_1-1674005753852.png

 

0 Kudos

572 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the error displayed is below

PetrS_0-1674048364055.png

So the LPUART clock selected in the clock component is low and 3Mbit cannot be calculated for it.
By default SIRC is selected (8MHz), I think. Go to clock_manager component and select different clock source with higher frequency for your LPUART module.

BR, Petr

0 Kudos

524 Views
Hanchun
Contributor I

Got it, thank you!

0 Kudos