About PINS_DRV_Init

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,885件の閲覧回数
hongmei
Contributor I

Hello,

Now I use FIRC as clock source. After clock and pin config, I call "CLOCK_DRV_Init(&clockMan1_InitConfig0);" and "PINS_DRV_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);" in main function. But when I run the program, when "uint32_t regValue = config->base->PCR[config->pinPortIdx];" is executed in "PINS_Init" function, hardfault happened. 

My mcu is S32K146.

Could you please tell me the possible reason of this?

0 件の賞賛
返信
1 解決策
2,872件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@hongmei

please provided your project and i will help you find the root cause.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,863件の閲覧回数
hongmei
Contributor I

Hello,  Senlent

Thank you very much for your kindly.

I have solved this problem.

0 件の賞賛
返信
2,404件の閲覧回数
FilippoManghi
Contributor I
Hi @hongmei,
I've the same issue. How did you solve?

Thanks in advance,

Filippo Manghi
0 件の賞賛
返信
2,873件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@hongmei

please provided your project and i will help you find the root cause.

0 件の賞賛
返信