Home > Back-end >  Haisi Hi3536 BT. 1120 turn HDMI display boot screen
Haisi Hi3536 BT. 1120 turn HDMI display boot screen

Time:09-23

Is my V100R001C02SPC060 version of the SDK, consult https://blog.csdn.net/weixin_36704535/article/details/78581291 this article writes the LOGO files to burn spi nor Flash,

Change my this statement:
Run_command (" startvo 0 32 12 ", 1);=="run_command (" startvo 52 12" 0, 1); HDMI VGA BT. 1120 output outputs on screen at the same time,

After setting on BT. 1120 no picture, two reasons: 1. The port multiplexing is not configured for BT. 1120 output, 2. Sii9022 no drive

Reference to the SDK (Hi3536_SDK_V2 0.6.0 \ package \ mpp_single \ mpp_single \ ko) pinmux, the inside of the sh port multiplexing

# I2S & amp; BT1120 (16 bit BT1120 video + audio I2S2)
Himm x120f0190 0 0 x3; # 00: GPIO12_0 01: VOU1120_DATA0 10:11: I2S0_SD_RX I2S2_MCLK
Himm x120f0194 0 0 x3; # 00: GPIO12_1 01: VOU1120_DATA1 10:11: I2S0_SD_TX I2S2_BCLK_TX
Himm x120f0198 0 0 x1; # 00: TEST_CLK_OUT 01: VOU1120_DATA2 10: SFC_NAND_BOOT_PIN0 (hardware reuse) 11: GPIO12_2
Himm x120f019c 0 0 x1; # 00: GPIO12_3 01: VOU1120_DATA3 10: SFC_NAND_BOOT_PIN2 (hardware reuse)
Himm x120f01a0 0 0 x1; # 00: GPIO12_4 01: VOU1120_DATA4 10: I2S0_WS_TX
Himm x120f01a4 0 0 x1; # 00: GPIO12_5 01: VOU1120_DATA5 10: I2S0_WS_RX
Himm x120f01a8 0 0 x1; # 00: GPIO12_6 01: VOU1120_DATA6 10: I2S0_BCLK_RX
Himm x120f01ac 0 0 x1; # 00: GPIO12_7 01: VOU1120_DATA7 10: I2S0_BCLK_TX
Himm x120f01b0 0 0 x1; # 00: GPIO13_0 01: VOU1120_DATA8 10:11: I2S0_MCLK SFC_NAND_BOOT_PIN1
Himm x120f01b4 0 0 x1; # 00: PWM_SVB1 01: VOU1120_DATA9 10: GPIO13_1
Himm x120f01b8 0 0 x3; 11: # 00: GPIO13_2 01: VOU1120_DATA10 I2S2_WS_TX
Himm x120f01bc 0 0 x3; # 00: GPIO13_3 01: VOU1120_DATA11 10: PCIE_REFCLK_SEL (hardware reuse) 11: I2S2_SD_TX
Himm x120f01c0 0 0 x1; # 00: GPIO13_4 01: VOU1120_DATA12 10:11: SDIO0_CWPR UART0_TXD
Himm x120f01c4 0 0 x1; # 00: GPIO13_5 01: VOU1120_DATA13 10:11: SDIO0_CDATA0 UART0_RXD
Himm x120f01c8 0 0 x1; # 00: GPIO13_6 01: VOU1120_DATA14 10: SDIO0_CCLK_OUT
Himm x120f01cc 0 0 x1; # 00: GPIO13_7 01: VOU1120_DATA15 10: SDIO0_CCMD
Himm x120f01d0 0 0 x1; 010: # 000: GPIO11_0 001: VOU1120_DATA16 SDIO0_CDATA3 011:
Himm x120f01d4 0 0 x1; 010: # 000: GPIO11_1 001: VOU1120_DATA17 SDIO0_CDATA2 011:
Himm x120f01d8 0 0 x1; 010: # 000: GPIO11_2 001: VOU1120_DATA18 SDIO0_CARD_DETECT 011:
Himm x120f01dc 0 0 x1; 010: # 000: GPIO11_3 001: VOU1120_DATA19 SDIO0_CARD_POWER_EN 011:
Himm x120f01e0 0 0 x1; # 00: GPIO14_6 01: VOU1120_CLK 10: SDIO0_CDATA1

Change
Run_command (" mw. B 0 x120f0190 0 x03 ", 1);
.
.
.
.
Run_command (" mw. B 0 x120f01e0 0 x01 ", 1);

Written (the arch/arm/lib/board. C files) of void LogintImage (void) function tail recompiling uboot first complete,

I tried the code directly into vou. C files inside, can't normal output, specific don't know why,

The second step: sii9024 driver problem, I tried all kinds of methods to use Hi3536 I2C to initialize sii9024 but didn't succeed, finally the darling of the plugins an 8-bit MCU alone again at the start of the initialization parameters, a set of initialization code below I tested are available,
Delayms (300);
//HW Reset
ISendStr (WriteDeviceAddress, 0 x82, 0 x25);
ISendStr (WriteDeviceAddress, 0 x08, 0 x36);
X7c ISendStr (WriteDeviceAddress, 0, 0 x14);
Xc7 ISendStr (WriteDeviceAddress, 0, 0 x00);
Delayms (100);
//9022 PLL Set:
XBC ISendStr (WriteDeviceAddress, 0, 0 x01);
XBD ISendStr (WriteDeviceAddress, 0, 0 x82);
ISendStr (x35 WriteDeviceAddress xbe 0, 0);
//9022 a PLL Set
ISendStr (WriteDeviceAddress, 0 x08, 0 x70);

ISendStr (WriteDeviceAddress, 0 x00 to 0 x8c);
ISendStr (x0a WriteDeviceAddress, 0 x01, 0);
ISendStr (WriteDeviceAddress, 0 x02, 0 x70);
ISendStr (WriteDeviceAddress, 0 x03, 0 x17);
ISendStr (x5a WriteDeviceAddress x04 0, 0);
X05 ISendStr (WriteDeviceAddress, 0, 0 x03);
ISendStr (x0d WriteDeviceAddress x06 0, 0);
X07 ISendStr (WriteDeviceAddress, 0, 0 x02);
X63 ISendStr (WriteDeviceAddress, 0, 0 x00);

//Color Space
ISendStr (WriteDeviceAddress, 0 x08, 0 x70);
X09 ISendStr (WriteDeviceAddress, 0, 0 x00);
X0a ISendStr (WriteDeviceAddress, 0, 0 x00);
ISendStr (WriteDeviceAddress, 0 x60, 0 x04);

XBC ISendStr (WriteDeviceAddress, 0, 0 x01);
XBD ISendStr (WriteDeviceAddress, 0, 0 x82);
ISendStr (x35 WriteDeviceAddress xbe 0, 0);
//Power Up
X1e ISendStr (WriteDeviceAddress, 0, 0 x00);

I am a beginner, haisi chips have a wrong place please correct me!



  • Related