first of all, thanks for the help you will give us.
- ADV7393 PAL encoder is attached to the output of the LVDS controller of my board. The LVDS output is RGB 16(565) with resolution of 640x480. I would like to generate the output of ADV7393 as PAL signal with SD definition in square pixel mode.
The input clock of ADV7393 is 29.5MHz. My setup of registers is the one reported in table 97 of the datasheet :
Subaddress Setting Description0x17 0x02 Software Reset0x00 0x1C All DACs enabled. PLL enabled (16×).0x01 0x00 SD input mode.0x80 0x11 PAL standard. SSAF luma filter enabled. 1.3 MHz chroma filter enabled.0x82 0xD3 Pixel data valid. CVBS/Y-C (S-Video) out. SSAF PrPb filter enabled. Active video edge control enabled. Square pixel mode enabled.0x87 0x80 RGB input enabled.0x88 0x10 16-bit RGB input enabled.0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC synchronization.
Subcarrier frequency register values for CVBS and/or S-Video (Y-C) output in PAL square pixel mode (29.5 MHz input clock).0x8C 0x0C 0x8D 0x8C0x8E 0x790x8F 0x26
But nothing is snown on my display (PAL) attached to DAC1 of the ADV7393.
- do the LVDS output signal (input of the ADV7393 encoder) have some "constraint" in timing (e.g. HSYNC, VSYNC timing) that will allow the ADV7393 to generate the PAL output ?
- are my setting correct or I miss something ?
I couldn't find this kind of configuration in the ADV7393 datasheet Rev J. Could you help me?
The Table 63 on page 92 of the datasheet, for SD-mode, always reports as Input Form…
Have you checked the scripts from Design support files https://ez.analog.com/video/w/documents/801/adv739x-design-support-files
Please, also try to enable the internal test pattern - register 0x84 bit 6 and check whether the same behavior or not.
Hi Poornima we tried to look at your link but we didn't find anything can help us.I will try to explain more in details our configuration: - we would like to have as output of ADV7393 a PAL (square pixel) signal in CVBS. - input data are attached to an LCD controller in 16bit RGB(565).We applied table 93 of ADV7393 user-manual (ADV7390/ADV7391/ADV7392/ADV7393 revJ)as ADV7393 settings but it didn't show anything on the attached screen to DAC1of ADV7393.We are not sure about the format of the input signal to provide to ADV7393in order to have the PAL output. The CLKIN of ADV7393 is at 29.5MHz and the pixel clock is the same. We areable to drive the HSYNC/VSYNC signal of the LCD controller.Question: - what are the inputs timing and resolution that the LCD controller should provide to the ADV7393 in order to see a PAL signal on output ? (e.g. HSYNC/VSYNC timing, valid resolution of LCD controller to provide to ADV7393, ...).
- the sentence in datasheet:
In 16-Bit 4:4:4 RGB Mode, the pixel data is updated at half the rate of the clock, that is, at a rate of 13.5 MHz (see Figure 6)
is valid also for SD square pixel mode ?
Best Regards, A.Biasci.
For NTSC operation, an input clock of 24.5454 MHz is required. The active resolution is 640 × 480.
For PAL operation, an input clock of 29.5 MHz is required. The active resolution is 768×576.
The output from this part seems to be programmable, which should enable you to output the exact timing expected at the encoder.And also ADV7393 can only provide external syncs based on EAV/SAV time codes that it receives. It can't generate timing
thanks again for your help. Let me summarize for PAL square pixel:
So ADV7393 does not performs any scaling/adjusting of the input signal. It "only" performs a sampling of digital data to provide, as output, a signal compliant with PAL square pixel (supposing I configured the chip correctly).
Are this summary correct? I will provide to you a feedback once we have the solution in place.
Yes,ADV7393 cannot do any scaling,It can only support the formats indicated in Table 1 of the datasheet.
thanks for your help. Unfortunately, we still have problem to configure the chip. Question:
Yes, ADV7390/ADV7391/ADV7392/ADV7393 support an SD non-interlaced mode. All input configurations, output configurations,and features available in NTSC and PAL modes are available in SD non-interlaced mode.
The Table 63 on page 92 of the datasheet, for SD-mode, always reports as Input Format an interlaced mode but not progressive.
Progressive Input Format(s) are reported only in Table 98 on page 99 for Enhanced Definition.
Please refer Page52 in datasheet for more details about SD non-interlaced mode.
thanks again for your help. Could you confirm our setup in order to generate a PAL square-pixel output:
We are trying to calculate the timings of LCD controller to generate the correct signal at 756x288p to provide as input to ADV7393.
Datasheet does not report any timing about our configuration (SD noninterlaced mode), so any help will be very appretiated.
I beleive,ADV7393 does support 288p digital in and will output this as 288P analogue video. It cannot convert 288P (SD non-interlaced) to PAL interlaced output.
The timing we are expecting is described in CEA861B formats 8 & 9. We do not publish output video timing formats in datasheets.