change UART Baudrate

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

change UART Baudrate

645件の閲覧回数
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 返答(返信)

633件の閲覧回数
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 件の賞賛

626件の閲覧回数
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 件の賞賛

617件の閲覧回数
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 件の賞賛

569件の閲覧回数
Hanchun
Contributor I

Got it, thank you!

0 件の賞賛