IMX6SOLO MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 PULL DOWN in U-Boot

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

IMX6SOLO MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 PULL DOWN in U-Boot

3,513件の閲覧回数
guillaume_costa
Contributor I

Hi,

 

I Want to set this pin in pull down mode during u-boot phase start-up to respect the display sequence power on. When I measure the signal, directly at the output of the PIN, it is in pull up state.

You can find here my u-boot dtsi configuration :

&iomuxc {

u-boot,dm-pre-proper;
pinctrl-names = "default";
pinctrl-0 = <&BOARD_InitPins>;

imx6s-board {

BOARD_InitPins: BOARD_InitPinsgrp { /*!< Function assigned for the core: Cortex-A9[ca9] */

fsl,pins = <
MX6QDL_PAD_EIM_DA0__SRC_BOOT_CFG00 0x0000B0B1
MX6QDL_PAD_EIM_DA1__SRC_BOOT_CFG01 0x0000B0B1

......


/*RGB PINS*/
......
MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x000130B0
........


};
};

If you have any idea.

Thank you for the help

 

Guillaume

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

1,441件の閲覧回数
Livingspace81
Contributor I

To set the pin in pull-down mode during U-Boot phase startup, modify the value of MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 in the BOARD_InitPins section of your dtsi file from 0x000130B0 to 0x000120B0. Recompile and update the device tree binary (dtb) file for the changes to take effect. Let me know if you have more questions. Carports

0 件の賞賛

3,381件の閲覧回数
xapore82
Contributor I

suggest to connect jtag debugger and toggle pin (configure as gpio), probably it is shorted to

other signal. Bedside Tables

0 件の賞賛

3,501件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Guillaume

 

dtsi configuration looks as correct, reason may be that lcd has internally more strong pull-up

resistor than i.MX6S 100K Ohm pull down.

 

Best regards
igor

0 件の賞賛

3,472件の閲覧回数
guillaume_costa
Contributor I

I made the test without the screen plugged, so without any possible pull up resistor connected to the screen, The signal output is pull up even with the screen not plugged.

Guillaume

0 件の賞賛

3,467件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

suggest to connect jtag debugger and toggle pin (configure as gpio), probably it is shorted to

other signal.

 

Best regards
igor

0 件の賞賛

3,462件の閲覧回数
guillaume_costa
Contributor I

Hi Igor,

 

I forgot to mention that the screen is operational.

The images are displayed correctly on the screen. It is only when u-boot starts that the HSYNC signal is high and this affects the screen's power-on sequence. We also have the same problem on another processor: IMX6ULL. The routing of the board is correct.


Three signals are in bad state at boot time (during u-boot) DI0_PIN2 (HSYNC), DI0_PIN3 VSYNC, and DI0_PIN15 (RGB_DEN). All these pins must be in pull down mode but they are pull up.

 


These 3 pins are configured in pull down mode in u-boot in the iomuxc node:

 

&iomuxc {

 

u-boot,dm-pre-proper;
pinctrl-names = "default";
pinctrl-0 = <&BOARD_InitPins>;

 

imx6s-board {

 

BOARD_InitPins: BOARD_InitPinsgrp { /*!< Function assigned for the core: Cortex-A9[ca9] */

 

fsl,pins = <

 

MX6QDL_PAD_EIM_DA0__SRC_BOOT_CFG00 0x0000B0B1

 

.......

 

MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x000130B0
MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x000130B0
MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x000130B0
MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x000130B0

 

>;
};

guillaume_costa_0-1637845897427.png

 

Best regards

Guillaume

0 件の賞賛

3,483件の閲覧回数
guillaume_costa
Contributor I

Thank you for the answer.

0 件の賞賛