Toggle Gpio pin in ls1021 atwr

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

Toggle Gpio pin in ls1021 atwr

Jump to solution
1,374 Views
sujay1
Contributor V

I'm trying to toggle gpio3_31 pin through sysfs in the ls1021atwr board.

I tried export 1 > gpio47/value

but the value remains 0, do I need to change the rcw configuration in u-boot? 

this is the ls102xa_rcw_sd_ifc.cfg file 

#PBL preamble and RCW header
aa55aa55 01ee0100

#enable IFC, disable QSPI and DSPI
0608000a 00000000 00000000 00000000
30000000 00007900 60040a00 21046000
00000000 00000000 00000000 20000000
00080000 881b7340 00000000 00000000

I'd like to modify the rcw image without using codewarrior can you please suggest which field to modify and what value to be added

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,364 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please configure RCW[EC3] (422-424) as 001.

Please refer to the following from LS1021A Reference Manual.

yipingwang_0-1598939245534.png

 

View solution in original post

0 Kudos
1 Reply
1,365 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please configure RCW[EC3] (422-424) as 001.

Please refer to the following from LS1021A Reference Manual.

yipingwang_0-1598939245534.png

 

0 Kudos