s32k144 gpio

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

s32k144 gpio

474 Views
fengba_360
Contributor III

Hello, I'm encountering an issue when using the s32k144. During system initialization, when calling PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);

it jumps into the DefaultISR. I've attached my code. Could you please help me with some guidance?

微信图片_20241013213637.png微信图片_20241013213713.png

0 Kudos
Reply
4 Replies

340 Views
V_aug
Contributor I

Hello, did you use an external crystal oscillator? I did not use the external crystal oscillator, and then only opened FIRC, and the same situation occurred. Could you please help me take a look? thank you

0 Kudos
Reply

321 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please click ASK A QUESTION in S32K - NXP Community. Let's discuss in your question thread.

0 Kudos
Reply

440 Views
fengba_360
Contributor III

thanks,I have already solved it, it's because of the crystal oscillator issue

0 Kudos
Reply

450 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please use CLOCK_DRV_Init instead of CLOCK_SYS_Init and CLOCK_SYS_UpdateConfiguration. For more detail, please refer to the discussion in Issue in system clock initialization for S32K148.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" 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