Pin not working XMC2Go

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

cross mob
Not applicable
Hi,
I got a XMC2Go (XMC1100) and I ran in to a problem. For test purposes I'm just trying to turn on and of a LED, which is working fine with pins like the P0_6 or P0_7.
Using this really basic code:

P0_6_set_mode(OUTPUT_PP_GP);
P0_6_set();


But If I try the same thing with the P2_7 nothing happens.

P2_7_set_mode(OUTPUT_PP_GP);
P2_7_set();


What am I doing wrong?
0 Likes
1 Reply
chismo
Employee
Employee
First like received
Hello,

In the XMC1100, P2.2 to P2.9 are analog/digital input only pins.
How about using P2.0, P2.10 or P2.11 which are with the output functions and also available on XMC2Go?

Regards,
Min Wei
0 Likes