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.
Hi All,
We are working on a custom build TVP5158 + DM368 platform based on udWorks DVR design. We are using DVSDK 3.10.00.19 and applied newest patch (v02.03.02) to the TVP5158 driver. After spending some time in modifying the TVP5158 Driver, we have got the 4CH D1 video to be displayed on the LCD (1280x1024). However, the video picture quality is really bad as we can see that many pixel has weird color to it. Our TVP5158 is outputting 8bit ITU BT656 and we suspect that the incoming video we receive from TVP5158 is already bad since we have same platform interface to TVP5146 without problem.
Can any suggest if the register setting to the TVP5158 is setup correctly?
REG 0x0 => 10
REG 0x1 => 38
REG 0x2 => 5a
REG 0x3 => 0
REG 0x4 => 2
REG 0x5 => 3
REG 0x6 => 2
REG 0x7 => 0
REG 0x8 => 51
REG 0x9 => 58
REG 0xa => d
REG 0xb => 2
REG 0xc => 81
REG 0xd => 0
REG 0xe => 3
REG 0xf => 3
REG 0x10 => 80
REG 0x11 => 80
REG 0x12 => 0
REG 0x13 => 80
REG 0x14 => 0
REG 0x15 => 0
REG 0x16 => 10
REG 0x17 => a
REG 0x18 => 40
REG 0x19 => 0
REG 0x1a => 0
REG 0x1b => 0
REG 0x1c => c
REG 0x1d => 0
REG 0x1e => 0
REG 0x1f => 0
REG 0x20 => 0
REG 0x21 => 0
REG 0x22 => 0
REG 0x23 => 80
REG 0x24 => 0
REG 0x25 => f5
REG 0x26 => 0
REG 0x27 => 0
REG 0x28 => 0
REG 0x29 => 6
REG 0x2a => 1e
REG 0x2b => 4
REG 0x2c => 0
REG 0x2d => f2
REG 0x2e => 8
REG 0x2f => 4
REG 0x30 => ff
REG 0x31 => ff
REG 0x32 => 0
REG 0x33 => 0
REG 0x34 => 6a
REG 0x35 => 8
REG 0x36 => 5
REG 0x37 => 7
REG 0x38 => 7a
REG 0x39 => 0
REG 0x3a => d0
REG 0x3b => 2
REG 0x3c => 19
REG 0x3d => 0
REG 0x3e => f0
REG 0x3f => 0
REG 0x40 => 25
REG 0x41 => 3
REG 0x42 => 40
REG 0x43 => 0
REG 0x44 => 4
REG 0x45 => 0
REG 0x46 => 7
REG 0x47 => 0
REG 0x48 => 7a
REG 0x49 => 0
REG 0x4a => d0
REG 0x4b => 2
REG 0x4c => 1
REG 0x4d => 0
REG 0x4e => 15
REG 0x4f => 0
REG 0x50 => 7a
REG 0x51 => 0
REG 0x52 => d0
REG 0x53 => 2
REG 0x54 => 8d
REG 0x55 => 0
REG 0x56 => bc
REG 0x57 => 2
REG 0x58 => 26
REG 0x59 => 0
REG 0x5a => dc
REG 0x5b => 0
REG 0x5c => 1e
REG 0x5d => 9
REG 0x5e => 34
REG 0x5f => 3
REG 0x60 => 0
REG 0x61 => 9
REG 0x62 => 40
REG 0x63 => 1e
REG 0x64 => 18
REG 0x65 => 0
REG 0x66 => b
REG 0x67 => 0
REG 0x68 => 0
REG 0x69 => 1f
REG 0x6a => 1f
REG 0x6b => 2
REG 0x6c => 10
REG 0x6d => 4
REG 0x6e => 64
REG 0x6f => 20
REG 0x70 => 7d
REG 0x71 => 0
REG 0x72 => 8a
REG 0x73 => 64
REG 0x74 => 4
REG 0x75 => 2
REG 0x76 => f
REG 0x77 => f
REG 0x78 => 3
REG 0x79 => 5
REG 0x7a => 20
REG 0x7b => 1e
REG 0x7c => 2
REG 0x7d => 8
REG 0x7e => 3
REG 0x7f => 3
REG 0x80 => a
REG 0x81 => 0
REG 0x82 => 5a
REG 0x83 => 6
REG 0x84 => 0
REG 0x85 => 3
REG 0x86 => 22
REG 0x87 => 0
REG 0x88 => 3
REG 0x89 => 16
REG 0x8a => 1d
REG 0x8b => 60
REG 0x8c => 0
REG 0x8d => 0
REG 0x8e => a
REG 0x8f => 4
REG 0x90 => 10
REG 0x91 => 80
REG 0x92 => 80
REG 0x93 => 0
REG 0x94 => 0
REG 0x95 => 0
REG 0x96 => 60
REG 0x97 => 50
REG 0x98 => 0
REG 0x99 => 0
REG 0x9a => 0
REG 0x9b => a
REG 0x9c => 5
REG 0x9d => 5
REG 0x9e => 3
REG 0x9f => bc
REG 0xa0 => bc
REG 0xa1 => 0
REG 0xa2 => d
REG 0xa3 => 2
REG 0xa4 => 90
REG 0xa5 => 1
REG 0xa6 => 78
REG 0xa7 => 0
REG 0xa8 => 44
REG 0xa9 => 40
REG 0xaa => 3
REG 0xab => d8
REG 0xac => 5
REG 0xad => 0
REG 0xae => 1
REG 0xaf => 0
REG 0xb0 => a0
REG 0xb1 => 10
REG 0xb2 => 25
REG 0xb3 => e4
REG 0xb4 => e4
REG 0xb5 => 0
REG 0xb6 => 1b
REG 0xb7 => 4
REG 0xb8 => f8
REG 0xb9 => 10
REG 0xba => 0
REG 0xbb => 1
REG 0xbc => d7
REG 0xbd => f
REG 0xbe => f
REG 0xbf => f
REG 0xc0 => 0
REG 0xc1 => 88
REG 0xc2 => 88
REG 0xc3 => e0
REG 0xc4 => 1
REG 0xc5 => 0
REG 0xc6 => 0
REG 0xc7 => 0
Steve,
Can you verify the PINMUX settings? Also can you try giving a color bar input and verify the colors.
Hi Renjith,
The pinmux setting is as follow:
PINMUX0: 0x00fd0000
PINMUX1: 0x00145555
PINMUX2: 0x0000006a
PINMUX3: 0x615affff
PINMUX4: 0x5555c555
I will try to find a color bar generator to test it out.
BR,
Steve
Steve,
I need the schematics to verify the pinmux settings properly. Have you tried verifying the pinmux settings yourself?