S32K334 with SW32K3_RTD_4.4_1.0.0, Interrupt

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

S32K334 with SW32K3_RTD_4.4_1.0.0, Interrupt

1,032 Views
AnhNguyenDuc
NXP Employee
NXP Employee

I'm migrating from K1( with S32SDK_S32K1xx_RTM_3.0.0) to K3(with SW32K3_RTD_4.4_1.0.0).

I see "interrupt_manager.h" in K1 is same as "IntCtrl_Ip.h" in K3, functions:

INT_SYS_SetPriority = IntCtrl_Ip_SetPriority

INT_SYS_InstallHandler = IntCtrl_Ip_InstallHandler

....

but, INT_SYS_EnableIRQGlobal, INT_SYS_DisableIRQGlobal functions I can't see any functions in K3 is the same. Who can help me do this ?

0 Kudos
Reply
3 Replies

1,000 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @AnhNguyenDuc,

I see that the drivers call OsIf_SuspendAllInterrupts() on enterring a critical section.

danielmartynek_0-1642692891042.png

 

Regards,

Daniel

 

 

 

0 Kudos
Reply

984 Views
AnhNguyenDuc
NXP Employee
NXP Employee

Yes, but I got the error when I using this function

error: implicit declaration of function 'OsIf_SuspendAllInterrupts' [-Werror=implicit-function-declaration]
325 | OsIf_SuspendAllInterrupts();

My project has the header (OsIf_internal.h)

Ducanh_0-1642694257416.png

 

0 Kudos
Reply

967 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @AnhNguyenDuc,

I just tries with the Power_Ip_Example_S32K344.

Without adding anything to the project, I can compile the OsIf_SuspendAllInterrupts() function in main.c

 

Can check on your side?

 

BR, Daniel

0 Kudos
Reply