Why I can't set gpio high in ls1021atwr?

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

Why I can't set gpio high in ls1021atwr?

Jump to solution
1,146 Views
2838219522
Contributor III

pastedImage_1.png

When I set EC2 into CAN3,CAN4 through RCW,I shell with "echo out > /sys/class/gpio/gpio443/direction;echo 1 > /sys/class/gpio/gpio443/value",but the GPIO3_27 output low-level.

When I set EC2 into GPIO3 through RCW,I shell with "echo out > /sys/class/gpio/gpio443/direction;echo 1 > /sys/class/gpio/gpio443/value",the GPIO3_27 will output high-level.

Why Reserved can't be used as GPIO?

Labels (1)
Tags (1)
0 Kudos
1 Solution
963 Views
ufedor
NXP Employee
NXP Employee

The functionality in question is by design - only explicitly defined options can be used.

View solution in original post

3 Replies
964 Views
ufedor
NXP Employee
NXP Employee

The functionality in question is by design - only explicitly defined options can be used.

963 Views
2838219522
Contributor III

Thank you,ufedor.

I have anothor question.

In the AN5089.pdf.

pastedImage_1.png

I shell with "md.b 60000000 80" in norflash bank0.display as below.

09 ee 02 00 60 10 00 00

I shell with "md.b 64000000 80" in norflash bank1.display as below.

09 ee 02 00 60 10 00 00       Why PBI don't be 09 ee 02 00 64 10 00 00?

And it can boot from bank1 as well.

It's confused.

0 Kudos
963 Views
ufedor
NXP Employee
NXP Employee

Please pose a new community question or new Technical Case:

https://community.freescale.com/thread/381898 

0 Kudos