How to access GPIOs on FRDM-LS1012A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to access GPIOs on FRDM-LS1012A

754 Views
hanraaijmakers
NXP Employee
NXP Employee

On Arduino connectors of the FRDM-LS1012A there is suppose to be access to the GPIO pins. By default they seem to be mapped to SDHC. How can they be used through the gpio linux driver?

2 Replies

457 Views
hanraaijmakers
NXP Employee
NXP Employee

I've managed to get a PBL file with the gpio pins available. The defaults have the SDHC1 enabled, which disables the GPIO pins.

457 Views
Pavel
NXP Employee
NXP Employee

The LS1012A RCW is used for pins assignment.

Look at the QorIQ SDK 2.0 Documentation:

http://www.nxp.com/files/soft_dev_tools/doc/support_info/QORIQ-SDK-2.0-IC-REV0.zip?fasp=1&WT_TYPE=Su...

 

See the Sections 4.4.4.4 or 4.4.5.5 of this document for RCW changing.

The LS1012A SDK support sysfs for GPIO using.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------