imx6ull

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

imx6ull

538件の閲覧回数
chenchenchen
Contributor II

Hello:

        I try to use JTAG_TDI pad as a gpio, but I find that I can't control it's output

        and JTAG_TMS pin as a gpio works well.why? 

       

chenchenchen_0-1669175868989.png

Thanks

 

0 件の賞賛
3 返答(返信)

520件の閲覧回数
riteshmpatel
NXP TechSupport
NXP TechSupport

Hi @chenchenchen,

I hope you are doing well.

In the attached image of Pad IO and control configurations, the 0x03b1 value will be written to the IOMUXC_SW_PAD_CTL_PAD_JTAG_TDI register.
MX6UL_PAD_JTAG_TDI__GPIO1_IO13       0x03b1

0x03b1 value will write to the [9:8] bitfield, which is reserved. One should use the default value 0x1b0b0.

Please apply the below change to dts:

- MX6UL_PAD_JTAG_TDI__GPIO1_IO13 0x03b1
+ MX6UL_PAD_JTAG_TDI__GPIO1_IO13 0x1b0b0

OR

Alternatively, one can configure this value according to one's requirements by referring to Section 32.6.150 SW_PAD_CTL_PAD_JTAG_TDI SW PAD Control in i.MX 6ULL Applications Processor Reference Manual.

Thanks & Regards,
Ritesh M Patel

0 件の賞賛

510件の閲覧回数
chenchenchen
Contributor II

Hello:

      Thanks for your response.

       It is solved.

       I make a mistake to write GPIO5_IOx at devicetree of iomuxc, GPIO_IOx conf reg offset is equal to

      JTAG_XX mux mode reg offset. it is conflict.

0 件の賞賛

506件の閲覧回数
riteshmpatel
NXP TechSupport
NXP TechSupport

Hi @chenchenchen,

Thanks for the update.

Since the issue is resolved, I am closing this case.

Please raise a new ticket, if you have any new questions.

Thanks & Regards,
Ritesh M Patel

0 件の賞賛