LPUART_Init Failed, enter DefaultISR.

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

LPUART_Init Failed, enter DefaultISR.

ソリューションへジャンプ
1,306件の閲覧回数
whale
Contributor III

S32DS v3.5 + S32SDK RTM 4.0.1
examples: S32K144/driver_examples/communication/uart_pal_echo


In this example, we modified the TX of LPUART in pin_mux.c to PTC9 and RX to PTC8.
Added PCC_SetClockMode between CLOCK_SYS_UpdateConfiguration and PINS_DRV_Init in main.c, otherwise the program would enter DefaultISR at line 139 in pins_port_hw_access.c.

But after circumventing this issue, when initializing the LPUART_DRV_Init, the problem as shown in the picture occurs.

Instead of using an EVB board, we use a development board of our own design.


What is the reason for this issue? How to modify it?

whale_1-1688541152846.png

0 件の賞賛
返信
1 解決策
1,291件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@whale

I just followed your test process.

1.modified pin mux

Senlent_0-1688610131852.png

2.debug process is ok on myside.

Senlent_1-1688610159887.png

 

So don't doubt whether there is a problem with this demo, you may need to check your hardware, such as external crystal oscillator,because the lpuart module clock source is external crystal oscillator in this demo.

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,292件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@whale

I just followed your test process.

1.modified pin mux

Senlent_0-1688610131852.png

2.debug process is ok on myside.

Senlent_1-1688610159887.png

 

So don't doubt whether there is a problem with this demo, you may need to check your hardware, such as external crystal oscillator,because the lpuart module clock source is external crystal oscillator in this demo.

 

0 件の賞賛
返信