LPUART_Init Failed, enter DefaultISR.

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

LPUART_Init Failed, enter DefaultISR.

Jump to solution
1,732 Views
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 Kudos
Reply
1 Solution
1,717 Views
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.

 

View solution in original post

0 Kudos
Reply
1 Reply
1,718 Views
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 Kudos
Reply