This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SN65DSI84: Questions for SN65DSI84 no video output issue

Part Number: SN65DSI84
Other Parts Discussed in Thread: DSI-TUNER

Hi Experts,

Our customer is using our SN65DSI84 in their design for the MIPI to LVDS display, but they are facing no video output issue after the normal initialization. They checked the test pattern can be displayed normally. Also, when no video output, the error register 0xE5 read back is always 0x01 after writing 0xFF or 0x00. Do you know what's the problem in here?

Attached is customer's schematic and initialization code, FYI.

SN65DSI84原理图.pdf

sn65dis84_init_table.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{0x09, 0x00},
{0x0A , 0x05},
{0x0B , 0x28},
{0x0D , 0x00},
{0x10 , 0x26},
{0x11 , 0x00},
{0x12 , 0x59},//0x2b//0x2a//0x2c //0x35
{0x13 , 0x00},
{0x18 , 0x6c},
{0x19 , 0x00},
{0x1A , 0x03},
{0x1B , 0x00},
{0x20 , 0x80},
{0x21 , 0x07},
{0x22 , 0x00},
{0x23 , 0x00},
{0x24, 0x00},
{0x25, 0x00},
{0x26 , 0x00},
{0x27 , 0x00},
{0x28, 0x21},//21
{0x29, 0x00},
{0x2A , 0x00},
{0x2B, 0x00},
{0x2C , 0x0a},
{0x2D , 0x00},
{0x2E , 0x00},
{0x2F , 0x00},
{0x30 , 0x02},
{0x31 , 0x00},
{0x32 , 0x00},
{0x33 , 0x00},
{0x34 , 0x18},
{0x35 , 0x00},
{0x36 , 0x00},
{0x37 , 0x00},
{0x38 , 0x00},
{0x39 , 0x00},
{0x3A , 0x00},
{0x3B , 0x00},
{0x3C , 0x00},
{0x3D , 0x00},
{0x3E , 0x00},
{0x0D , 0x01},
{REGFLAG_DELAY,10},//delay 5ms
{0x09 , 0x01},//soft reset
{0xFF,0x00},//ended flag
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

cpt_clap070wp03xg_sn65dsi84-boot-driver.c
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef BUILD_LK
#include <linux/string.h>
#else
#include <string.h>
#endif
#ifdef BUILD_LK
#include <platform/mt_gpio.h>
#include <platform/mt_i2c.h>
#include <platform/mt_pmic.h>
#include <platform/mt_pwm.h>
#include <platform/upmu_common.h>
#elif (defined BUILD_UBOOT)
#include <asm/arch/mt6577_gpio.h>
#else
#include <mach/mt_gpio.h>
#include <mach/mt_pm_ldo.h>
#include "sn65dsi83_i2c.h"
#endif
#include "lcm_drv.h"
#include "ddp_hal.h"
#define LVDS_PANEL_8BITS_SUPPORT
//#define SN65DSI83_PATTERN
//#define SN65DSI83_SINGLE_LVDS_LK
/* --------------------------------------------------------------------------- */
/* Local Constants */
/* ----------------------------
----------------------------------------------- */
#ifdef SN65DSI83_SINGLE_LVDS_LK
#define FRAME_WIDTH (1366)//(1080)//(540)//
#define FRAME_HEIGHT (768)//(1920)//(960)//
#else
#define FRAME_WIDTH (1920)//(1080)//(540)//
#define FRAME_HEIGHT (1080)//(1920)//(960)//
#endif
/* GPIO67 LVDS Panel PWR */
#ifdef GPIO_LCM_LVDS_PWR_EN
#define GPIO_LCD_PWR_EN GPIO_LCM_LVDS_PWR_EN
#else
#define GPIO_LCD_PWR_EN 0xFFFFFFFF
#endif
/* VGP1_PMU VDD18_LVDS for SN65DSI83 power */
/* GPIO47 LCM_RST for panel */
#ifdef GPIO_LCM_RST
#define GPIO_LCD_RST_EN GPIO_LCM_RST
#else
#define GPIO_LCD_RST_EN 0xFFFFFFFF
#endif
/* GPIO66 DISP_PWM0 for backlight panel */
#ifdef GPIO_LCM_BL_EN
#define GPIO_LCD_BL_EN GPIO_LCM_BL_EN
#else
#define GPIO_LCD_BL_EN 0xFFFFFFFF
#endif
/* GPIO121 USB Hub RST */
#ifdef GPIO_USBHUB_RST_PIN
#define GPIO_USBHUB_RST GPIO_USBHUB_RST_PIN
#else
#define GPIO_USBHUB_RST 0xFFFFFFFF
#endif
/* GPIO49 USB DRVVBUS PWR */
#ifdef GPIO_OTG_DRVVBUS_PIN
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Thanks.

  • Hi Jacky,

    0xE5 reading 0x01 means the PLL is unlocked. Are you enabling the PLL in register 0x0D correctly in the initialization sequence? 

    Please also provide the following:

    1. The .dsi output file from the DSI-Tuner after entering the settings (press ctrl-e in the tool)

    2. A register dump of the DSI84

    Regards,

    I.K.