for imx6ull, how to configure JTAG_SCK as GPIO OUT

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

for imx6ull, how to configure JTAG_SCK as GPIO OUT

705 次查看
michael_yang
Contributor II
for imx6ull, how to configure JTAG_SCK as GPIO OUT
0 项奖励
回复
1 回复

692 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

I hope you are doing well.

You need to add it on device tree.

First you need to be sure that you are not using JTAG_SCK for other functions, if you are using it you need to disable it.

If you are not using it for other functions, you can only add it, here an example:

&iomuxc {
	pinctrl-names = "default";
	pinctrl-0 = <&BOARD_InitPins>;
	imx6ull-board {
		BOARD_InitPins: BOARD_InitPinsGrp {                /*!< Function assigned for the core: Cortex-A7[ca7] */
			fsl,pins = <
				MX6UL_PAD_JTAG_TCK__GPIO1_IO14             0x000070A0
			>;
		};
	};
};

With GPIO1_IO14 configured, it can be accessed from UserSpace.

Best regards.

0 项奖励
回复