[S32K3] about LVD Interrupt

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

[S32K3] about LVD Interrupt

87 Views
ssean
Contributor IV

Hello,

I am trying to use the LVD interrupt feature on the S32K3 MCU.

I set LVDIEEnable = true in the MCU configuration.
Although 5V is currently supplied to the MCU, Power_Ip_PMC_VoltageErrorIsr() keeps being triggered continuously.
I would like to ask if this is normal behavior, or if I have misconfigured something.

 

ssean_0-1791874212868.png

ssean_1-1791874253693.png

ssean_2-1791874284581.png

 

 

 

Tags (1)
0 Kudos
Reply
3 Replies

53 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @ssean,

If LVD5AF stays set after you clear it.

The voltage must be lower than the specified threshold:

danielmartynek_0-1791887685044.png

Can you measure the voltage?

 

Thanks,

Daniel

0 Kudos
Reply

41 Views
ssean
Contributor IV

Hello, @danielmartynek 

 

A voltage of 5V is being applied to the following pins:

Using a 100-pin MCU (FS32K312NHT0VPAST)

VREFH: PIN 8
VDD_HV_A: PIN 10
VDD_HV_A-2: PIN 37
VDD_HV_A-3: PIN 62
VDD_HV_A-4: PIN 87

Although 5V is supplied, the LVD5AF flag register keeps being set.
Are there any additional points or registers I should check?

 

BRs,

Sean

Tags (1)
0 Kudos
Reply

11 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Can you please specif the part number?

Which RTD revision do you use?

 

Thank you,

Daniel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2420571%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%5BS32K3%5D%20about%20LVD%20Interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2420571%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20use%20the%20LVD%20interrupt%20feature%20on%20the%20S32K3%20MCU.%3C%2FP%3E%3CP%3EI%20set%20LVDIEEnable%20%3D%20true%20in%20the%20MCU%20configuration.%3CBR%20%2F%3EAlthough%205V%20is%20currently%20supplied%20to%20the%20MCU%2C%20Power_Ip_PMC_VoltageErrorIsr()%20keeps%20being%20triggered%20continuously.%3CBR%20%2F%3EI%20would%20like%20to%20ask%20if%20this%20is%20normal%20behavior%2C%20or%20if%20I%20have%20misconfigured%20something.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ssean_0-1791874212868.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ssean_0-1791874212868.png%22%20style%3D%22width%3A%20234px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397864iB1464554C5C83F33%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ssean_0-1791874212868.png%22%20alt%3D%22ssean_0-1791874212868.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ssean_1-1791874253693.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ssean_1-1791874253693.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397865i5702FAD1185E5847%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ssean_1-1791874253693.png%22%20alt%3D%22ssean_1-1791874253693.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ssean_2-1791874284581.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ssean_2-1791874284581.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397866i68264B7D16A52802%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ssean_2-1791874284581.png%22%20alt%3D%22ssean_2-1791874284581.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2420832%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BS32K3%5D%20about%20LVD%20Interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2420832%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F160001%22%20target%3D%22_blank%22%3E%40danielmartynek%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EA%20voltage%20of%205V%20is%20being%20applied%20to%20the%20following%20pins%3A%3C%2FP%3E%3CP%3EUsing%20a%20100-pin%20MCU%20(FS32K312NHT0VPAST)%3C%2FP%3E%3CP%3EVREFH%3A%20PIN%208%3CBR%20%2F%3EVDD_HV_A%3A%20PIN%2010%3CBR%20%2F%3EVDD_HV_A-2%3A%20PIN%2037%3CBR%20%2F%3EVDD_HV_A-3%3A%20PIN%2062%3CBR%20%2F%3EVDD_HV_A-4%3A%20PIN%2087%3C%2FP%3E%3CP%3EAlthough%205V%20is%20supplied%2C%20the%20LVD5AF%20flag%20register%20keeps%20being%20set.%3CBR%20%2F%3EAre%20there%20any%20additional%20points%20or%20registers%20I%20should%20check%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBRs%2C%3C%2FP%3E%3CP%3ESean%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2420708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20%5BS32K3%5D%20about%20LVD%20Interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2420708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F215656%22%20target%3D%22_blank%22%3E%40ssean%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EIf%20LVD5AF%20stays%20set%20after%20you%20clear%20it.%3C%2FP%3E%0A%3CP%3EThe%20voltage%20must%20be%20lower%20than%20the%20specified%20threshold%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielmartynek_0-1791887685044.png%22%20style%3D%22width%3A%20745px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielmartynek_0-1791887685044.png%22%20style%3D%22width%3A%20745px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F397881i138A920037E993D9%2Fimage-dimensions%2F745x118%3Fv%3Dv2%22%20width%3D%22745%22%20height%3D%22118%22%20role%3D%22button%22%20title%3D%22danielmartynek_0-1791887685044.png%22%20alt%3D%22danielmartynek_0-1791887685044.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ECan%20you%20measure%20the%20voltage%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E