Unable to drive output on GPIO data register of T1040

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

Unable to drive output on GPIO data register of T1040

跳至解决方案
1,740 次查看
suchitasharma
Contributor I

Hi, We are using T1040RDB based and tried changing the value of GPIO's direction and data registers from u boot using MM and MW command. We were able change the values of direction register but not the data register. We have checked the Reset Configuration word values also and it is appropriate.

Can u help with the issue and what else can be done to change the register values?

0 项奖励
回复
1 解答
1,671 次查看
ufedor
NXP Employee
NXP Employee

You wrote:

> According to our schematics bits 366-368 needs to be 011(referring T1040 RM).

The RM is correct, but in the provided RCW dump the setting is 110.

Correct is:

00000000: 0818000e 0e000000 00000000 00000000

00000010: 69000002 80000002 ec027000 21000000

00000020: 00000000 00000000 00000000 0001a000

00000030: 00000000 00025a8f 00000000 00000000

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,646 次查看
suchitasharma
Contributor I

Thanks. I m able to drive GPIO data register now.

0 项奖励
回复
1,693 次查看
ufedor
NXP Employee
NXP Employee

You wrote:

> We were able change the values of direction register but not the data register.

What exactly do you mean? Please provide corresponding log (as text).

 

> We have checked the Reset Configuration word values also and it is appropriate.

What 'appropriate' means?

Please provide U-Boot log (as text).

Explain which exactly GPIO signals are probed and how this signals are connected (PDF schematics).

0 项奖励
回复
1,685 次查看
suchitasharma
Contributor I

> We tried writing on direction register(0xfe130000) and data register(0xfe130008). But on the output data registers is not reflected.

Please find the log follows:
=> md 0xfe130000
fe130000: 00000000 00000000 00000000 00000000 ................
fe130010: 00000000 00000000 00000000 00000000 ................
fe130020: 00000000 00000000 00000000 00000000 ................
fe130030: 00000000 00000000 00000000 00000000 ................
fe130040: 00000000 00000000 00000000 00000000 ................
fe130050: 00000000 00000000 00000000 00000000 ................
fe130060: 00000000 00000000 00000000 00000000 ................
fe130070: 00000000 00000000 00000000 00000000 ................
fe130080: 00000000 00000000 00000000 00000000 ................
fe130090: 00000000 00000000 00000000 00000000 ................
fe1300a0: 00000000 00000000 00000000 00000000 ................
fe1300b0: 00000000 00000000 00000000 00000000 ................
fe1300c0: 00000000 00000000 00000000 00000000 ................
fe1300d0: 00000000 00000000 00000000 00000000 ................
fe1300e0: 00000000 00000000 00000000 00000000 ................
fe1300f0: 00000000 00000000 00000000 00000000 ................
=> mm 0xfe130000
fe130000: 00000000 ? 00002c00
fe130004: 00000000 ? 00000000
fe130008: 00000000 ? 00000c00
fe13000c: 00000000 ? .
=> md 0xfe130000
fe130000: 00002c00 00000000 00000000 00000000 ..,.............
fe130010: 00000000 00000000 00000000 00000000 ................
fe130020: 00000000 00000000 00000000 00000000 ................
fe130030: 00000000 00000000 00000000 00000000 ................
fe130040: 00000000 00000000 00000000 00000000 ................
fe130050: 00000000 00000000 00000000 00000000 ................
fe130060: 00000000 00000000 00000000 00000000 ................
fe130070: 00000000 00000000 00000000 00000000 ................
fe130080: 00000000 00000000 00000000 00000000 ................
fe130090: 00000000 00000000 00000000 00000000 ................
fe1300a0: 00000000 00000000 00000000 00000000 ................
fe1300b0: 00000000 00000000 00000000 00000000 ................
fe1300c0: 00000000 00000000 00000000 00000000 ................
fe1300d0: 00000000 00000000 00000000 00000000 ................
fe1300e0: 00000000 00000000 00000000 00000000 ................
fe1300f0: 00000000 00000000 00000000 00000000 ................

> According to our schematics bits 366-368 needs to be 011(referring T1040 RM). Please find the following dump of RCW.
Reset Configuration Word (RCW):
00000000: 0818000e 0e000000 00000000 00000000
00000010: 69000002 80000002 ec027000 21000000
00000020: 00000000 00000000 00000000 00032000
00000030: 00000000 00025a8f 00000000 00000000
Also check the attached schematic screenshot.

schem_screenshot.jpg

> Pin Numbers Y2, Y1, W4, AA4, Y4, V4 are the GPIO’s of the Processor T1040 (referring T1040 data sheet). Please find the attached signal diagram that explains the signals of the mentioned pins and these signals are probed.

T1040_signals.png

0 项奖励
回复
1,672 次查看
ufedor
NXP Employee
NXP Employee

You wrote:

> According to our schematics bits 366-368 needs to be 011(referring T1040 RM).

The RM is correct, but in the provided RCW dump the setting is 110.

Correct is:

00000000: 0818000e 0e000000 00000000 00000000

00000010: 69000002 80000002 ec027000 21000000

00000020: 00000000 00000000 00000000 0001a000

00000030: 00000000 00025a8f 00000000 00000000

0 项奖励
回复