Not applicable
Dec 25, 2015
01:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 25, 2015
01:12 PM
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:
But If I try the same thing with the P2_7 nothing happens.
What am I doing wrong?
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?
1 Reply
Dec 27, 2015
08:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 27, 2015
08:57 PM
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
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