hardfault issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

hardfault issue

467件の閲覧回数
pandi
Contributor III

 In mkv31f12vll12 controller using ADC inject trigger method  configure when I configure  PWM pin program stuck in HARDFAULT HANDLER  any suggestion let me know

The below line is for configuring PWM pin

PORT_SetPinMux(BOARD_FTM0_CH0_PORT, BOARD_FTM0_CH0_PIN, kPORT_MuxAlt4);

  1. Screenshot 2023-12-29 110031.pngScreenshot 2023-12-29 120029.pngScreenshot 2023-12-29 120058.pngScreenshot 2023-12-29 120129.png

 

 

 

0 件の賞賛
返信
2 返答(返信)

429件の閲覧回数
pandi
Contributor III

if anyone know let me Hardfault issue

BR

PANDI

0 件の賞賛
返信

421件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Before you write the PORTx_PCRn reg, you have to enable the PORTx gated clock by setting the PORTx bit in SIM_SCGC5 reg.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1704250334423.png

 

0 件の賞賛
返信