s32k144 gpio

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

s32k144 gpio

1,880 次查看
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 项奖励
回复
4 回复数

1,746 次查看
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 项奖励
回复

1,727 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,846 次查看
fengba_360
Contributor III

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

0 项奖励
回复

1,856 次查看
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 项奖励
回复