SK-FM4-216-ETHERNET can't use some GPIO's

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GeGa_1196981
Level 2
Level 2
10 sign-ins 5 replies posted 5 sign-ins

I'm now able to manipulate GPIO using this statements:

Gpio1pin_InitIn(GPIO1PIN_PA4, Gpio1pin_InitPullup(1u));
Gpio1pin_Put(GPIO1PIN_PA6, 1);

but it only works with a few ports, when I try this:

Gpio1pin_InitIn(GPIO1PIN_P50, Gpio1pin_InitPullup(1u));

it gives me this warning and error:

..\source\main.c(299): warning: #223-D: function "GPIO1PIN_P50_INITIN" declared implicitly
.\output\release\s6e2ccxh_template.axf: Error: L6218E: Undefined symbol GPIO1PIN_P50_INITIN (referred from main.o).

 

what I'm doing wrong? is there any other way manipulate ports?

0 Likes
1 Solution
Roy_Liu
Moderator
Moderator
Moderator
First comment on KBA 10 questions asked First comment on blog

Hi,

Looking at the warning and error message looks like s6e2ccxh does not have P50, while s6e2ccxl( the device assembled on the SK-FM4-216-ETHERNET board) has P50.

Roy Liu

View solution in original post

0 Likes
2 Replies
Roy_Liu
Moderator
Moderator
Moderator
First comment on KBA 10 questions asked First comment on blog

Hi,

Looking at the warning and error message looks like s6e2ccxh does not have P50, while s6e2ccxl( the device assembled on the SK-FM4-216-ETHERNET board) has P50.

Roy Liu
0 Likes
GeGa_1196981
Level 2
Level 2
10 sign-ins 5 replies posted 5 sign-ins

Yes, that was my problem, I was using a different template, I could program the device anyway so I was misleading by that, thank you, it works well now.

0 Likes