How to access GPIOs on FRDM-LS1012A

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to access GPIOs on FRDM-LS1012A

936 次查看
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 回复数

639 次查看
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.

639 次查看
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!
-----------------------------------------------------------------------------------------------------------------------