Call LPSPI_DRV_MasterTransferBlocking on S32K144

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

Call LPSPI_DRV_MasterTransferBlocking on S32K144

7,849 Views
bryan_hong
Senior Contributor I

Dear NXP

If LPSPI_DRV_MasterTransferBlocking be called, wdog_ewm_irqhandler error present.

plz lookup attached file rtos.c line 62.

thanks
Bryan

0 Kudos
Reply
11 Replies

7,830 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @bryan_hong,

This is probably a fault exception.

You need to have at least HardFault_Handler() implemented in the project.

Refer to this document / example

https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447

 

Thank you,

BR, Daniel

0 Kudos
Reply

7,809 Views
bryan_hong
Senior Contributor I

Dear @danielmartynek 

thanks for your comments.

bryan_hong_0-1698107691232.png

I open Example_S32K144_Fault_Handling_v2_S32DS22\ then can not find CFSR to check DIVBYZERO like below.

bryan_hong_1-1698107767987.png

 

thanks
Bryan

0 Kudos
Reply

7,797 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Bryan,

Select the register in Peripheral Register.

Then, the register can be read in the Watch registers view.

danielmartynek_0-1698136375053.png

 

Regards,

Daniel

 

0 Kudos
Reply

7,793 Views
bryan_hong
Senior Contributor I

Hi Daniel

I click Window->Peripherals Registers

then Anything did not present

bryan_hong_1-1698137740856.png

then I click Window->Watch registers, also Anything did not present

bryan_hong_2-1698137853071.png

I need more detail description 

bryan_hong_0-1698137945607.png

 

thanks
Bryan

0 Kudos
Reply

7,789 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Are the registers missing in your own project and RTD examples?

Or is it just the imported one?

 

Regards,

Daniel

 

0 Kudos
Reply

7,768 Views
bryan_hong
Senior Contributor I

Dear Daniel

I use Example Example_S32K144_Fault_Handling_v2_S32DS22.zip on https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447

bryan_hong_0-1698192474709.png

and I did not import anything for this issue.

thanks
Bryan

 

0 Kudos
Reply

7,741 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @bryan_hong,

Can you create a new project from SDK/RTD example a test the view in active debug session?

If this does not work either, can you try with a new workspace?

 

Thanks,

Daniel

0 Kudos
Reply

7,735 Views
bryan_hong
Senior Contributor I

hi @danielmartynek 

You have captured two below. right?

bryan_hong_1-1698224820851.png

bryan_hong_2-1698224921759.png

and The below is my status. At that time, I can't this on `Peripheral Registers` and  `CFSR EmbSys Register`.

bryan_hong_3-1698226296946.png

bryan_hong_4-1698226381174.png

I create a new project from SDK/RTD example, It's same too. and this is not related with workspace.

I will wait your feedback today.

thanks
Bryan

0 Kudos
Reply

7,732 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Bryan,

An expert on the IDE has recommended testing it with a new workspace.

Since this issues is not related to neither LPSPI nor Fault exceptions, can you create a new thread on the S32DS community?

https://community.nxp.com/t5/S32-Design-Studio/bd-p/s32ds

 

Regards,

Daniel

0 Kudos
Reply

7,726 Views
bryan_hong
Senior Contributor I
0 Kudos
Reply

7,588 Views
bryan_hong
Senior Contributor I

Hi @danielmartynekDaniel

sorry for delaying answer, 

As you know, I had found how to check CSFR register.
https://community.nxp.com/t5/S32-Design-Studio/how-to-check-CSFR-on-S32SD/td-p/1745845

so, I ask my customer to capture the CSFR when the wdog_ewm_irqhandler error was occurred at customer's source and send it to me.

BTW, my customer did not answer for this yet. so I close this case for now and I will reopen for this as soon as I get the answer from customer.

thanks for your helps again~

thanks
Bryan