S32K348 set the pit2

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

S32K348 set the pit2

Jump to solution
660 Views
youngkin
Contributor III

hello:

now i set the pit0 as timer , The timer function is operating normally。

but  i set  the pit2 as timer,The timer function is not operating normally。

i  Set pit2 as shown in the following figure:

youngkin_0-1760765773730.png

youngkin_1-1760765802040.png

youngkin_2-1760765832578.png

when  i  debug  the pit2,When executing function(Pit_Ip_Init(2, PIT_2_CH_0);), it will enter a hardware error(HardFault_Handler)。if  only debug pit0,it is ok。

youngkin_3-1760765913654.png

youngkin_4-1760766029094.png

 

and I have reviewed the information,PIT2 of S32K3 is connected to the AIPS1 bus, and the AIPS1 clock is turned off by default when powered on。

I want to  set  the mcu  moudle,but  i can not  find “McuPeripheralClkConfig” 

youngkin_0-1760766564219.pngyoungkin_1-1760766666296.png

 

How can I activate this AIPS1  through the configuration tool。

Thank you for taking the time to answer. 

 

 

Tags (1)
0 Kudos
Reply
1 Solution
594 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please configure the McuPeripheral -> Peripheral Clock Enable in Mcu(MCAL) component by refer to the discussion in S32K312EVB-Q172 UART Example not working

Please ensure that you use your company email address when communicating with NXP so that we can prioritize your question accordingly. Because when resources are limited, we are unable to support customers writing from generic email accounts such as gmail.com or qq.com or similar.
Thank you for your understanding.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
595 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please configure the McuPeripheral -> Peripheral Clock Enable in Mcu(MCAL) component by refer to the discussion in S32K312EVB-Q172 UART Example not working

Please ensure that you use your company email address when communicating with NXP so that we can prioritize your question accordingly. Because when resources are limited, we are unable to support customers writing from generic email accounts such as gmail.com or qq.com or similar.
Thank you for your understanding.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2188575%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K348%20set%20the%20pit2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2188575%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehello%3A%3C%2FP%3E%3CP%3Enow%20i%20set%20the%20pit0%20as%20timer%20%2C%26nbsp%3BThe%20timer%20function%20is%20operating%20normally%E3%80%82%3C%2FP%3E%3CP%3Ebut%26nbsp%3B%20i%20set%26nbsp%3B%20the%20pit2%20as%20timer%EF%BC%8CThe%20timer%20function%20is%20not%20operating%20normally%E3%80%82%3C%2FP%3E%3CP%3Ei%26nbsp%3B%20Set%20pit2%20as%20shown%20in%20the%20following%20figure%EF%BC%9A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22youngkin_0-1760765773730.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22youngkin_0-1760765773730.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361479i45B5941BCE10B0B7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22youngkin_0-1760765773730.png%22%20alt%3D%22youngkin_0-1760765773730.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%22youngkin_1-1760765802040.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22youngkin_1-1760765802040.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361480i7EA7D599264C43E7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22youngkin_1-1760765802040.png%22%20alt%3D%22youngkin_1-1760765802040.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%22youngkin_2-1760765832578.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22youngkin_2-1760765832578.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361481i1F35F6C7E10D92E6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22youngkin_2-1760765832578.png%22%20alt%3D%22youngkin_2-1760765832578.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ewhen%26nbsp%3B%20i%26nbsp%3B%20debug%26nbsp%3B%20the%20pit2%EF%BC%8CWhen%20executing%20function(Pit_Ip_Init(2%2C%20PIT_2_CH_0)%3B)%2C%20it%20will%20enter%20a%20hardware%20error%EF%BC%88HardFault_Handler%EF%BC%89%E3%80%82if%26nbsp%3B%20only%20debug%20pit0%EF%BC%8Cit%20is%20ok%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22youngkin_3-1760765913654.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22youngkin_3-1760765913654.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361482iB65132D851D27CA8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22youngkin_3-1760765913654.png%22%20alt%3D%22youngkin_3-1760765913654.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%22youngkin_4-1760766029094.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22youngkin_4-1760766029094.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361483i58F328C2750E9AA8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22youngkin_4-1760766029094.png%22%20alt%3D%22youngkin_4-1760766029094.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eand%20I%20have%20reviewed%20the%20information%EF%BC%8CPIT2%20of%20S32K3%20is%20connected%20to%20the%20AIPS1%20bus%2C%20and%20the%20AIPS1%20clock%20is%20turned%20off%20by%20default%20when%20powered%20on%E3%80%82%3C%2FP%3E%3CP%3EI%20want%20to%26nbsp%3B%20set%26nbsp%3B%20the%20mcu%26nbsp%3B%20moudle%EF%BC%8Cbut%26nbsp%3B%20i%20can%20not%26nbsp%3B%20find%26nbsp%3B%3CSTRONG%3E%E2%80%9CMcuPeripheralClkConfig%E2%80%9D%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22youngkin_0-1760766564219.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22youngkin_0-1760766564219.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361484i051409FA95C8887F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22youngkin_0-1760766564219.png%22%20alt%3D%22youngkin_0-1760766564219.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22youngkin_1-1760766666296.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22youngkin_1-1760766666296.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361485i59C3EC0FA44FC269%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22youngkin_1-1760766666296.png%22%20alt%3D%22youngkin_1-1760766666296.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHow%20can%20I%20activate%20this%20%3CSTRONG%3EAIPS1%26nbsp%3B%3C%2FSTRONG%3E%20through%20the%20configuration%20tool%E3%80%82%3C%2FP%3E%3CP%3EThank%20you%20for%20taking%20the%20time%20to%20answer.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2188859%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K348%20set%20the%20pit2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2188859%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20configure%20the%20McuPeripheral%20-%26gt%3B%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EPeripheral%20Clock%20Enable%3C%2FSTRONG%3E%20in%20%3CSTRONG%3EMcu%3C%2FSTRONG%3E(MCAL)%20component%26nbsp%3B%3CSPAN%3Eby%20refer%20to%20the%20discussion%20in%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K312EVB-Q172-UART-Example-not-working%2Ftd-p%2F1762274%22%20target%3D%22_self%22%3E%3CSPAN%3ES32K312EVB-Q172%20UART%20Example%20not%20working%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20ensure%20that%20you%20use%20your%20company%20email%20address%20when%20communicating%20with%20NXP%20so%20that%20we%20can%20prioritize%20your%20question%20accordingly.%20Because%20when%20resources%20are%20limited%2C%20we%20are%20unable%20to%20support%20customers%20writing%20from%20generic%20email%20accounts%20such%20as%20gmail.com%20or%20qq.com%20or%20similar.%3CBR%20%2F%3EThank%20you%20for%20your%20understanding.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22ACCEPT%20AS%20SOLUTION%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E