AnsweredAssumed Answered

fsl_gpio Best Practice?

Question asked by Audi McAvoy on Apr 17, 2015
Latest reply on Apr 20, 2015 by Audi McAvoy

Using PE, it seems I should add one copy of fsl_gpio for each port I want to use.  In fact, the tabs view of the Component Inspector has a drop-down list where I can pick a port.

 

fsl_gpio.png

But, it doesn't seem to work this way.  Adding a second fsl_gpio component causes errors (which seems to be directly related to the Device selection).

 

Turning off the tabs view doesn't help -- it just hides the Device option.

 

So for right now, I have all of my GPIO configured in one instance of fsl_gpio.  It can be a little awkward, the pins are scattered around multiple ports.  Some of the pins are accessed individually.  Some are accessed in groups.

 

Is this the best approach?  Is there a better way?

 

How are you handling your GPIO?

Outcomes