How to access GPIOs on FRDM-LS1012A

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to access GPIOs on FRDM-LS1012A

970件の閲覧回数
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 返答(返信)

673件の閲覧回数
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.

673件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------