GPIO_ACTIVE_HIGH in M4 MCU

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

GPIO_ACTIVE_HIGH in M4 MCU

ソリューションへジャンプ
1,946件の閲覧回数
vinothkumars
Senior Contributor IV

Hi All,

 

I have to configure gpio as high. I am doing like that but, It is not working.

 err = sc_pad_set_all(ipc, SC_P_GPT0_CAPTURE, 3U, SC_PAD_CONFIG_NORMAL, SC_PAD_ISO_OFF, 0x60 , SC_PAD_WAKEUP_OFF);
if (SC_ERR_NONE != err)
{
PRINTF(" Make SC_P_GPT0_CAPTURE gpio failed\r\n");
assert(false);
}

 

 

Regards,
Vinothkumar Sekar
ラベル(2)
0 件の賞賛
返信
1 解決策
1,939件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vinothkumar

 

if codes are running from M4 side one can look at SDK_MEK-MIMX8QM examples

https://mcuxpresso.nxp.com/en/welcome

For configuring gpio as high one can look at below link, pay attention to MUX_MODE and GPIO

selection :

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Pad-confi...

 

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,940件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vinothkumar

 

if codes are running from M4 side one can look at SDK_MEK-MIMX8QM examples

https://mcuxpresso.nxp.com/en/welcome

For configuring gpio as high one can look at below link, pay attention to MUX_MODE and GPIO

selection :

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Pad-confi...

 

Best regards
igor

0 件の賞賛
返信
1,935件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you Igor for the quick reply.

 

Yes, I am using same pin mux functionality only.

Will you please provide example for GPIO_ACTIVE_HIGH using sc_pad_set_all .

Regards,
Vinothkumar Sekar
0 件の賞賛
返信
1,923件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you @igorpadykov  please close this ticket. I make it this functionality and it is working

Regards,
Vinothkumar Sekar
0 件の賞賛
返信