S32K322 interrupts

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

S32K322 interrupts

Jump to solution
1,154 Views
vignesh3
Contributor II

I need to use EIRQ[31] on PB17, If I need to configure this PB17 as external interrupt means I need to configure IMCR[559] but in S32K322 I have IMCR only up to IMCR[409]. How can I configure IMCR[559] in S32K322.

0 Kudos
Reply
1 Solution
1,135 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @vignesh3,

This is specified in the RM:

danielmartynek_0-1730712881490.png

 

BR, Daniel

View solution in original post

0 Kudos
Reply
4 Replies
1,120 Views
vignesh3
Contributor II

Hi  danielmartynek,

How many IMCR register is there in S32K322.

that did not mentioned in RM, I need to config EIRQ[31] that means IMCR[559] I need to write but this register is not there in S32K322.

 

 

0 Kudos
Reply
1,117 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @vignesh3,

IMCR_512 (in the excel) is IMCR[0] in RM.

559 - 512 = 47.

Use IMCR[47].

I would recommned using the RTD drivers for that.

 

Regards,

Daniel

 

0 Kudos
Reply
1,136 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @vignesh3,

This is specified in the RM:

danielmartynek_0-1730712881490.png

 

BR, Daniel

0 Kudos
Reply
965 Views
vignesh3
Contributor II
Hi @danielmartynek,
It is working thanks for the support.