AnsweredAssumed Answered

read whole port in kinetis KL46

Question asked by Piotr Dzierzak on May 23, 2015
Latest reply on Dec 6, 2017 by Piotr Dzierzak

I have a trivial problem with kinetis KL46.
Could anyone show me the easiest way to:

1. Configured port C as an input and with the internal pullup resistor

2. Read all port in Kinetis KL46 (for example PTC)

 

I try to use Processor Expert but without success…

To do this I used:

  • to set internal pullup resistors I used PTC:Init_GPIO component
  • to read all port I used GPIO_LDD and method GetPortValue

 

Im using "sharing pin"... It doesn't work. What am I doing wrong?

In Freescale is not possible to configure in Processor Expert portC as input and with internal pullup resistors???

 

 

Second: do you also have some stupid communicats from Kinetis Design Studio: "Unhandled event loop exception No more handles".

This communicate appear frequently when I only CLICK by mouse in edit windows.....

Outcomes