Not applicable
Jul 25, 2013
07:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 25, 2013
07:36 AM
I have used IO004 App to create INPUT pin (P2.11) and use IO004_ReadPin to read the signal of this pin in main() function.
(I already connected P2.11 to GND with hard wire)
Unfortunately, it's always get value '1' when reading. Anyone got this problem?
(I already connected P2.11 to GND with hard wire)
Unfortunately, it's always get value '1' when reading. Anyone got this problem?
- Tags:
- IFX
6 Replies
Jul 26, 2013
12:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2013
12:04 AM
The input pin can be negated (e.g. inverted tristate), check the setting for this port.
Not applicable
Jul 26, 2013
12:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2013
12:59 AM
I did setting this pin to "Tristate", "Pull-Up", "Pull-Down" but still no change.
What I have to do before use ReadPin function??
What I have to do before use ReadPin function??
Jul 26, 2013
01:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2013
01:12 AM
Actually nothing more. Look in to errata, may be this pin is permanently pull-up (this case has the XMC4500 for example).
Not applicable
Jul 26, 2013
01:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2013
01:40 AM
Hi iamten,
Port2 is actually the analog port and in order to use this pin as digital input, you have to choose IO001 instead of IO004.
rgds,
Rou
Port2 is actually the analog port and in order to use this pin as digital input, you have to choose IO001 instead of IO004.
rgds,
Rou
Jul 26, 2013
03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2013
03:03 AM
Dave dosen't allowed manual pin assignment of IO004 App to analog pins. At least for XMC4500.
Not applicable
Jul 26, 2013
05:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2013
05:09 AM
Hi Rou,
I changed to IO001 instead of IO004. It's work!!
Thank you.
iamten
I changed to IO001 instead of IO004. It's work!!
Thank you.
iamten