change UART Baudrate

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

change UART Baudrate

2,355 次查看
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 项奖励
回复
4 回复数

2,342 次查看
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 项奖励
回复

2,335 次查看
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 项奖励
回复

2,326 次查看
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 项奖励
回复

2,278 次查看
Hanchun
Contributor I

Got it, thank you!

0 项奖励
回复