XMC1200 Ports 2.10, 2.11 as digital inputs problem

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

cross mob
Not applicable
Hello,

I have issue with ports 2.10 and 2.11. IO004 app does not work. IO004_ReadPin() returns one and same value regardless of the level of that pin. I have tried it to combine them and use IO003 but without success. IO002 is not working too. I need to read those as a part from my device DMX address. Do I need to use anything additional?
Unfortunatelly I do not have time for debugging the HW or Infineon. I thought it will work as they say?!
Thanks
0 Likes
2 Replies
Not applicable
Hi,

Port 2 is an analog port, hence the pins need to be enabled as digital input in order to work.
For analog pin configuration, you need to use IO001 app instead of IO004.
0 Likes
Not applicable
Thanks. It works now!
0 Likes