![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
d a t a sh eet preliminary device speci?cation file under integrated circuits, 1999 sep 28 2 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series general description the various versions of theTDA935X/6x/8x series combine the functions of a tv signal processor together with a m -controller and us closed caption decoder. most versions have a teletext decoder on board. the teletext decoder has an internal ram memory for 1or 10 page text. the ics are intended to be used in economy television receivers with 90 and 110 picture tubes. the ics have supply voltages of 8 v and 3.3 v and they are mounted in s-dip envelope with 64 pins. the features are given in the following feature list. the differences between the various ics are given in the table on page 4. features tv-signal processor multi-standard vision if circuit with alignment-free pll demodulator internal (switchable) time-constant for the if-agc circuit a choice can be made between versions with mono intercarrier sound fm demodulator and versions with qss if amplifier. the mono intercarrier sound versions have a selective fm-pll demodulator which can be switched to the different fm sound frequencies (4.5/5.5/6.0/6.5 mhz). the quality of this system is such that the external band-pass filters can be omitted. source selection between internal cvbs and external cvbs or y/c signals integrated chrominance trap circuit integrated luminance delay line with adjustable delay time asymmetrical delay line type peaking in the luminance channel black stretching for non-standard luminance signals integrated chroma band-pass filter with switchable centre frequency only one reference (12 mhz) crystal required for the m -controller, teletext- and the colour decoder pal/ntsc or multi-standard colour decoder with automatic search system internal base-band delay line rgb control circuit with continuous cathode calibration, white point and black level off set adjustment so that the colour temperature of the dark and the light parts of the screen can be chosen independently. linear rgb or yuv input with fast blanking for external rgb/yuv sources. the text/osd signals are internally supplied from the m -controller/teletext decoder contrast reduction possibility during mixed-mode of osd and text signals horizontal synchronization with two control loops and alignment-free horizontal oscillator vertical count-down circuit vertical driver optimized for dc-coupled vertical output stages horizontal and vertical geometry processing horizontal and vertical zoom function for 16 : 9 applications horizontal parallelogram and bow correction for large screen picture tubes low-power start-up of the horizontal drive circuit 1999 sep 28 3 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series m -controller 80c51 m -controller core standard instruction set and timing 1 m s machine cycle 32 - 128kx8-bit late programmed rom 3 - 12kx8-bit auxiliary ram (shared with display and acquisition) interrupt controller for individual enable/disable with two level priority two 16-bit timer/counter registers watchdog timer auxiliary ram page pointer 16-bit data pointer idle and power down (pd) mode 14 bits pwm for voltage synthesis tuning 8-bit a/d converter 4 pins which can be programmed as general i/o pin, adc input or pwm (6-bit) output data capture text memory for 1 or 10 pages in the 10 page versions inventory of transmitted teletext pages stored in the transmitted page table (tpt) and subtitle page table (spt) data capture for us closed caption data capture for 525/625 line wst, vps (pdc system a) and wide screen signalling (wss) bit decoding automatic selection between 525 wst/625 wst automatic selection between 625 wst/vps on line 16 of vbi real-time capture and decoding for wst teletext in hardware, to enable optimized m -processor throughput automatic detection of fastext transmission real-time packet 26 engine in hardware for processing accented, g2 and g3 characters signal quality detector for video and wst/vps data types comprehensive teletext language coverage full field and vertical blanking interval (vbi) data capture of wst data display teletext and enhanced osd modes features of level 1.5 wst and us close caption serial and parallel display attributes single/double/quadruple width and height for characters scrolling of display region variable flash rate controlled by software enhanced display features including overlining, underlining and italics soft colours using clut with 4096 colour palette globally selectable scan lines per row (9/10/13/16) and character matrix [12x10, 12x13, 12x16 (vxh)] fringing (shadow) selectable from n-s-e-w direction fringe colour selectable meshing of defined area contrast reduction of defined area cursor special graphics characters with two planes, allowing four colours per character 32 software redefinable on-screen display characters 4 wst character sets (g0/g2) in single device (e.g. latin, cyrillic, greek, arabic) g1 mosaic graphics, limited g3 line drawing characters wst character sets and closed caption character set in single device 1999 sep 28 4 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series functional difference between the various ic versions ic version (tda) 9350 9351 9352 9353 9360 9361 9362 9363 9364 9365 9366 9367 9380 9381 9382 9383 9384 9385 9386 9387 9388 tv range 90 90 90 110 90 90 110 110 110 110 90 90 90 90 90 110 110 110 110 90 110 mono intercarrier multi-standard sound demodulator (4.5 - 6.5 mhz) with switchable centre frequency ?? ????? ?? ?? ?? audio switch ?? ????? ?? ?? ?? automatic volume levelling ??? ?? ????? ?? automatic volume levelling or subcarrier output (for comb ?lter applications) ? ???? ???? qss sound if ampli?er with separate input and agc circuit ? ???? ? ?? am sound demodulator without extra reference circuit ?? pal decoder ??????????????????? secam decoder ??????????? ntsc decoder ????????????????????? horizontal geometry (e-w) ? ???? ???? ? horizontal and vertical zoom ? ???? ???? ? rom size 32- 64 k 32- 64 k 32- 64 k 32- 64 k 32- 64 k 32- 64 k 64- 128k 64- 128k 64- 128k 64- 128k 64- 128k 64- 128k 16- 64 k 16- 64 k 16- 64 k 16- 64 k 16- 64 k 16- 64 k 16- 64 k 16- 64 k 16- 64 k user ram size 1 k 1 k 1 k 1 k 2 k 2 k 2 k 2 k 2 k 2 k 2 k 2 k 1 k 1 k 1 k 1 k 1 k 1 k 1 k 1 k 1 k teletext 1 page 1 page 1 page 1 page 10 page 10 page 10 page 10 page 10 page 10 page 10 page 10 page closed captioning ????????????????????? 1999 sep 28 5 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series quick reference data symbol parameter min. typ. max. unit supply v p supply voltages - 8.0/3.3 - v i p supply current - tbf - ma input voltages v ivifrms) video if ampli?er sensitivity (rms value) - 35 -m v v isif(rms) qss sound if ampli?er sensitivity (rms value) - 60 -m v v iaudio(rms) external audio input (rms value) - 500 - mv v icvbs(p-p) external cvbs/y input (peak-to-peak value) - 1.0 - v v ichroma(p-p) external chroma input voltage (burst amplitude) (peak-to-peak value) - 0.3 - v v irgb(p-p) rgb inputs (peak-to-peak value) - 0.7 - v v iyin(p-p) luminance input signal (peak-to-peak value) - 1.4 - v v iuvin(p-p) u/v input signal (peak-to-peak value) - 1.33/1.05 - v output signals v o(ifvo)(p-p) demodulated cvbs output (peak-to-peak value) - 2.5 - v v o(qsso)(rms) sound if intercarrier output in qss versions (rms value) - 100 - mv v o(amout)(rms) demodulated am sound output in qss versions (rms value) - 500 - mv i o(agcout) tuner agc output current range 0 - 5ma v orgb(p-p) rgb output signal amplitudes (peak-to-peak value) - 2.0 - v i ohout horizontal output current 10 -- ma i overt vertical output current (peak-to-peak value) 1 -- ma i oewd ew drive output current 1.2 -- ma 1999 sep 28 6 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series block diagram sound trap tuneragc +8v hout v-drive ro go b0 bclin blkin cvbs/y ifin audout audext fig. 1 block diagram TDA935X/6x8x with mono intercarrier sound demodulator chroma sda scl vision if alignment-free pll demod. agc/afc video amp. video switch video ident. video filters pal/secam/ntsc decoder deemphasis audio switch (avl) volume control base-band delay line h/v sync sep. h-osc. + pll h-drive 2 nd loop h-shift v-drive + contr/brightn osd/text insert ccc white-p. adj. 80c51 cpu i 2 c-bus transceiver rom/ram teletext acquisition 1/10 page memory teletext/osd display rg b bl y u v h v ref enhanced vst pwm-dac vst out i/o ports i/o ports (4x) +3.3 v reset led out (2x) adc in (4x) vpe (ew geometry) geometry ehto ewd r/v g/y b/u bl rgb/yuv insert r gb ref cvbs sync h v cor 27 37 38 33 (20) 29 28 34 44 60 55 59 58 57 10/11 2 34 5-8 1+62-64 9 12 54 56 61 51 52 53 49 50 45 48 47 46 (20) 36 21 22 26 25 16 35 17 31 15 19 14 39 18 41 (32) 13 43 42 40 24 23 rgb/yuv matrix saturation yuv/rgb matrix 30 luma delay peaking black stretch agc circuit narrow band pll demodulator (32) (32) sndif 1999 sep 28 7 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series sound trap tuneragc +8v hout v-drive ro go bo bclin blkin cvbs/y ifin fig. 2 block diagram tda 936x with qss if sound channel chroma sda scl vision if alignment-free pll demod. agc/afc video amp. video switch video ident. video filters pal/secam/ntsc decoder luma delay peaking black stretch base-band delay line h/v sync sep. h-osc. + pll h-drive 2 nd loop h-shift v-drive + contr/brightn osd/text insert ccc white-p. adj. 80c51 cpu i 2 c-bus transceiver rom/ram teletext acquisition 10 page memory teletext/osd display rg b bl y u v h v ref enhanced vst pwm-dac vst out i/o ports i/o ports (4x) +3.3 v reset led out (2x) adc in (4x) vpe ew geometry geometry ehto ewd r/v g/y b/u bl rgb/yuv insert r gb ref cvbs sync h v cor 27 37 38 33 34 60 55 59 58 57 10/11 2 34 5-8 1+62-64 9 12 54 56 61 51 52 53 49 50 45 48 47 46 (20) 36 21 22 26 25 16 17 15 19 14 39 18 41 (32) 13 43 42 40 24 23 rgb/yuv matrix saturation yuv/rgb matrix 30 qss sound if agc qss mixer am demodultor sifin qssout/amout amout 28 29 (35) 44 31 audext (35) (32) (20) 1999 sep 28 8 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series pinning symbol pin description p1.3/t1 1 port 1.3 or counter/timer 1 input p1.6/scl 2 port 1.6 or i 2 c-bus clock line p1.7/sda 3 port 1.7 or i 2 c-bus data line p2.0/tpwm 4 port 2.0 or tuning pwm output p3.0/adc0 5 port 3.0 or adc0 input p3.1/adc1 6 port 3.1 or adc1 input p3.2/adc2 7 port 3.2 or adc2 input p3.3/adc3 8 port 3.3 or adc3 input vssc/p 9 digital ground for m -controller core and periphery p0.5 10 port 0.5 (8 ma current sinking capability for direct drive of leds) p0.6 11 port 0.6 (8 ma current sinking capability for direct drive of leds) vssa 12 analog ground of teletext decoder and digital ground of tv-processor secpll 13 secam pll decoupling vp2 14 2 nd supply voltage tv-processor (+8v) decdig 15 decoupling digital supply of tv-processor ph2lf 16 phase-2 ?lter ph1lf 17 phase-1 ?lter gnd3 18 ground 3 for tv-processor decbg 19 bandgap decoupling avl/ewd (1) 20 automatic volume levelling /east-west drive output vdrb 21 vertical drive b output vdra 22 vertical drive a output ifin1 23 if input 1 ifin2 24 if input 2 iref 25 reference current input vsc 26 vertical sawtooth capacitor tuneragc 27 tuner agc output audeem/sifin1 (1) 28 audio deemphasis or sif input 1 decsdem/sifin2 (1) 29 decoupling sound demodulator or sif input 2 gnd2 30 ground 2 for tv processor sndpll/sifagc (1) 31 narrow band pll ?lter /agc sound if avl/sndif/ref0/ amout (1) 32 automatic volume levelling / sound if input / subcarrier reference output /am output (non controlled) hout 33 horizontal output fbiso 34 ?yback input/sandcastle output audext/ qsso/amout (1) 35 external audio input /qss intercarrier out /am audio output (non controlled) ehto 36 eht/overvoltage protection input pllif 37 if-pll loop ?lter ifvo/svo 38 if video output / selected cvbs output vp1 39 main supply voltage tv-processor (+8 v) cvbsint 40 internal cvbs input gnd1 41 ground 1 for tv-processor 1999 sep 28 9 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series note 1. the function of pin 20, 28, 29, 31, 32, 35 and 44 is dependent on the ic version (mono intercarrier fm demodulator / qss if amplifier and east-west output or not) and on some software control bits. the valid combinations are given in table 1. table 1 pin functions for various versions note 1. when additional (external) selectivity is required for fm-pll system pin 32 can be used as sound if input. this function is selected by means of sif bit in subaddress 21h. cvbs/y 42 external cvbs/y input chroma 43 chrominance input (svhs) audout /amout (1) 44 audio output /am audio output (volume controlled) inssw2 45 2 nd rgb / yuv insertion input r2/vin 46 2 nd r input / v (r-y) input g2/yin 47 2 nd g input / y input b2/uin 48 2 nd b input / u (b-y) input bclin 49 beam current limiter input/v-guard input blkin 50 black current input ro 51 red output go 52 green output bo 53 blue output vdda 54 analog supply of teletext decoder and digital supply of tv-processor (3.3 v) vpe 55 otp programming voltage vddc 56 digital supply to core (3.3 v) oscgnd 57 oscillator ground supply xtalin 58 crystal oscillator input xtalout 59 crystal oscillator output reset 60 reset vddp 61 digital supply to periphery (+3.3 v) p1.0/int1 62 port 1.0 or external interrupt 1 input p1.1/t0 63 port 1.1 or counter/timer 0 input p1.2/int0 64 port 1.2 or external interrupt 0 input ic version fm-pll version qss version east-west y/n n y n y cmb1/cmb0 bits 00 01/10/11 00 01/10/11 00 01/10/11 00 01/10/11 am bit -- - - - 01 - 01 pin 20 avl ewd avl ewd pin 28 audeem sifin1 pin 29 decsdem sifin2 pin 31 sndpll sifagc pin 32 sndif (1) refo avl/sndif (1) refo amout refo amout refo pin 35 audext audext qsso amout audext qsso amout pin 44 audout controlled am or audio out symbol pin description 1999 sep 28 10 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series fig. 3 pin configuration (sdip 64) handbook, halfpage xxx mxxxxx 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 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 TDA935X/6x/8x p1.3/t1 p1.6/scl p1.7/sda p2.0/tpmw p3.0/adc0 p3.1/adc1 p3.2/adc2 p3.3/adc3 vssc/p p0.5 p0.6 vssa secpll vp2 decdig hout fbiso ph2lf ph1lf gnd3 avl/ewd vdrb vdra ifin1 ifin2 ehto iref vsc tuneragc audeem/sifin1 decsdem/sifin2 pllif ifvo/svo decbg cvbsint vp1 chroma cvbs/y gnd1 audout/amout avl/sndif/ blkin bo go ro bclin r2/vin b2/uin g2/yin inssw2 vdda vpe vddc oscgnd xtalin xtalout reset vddp p1.0/int1 p1.1/t0 p1.2/int0 gnd2 amout audext/qsso/ sndpll/sifagc refo/amout philips semiconductors preliminary speci?cation 1999 sep 28 11 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series functional description of the micr o-contr oller/text decoder bloc k dia gram figure 4 top level architecture r g b vds v h cvbs cvbs i 2 c, general i/o data capture timing display timing data capture display memory interface dram rom micro processor (80c51) tv control and interface (16k to 128k) (3k to 12k) sram 256 bytes disp/aux program philips semiconductors preliminary speci?cation 1999 sep 28 12 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series micr ocontr oller the functionality of the microcontroller used on the device is described here with reference to the industry standard 80c51 microcontroller. a full description of its functionality can be found in the "80c51 based 8-bit microcontrollers - philips semiconductors (ref. ic20)" (reference [1]) memory organisation the device has the capability of a maximum of 128k program rom and 12k data ram internally. r om b ank s witching devices with up to 64k program rom have a continuous address space. devices with over 64k program rom use rom bank switching. the 128k version is arranged in four banks of 32k. one of the 32k banks is common and is always addressable. the other three banks(bank0,bank1,bank2) can be accessed by selecting the right bank via the sfr rombk bits 1/0. figure 5 rom bank switching memory map rombk<2:0> 0 to 32k 32k to 64k 00 common bank0 01 common bank1 10 common bank2 11 reserved reserved table 2 rom bank selection 7fffh 0000h ffffh 8000h 8000h 8000h ffffh ffffh common 32k bank0 32k bank2 32k bank1 32k philips semiconductors preliminary speci?cation 1999 sep 28 13 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series secur ity bits - prog r am and v er ify TDA935X/6x/8x devices have three sets of security bits, one set for each of the three one time programmable memories, i.e. program rom, character rom and packet 26 rom. the security bits are used to prevent the rom from being overwritten once programmed, and also the contents being verified once programmed. the security bits are one-time programmable and cannot be erased. the TDA935X/6x/8x memory and security bits are structured as shown in figure 6. the security bits are set as shown in figure 7 for production programmed devices and are set as shown in figure 8 for production blank devices. figure 6 memory and security bit structures figure 7 security bits for production devices handbook, full pagewidth mbk953 program rom memory user rom programming (enable/disable) verify (enable/disable) security bits interaction user rom (128k x 12-bit) character rom user rom (128k x 12-bit) packet 26 rom user rom (128k x 12-bit) user rom programming (enable/disable) verify (enable/disable) user rom programming (enable/disable) verify (enable/disable) user rom (128k x 8-bit) user rom (9k x 12-bit) user rom (4k x 8-bit) handbook, full pagewidth mbk954 program rom memory user rom programming (enable/disable) verify (enable/disable) disabled enabled disabled enabled disabled enabled security bits set character rom packet 26 rom philips semiconductors preliminary speci?cation 1999 sep 28 14 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 8 security bits for production blank devices ram o rganisa tion the internal data ram is organised into two areas, data memory and special function registers (sfrs) as shown in figure 9. data memor y the data memory is 256 x 8 bits wide (byte) and occupies the address range 00h to 255h when using indirect addressing and 00h to 127h when using direct addressing. the sfrs occupy the address range 128 to 255 and are accessible using direct addressing only. figure 9 internal data memory the lower 128 bytes of data memory are mapped as shown in figure 10. the lowest 24 bytes are grouped into 4 banks of 8 registers, the next 16 bytes above the register banks form a block of bit addressable memory space. handbook, full pagewidth mbk955 program rom memory user rom programming (enable/disable) verify (enable/disable) enabled enabled enabled enabled enabled enabled security bits set character rom packet 26 rom accessible by direct and indirect addressing accessible by indirect addressing only accessible by direct addressing 00h 7fh 80h ffh lower 128 upper 128 data memory special function registers only philips semiconductors preliminary speci?cation 1999 sep 28 15 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 10 lower 128 bytes of internal ram the upper 128 bytes is not allocated for any special area or functions. sfr memor y the special function register (sfr) space is used for port latches, timer, peripheral control, acquisition control, display control, etc. these register can only be accessed by direct addressing. sixteen of the addresses in the sfr space are both byte and bit-addressable. the bit-addressable sfrs are those whose address ends in 0h or 8h . a summary of the sfr map in address order is shown in table 3. . add r/w names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 80h r/w p0 - p0<6> p0<5> - - - - - 81h r/w sp sp<7> sp<6> sp<5> sp<4> sp<3> sp<2> sp<1> sp<0> 82h r/w dpl dpl<7> dpl<6> dpl<5> dpl<4> dpl<3> dpl<2> dpl<1> dpl<0> 83h r/w dph dph<7> dph<6> dph<5> dph<4> dph<3> dph<2> dph<1> dph<0> 87h r/w pcon 0 ard rfi wle gf1 gf0 pd idl 88h r/w tcon tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 89h r/w tmod gate c/ tm1m0gatec/ tm1m0 8ah r/w tl0 tl0<7> tl0<6> tl0<5> tl0<4> tl0<3> tl0<2> tl0<1> tl0<0> 8bh r/w tl1 tl1<7> tl1<6> tl1<5> tl1<4> tl1<3> tl1<2> tl1<1> tl1<0> table 3 sfr map bank select bits in psw 00h 08h 10h 18h 20h 07h 0fh 17h 1fh 2fh 11 = bank3 7fh 10 = bank2 01 = bank1 00 = bank0 bit addressable space ( bit addresses 0-7f) 4 banks of 8 registers r0 - r7 philips semiconductors preliminary speci?cation 1999 sep 28 16 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series 8ch r/w th0 th0<7> th0<6> th0<5> th0<4> th0<3> th0<2> th0<1> th0<0> 8dh r/w th1 th1<7> th1<6> th1<5> th1<4> th1<3> th1<2> th1<1> th1<0> 90h r/w p1 p1<7> p1<6> - - p1<3> p1<2> p1<1> p1<0> 96h r/w p0cfga - p0cfga<6> p0cfga<5> - - - - - 97h r/w p0cfgb - p0cfgb<6> p0cfgb<5> - - - - - 98h r/w sadb 0 0 0 dc comp sad<3> sad<2> sad<1> sad<0> 9eh r/w p1cfga p1cfga<7> p1cfga<6> - - p1cfga<3> p1cfga<2> p1cfga<1> p1cfga<0> 9fh r/w p1cfgb p1cfgb<7> p1cfgb<6> - - p1cfgb<3> p1cfgb<2> p1cfgb<1> p1cfgb<0> a0h r/w p2 ------- p2<0> a6h r/w p2cfga ------- p2cfga<0> a7h r/w p2cfgb ------- p2cfgb<0> a8h r/w ie ea ebusy es2 ecc et1 ex1 et0 ex0 b0h r/w p3 ---- p3<3> p3<2> p3<1> p3<0> b2h r/w txt18 not<3> not<2> not<1> not<0> 0 0 bs<1> bs<0> b3h r/w txt19 ten tc<2> tc<1> tc<0> 0 0 ts<1> ts<0> b4h r/w txt20 drcs enable osd planes 0 0 osd lang enable osd lan<2> osd lan<1> osd lan<0> b5h r/w txt21 disp line<1> disp lines<0> char size<1> char size<0> 0 cc on i2c port0 cc/txt b7h r/w cclin 0 0 0 cs<4> cs<3> cs<2> cs<1> cs<0> b8h r/w ip 0 pbusy pes2 pcc pt1 px1 pt0 px0 b9h r/w txt17 0 force acq<1> force acq<0> force disp<1> force disp<0> screen col<2> screen col<1> screen col<0> bah r wss1 0 0 0 wss<3:0> error wss<3> wss<2> wss<1> wss<0> bbh r wss2 0 0 0 wss<7:4> error wss<7> wss<6> wss<5> wss<4> bch r wss3 wss<13:11> error wss<13> wss<12> wss<11> wss<10:8> error wss<10> wss<9> wss<8> beh r/w p3cfga ---- p3cfga<3> p3cfga<2> p3cfga<1> p3cfga<0> bfh r/w p3cfgb ---- p3cfgb<3> p3cfgb<2> p3cfgb<1> p3cfgb<0> c0h r/w txt0 x24 posn display x24 - disable header roll display status row only - vps on inv on c1h r/w txt1 ext pkt off 8 bit acq off x26 off full field --- c2h r/w txt2 (reserved) 0 req<3> req<2> req<1> req<0> sc<2> sc<1> sc<0> c3h w txt3 - - - prd<4> prd<3> prd<2> prd<1> prd<0> c4h r/w txt4 osd bank enable quad width enable east/ west disable double height b mesh enable c mesh enable trans enable shadow enable c5h r/w txt5 bkgnd out bkgnd in corb out corb in text out text in picture on out picture on in c6h r/w txt6 bkgnd out bkgnd in corb out corb in text out text in picture on out picture on in add r/w names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 table 3 sfr map philips semiconductors preliminary speci?cation 1999 sep 28 17 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series c7h r/w txt7 status row top cursor on reveal bottom/ t op double height box on 24 box on 1- 23 box on 0 c8h r/w txt8 (reserved) 0 flicker st op on (reserved) 0 disable spanish pkt 26 received wss received wss on (reserved) 0 c9h r/w txt9 cursor freeze clear memory a0 r<4> r<3> r<2> r<1> r<0> cah r/w txt10 0 0 c<5> c<4> c<3> c<2> c<1> c<0> cbh r/w txt11 d<7> d<6> d<5> d<4> d<3> d<2> d<1> d<0> cch r txt12 525/ 625 sync spanish rom ver<3> rom ver<2> rom ver<1> rom ver<0> 1 video signal quality cdh r/w txt14 0 0 0 (reserved) 0 page<3> page<2> page<1> page<0> ceh r/w txt15 0 0 0 (reserved) 0 block<3> block<2> block<1> block<0> d0h r/w psw c ac f0 rs1 rs0 ov - p d2h r/w tdacl td<7> td<6> td<5> td<4> td<3> td<2> td<1> td<0> d3h r/w tdach tpwe 1 td<13> td<12> td<11> td<10> td<9> td<8> d5h r/w pwm0 pw0e 1 pw0v<5> pw0v<4> pw0v<3> pw0v<2> pw0v<1> pw0v<0> d6h r/w pwm1 pw1e 1 pw1v<5> pw1v<4> pw1v<3> pw1v<2> pw1v<1> pw1v<0> d7h r ccdat1 ccd1<7> ccd1<6> ccd1<5> ccd1<4> ccd1<3> ccd1<2> ccd1<1> ccd1<0> d8h r/w s1con cr<2> ensi sta sto si aa cr<1> cr<0> d9h r s1sta stat<4> stat<3> stat<2> stat<1> stat<0> 0 0 0 dah r/w s1dat dat<7> dat<6> dat<5> dat<4> dat<3> dat<2> dat<1> dat<0> dbh r/w s1adr adr<6> adr<5> adr<4> adr<3> adr<2> adr<1> adr<0> gc dch r/w pwm3 pw3e 1 pw3v<5> pw3v<4> pw3v<3> pw3v<2> pw3v<1> pw3v<0> e0h r/w acc acc<7> acc<6> acc<5> acc<4> acc<3> acc<2> acc<1> acc<0> e4h r/w pwm2 pw2e 1 pw2v<5> pw2v<4> pw2v<3> pw2v<2> pw2v<1> pw2v<0> e7h r ccdat2 ccd2<7> ccd2<6> ccd2<5> ccd2<4> ccd2<3> ccd2<2> ccd2<1> ccd2<0> e8h r/w sad vhi ch<1> ch<0> st sad<7> sad<6> sad<5> sad<4> f0h r/w b b<7> b<6> b<5> b<4> b<3> b<2> b<1> b<0> f7h w wdtkey wkey<7> wkey<6> wkey<5> wkey<4> wkey<3> wkey<2> wkey<1> wkey<0> f8h r/w txt13 vps received page clearing 525 display 525 text 625 text pkt 8/30 fastext (reserved) 0 fah r/w xramp xramp<7> xramp<6> xramp<5> xramp<4> xramp<3> xramp<2> xramp<1> xramp<0> fbh r/w rombk standby 00000r ombk<1> rombk<0> ffh r/w wdt wdv<7> wdv<6> wdv<5> wdv<4> wdv<3> wdv<2> wdv<1> wdv<0> add r/w names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 table 3 sfr map philips semiconductors preliminary speci?cation 1999 sep 28 18 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series the description of each of the sfr bits is shown in table 4, the table has the sfrs in alphabetical order. names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset acc acc<7> acc<6> acc<5> acc<4> acc<3> acc<2> acc<1> acc<0> 00h acc<7:0> accumulator value b b<7> b<6> b<5> b<4> b<3> b<2> b<1> b<0> 00h b<7:0> b register value ccdat1 ccd1<7> ccd1<6> ccd1<5> ccd1<4> ccd1<3> ccd1<2> ccd1<1> ccd1<0> 00h ccd1<7:0> closed caption ?rst data byte ccdat2 ccd2<7> ccd2<6> ccd2<5> ccd2<4> ccd2<3> ccd2<2> ccd2<1> ccd2<0> 00h ccd2<7:0> closed caption second data byte cclin 0 0 0 cs<4> cs<3> cs<2> cs<1> cs<0> 15h cs<4:0> closed caption slice line using 525 line number. dph dph<7> dph<6> dph<5> dph<4> dph<3> dph<2> dph<1> dph<0> 00h dph<7:0> data pointer high byte, used with dpl to address auxiliary memory dpl dpl<7> dpl<6> dpl<5> dpl<4> dpl<3> dpl<2> dpl<1> dpl<0> 00h dpl<7:0> data pointer low byte, used with dph to address auxiliary memory ie ea ebusy es2 ecc et1 ex1 et0 ex0 00h ea disable all interrupts (0), or use individual interrupt enable bits (1) ebusy enable busy interrupt es2 enable i 2 c interrupt ecc enable closed caption interrupt et1 enable timer 1 interrupt ex1 enable external interrupt 1 et0 enable timer 0 interrupt ex0 enable external interrupt 0 ip 0 pbusy pes2 pcc pt1 px1 pt0 px0 00h pbusy priority ebusy interrupt pes2 priority es2 interrupt pcc priority ecc interrupt pt1 priority timer 1 interrupt px1 priority external interrupt 1 pt0 priority timer 0 interrupt px0 priority external interrupt 0 p0 - p0<6> p0<5> - - - - - ffh p0<6:5> port 0 i/o register connected to external pins p1 p1<7> p1<6> - - p1<3> p1<2> p1<1> p1<0> ffh p1<7:6,3:0> port 1 i/o register connected to external pins p2 ------- p2<0> ffh p2<0> port 2 i/o register connected to external pins table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 19 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series p3 ---- p3<3> p3<2> p3<1> p3<0> ffh p3<3:0> port 3 i/o register connected to external adc pins. any combination of adc input or pwm (p3<3:0>) output available via s oftware control. p0cfga - p0cfga<6> p0cfga<5> - - - - - ffh p0cfgb - p0cfgb<6> p0cfgb<5> - - - - - 00h p0cfgb philips semiconductors preliminary speci?cation 1999 sep 28 20 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series rs<1:0> register bank selector bits rs<1:0> = 00, bank0 (00h - 07h) rs<1:0> = 01, bank1 (08h - 0fh) rs<1:0> = 10, bank2 (10h - 17h) rs<1:0> = 11, bank3 (18h - 1fh) ov over?ow ?ag p parity bit pwm0 pw0e 1 pw0v<5> pw0v<4> pw0v<3> pw0v<2> pw0v<1> pw0v<0> 40h pw0e 0 - disable pulse width modulator 0 1 - enable pulse width modulator 0 pw0v<5:0> pulse width modulator high time pwm1 pw1e 1 pw1v<5> pw1v<4> pw1v<3> pw1v<2> pw1v<1> pw1v<0> 40h pw1e 0 - disable pulse width modulator 1 1 - enable pulse width modulator 1 pw1v<5:0> pulse width modulator high time pwm2 pw2e 1 pw2v<5> pw2v<4> pw2v<3> pw2v<2> pw2v<1> pw2v<0> 40h pw2e 0 - disable pulse width modulator 2 1 - enable pulse width modulator 2 pw2v<5:0> pulse width modulator high time pwm3 pw3e 1 pw3v<5> pw3v<4> pw3v<3> pw3v<2> pw3v<1> pw3v<0> 40h pw3e 0 - disable pulse width modulator 3 1 - enable pulse width modulator 3 pw3v<5:0> pulse width modulator high time pw7v<5:0> pulse width modulator high time rombk standby 00000r ombk<1> rombk<0> 00h standby 0 - stand-by mode inactive 1 - stand-by mode active rombk<1:0> rom bank selection rombk<1:0>=00, bank0 rombk<1:0>=01, bank1 rombk<1:0>=10, bank2 rombk<1:0>=11, reserved s1adr adr<6> adr<5> adr<4> adr<3> adr<2> adr<1> adr<0> gc 00h adr<6:0> i2c slave address gc 0 - disable i 2 c general call address 1 - enable i 2 c general call address s1con cr<2> ensi sta sto si aa cr<1> cr<0> 00h cr<2:0> clock rate bits cr<2:0> = 000, 100khz bit rate cr<2:0> = 001, 3.75khz bit rate cr<2:0> = 010, 150khz bit rate cr<2:0> = 011, 200khz bit rate cr<2:0> = 100, 25khz bit rate cr<2:0> = 101, 1.875khz bit rate cr<2:0> = 110, 37.5khz bit rate cr<2:0> = 111, 50khz bit rate names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 21 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series ensi 0 - disable i 2 c interface 1 - enable i 2 c interface sta start ?ag. when this bit is set in slave mode, the hardware checks the i2c bus and generates a start condition if the bus is free or after the bus becomes free. if the device operates in master mode it will generate a repeated start condition. sto stop ?ag. if this bit is set in a master mode a stop condition is generated. a stop condition detected on the i2c bus clears this bit. this bit may also be set in slave mode in order to recover from an error condition. in this case no stop condition is generated to the i2c bus, but the hardware releases the sda and scl lines and switches to the not selected receiver mode. the stop ?ag is cleared by the hardware si serial interrupt ?ag. this ?ag is set and an interrupt request is generated, after any of the following events occur: -a start condition is generated in master mode. -the own slave address has been received during aa=1 -the general call address has been received while s1adr.gc and aa=1 -a data byte has been received or transmitted in master mode (even if arbitration is lost) -a data byte has been received or transmitted as selected slave a stop or start condition is received as selected slave receiver or transmitter while the si ?ag is set, scl remains low and the serial transfer is suspened.si must be reset by software. aa assert acknowledge ?ag. when this bit is set, an acknowledge is returned after any one of the following conditions -own slave address is received. -general call address is received(s1adr.gc=1) -a data byte is received, while the device is programmed to be a master receiver -a data byte is received, while the device is selected slave receiver when the bit is reset, no acknowledge is returned. consequently, no interrupt is requested when the own address or general call address is received. s1dat dat<7> dat<6> dat<5> dat<4> dat<3> dat<2> dat<1> dat<0> 00h dat<7:0> i 2 c data s1sta stat<4> stat<3> stat<2> stat<1> stat<0> 0 0 0 f8h stat<4:0> i 2 c interface status sad vhi ch<1> ch<0> st sad<7> sad<6> sad<5> sad<4> 00h vhi 0 - analogue input voltage less than dac voltage 1 - analogue input voltage greater then dac voltage ch<1:0> adc input channel select ch<1:0> = 00,adc3 ch<1:0> = 01,adc0 ch<1:0> = 10,adc1 ch<1:0> = 11,adc2 st initiate voltage comparison between adc input channel and sad<7:0> value note: set by software and reset by hardware sad<7:4> most signi?cant nibble of dac input word sadb 0 0 0 dc comp sad<3> sad<2> sad<1> sad<0> 00h dc comp 0 - dc comparator mode disabled 1 - dc comparator mode enabled sad<3:0> least signi?cant nibble of 8 bit sad value sp sp<7> sp<6> sp<5> sp<4> sp<3> sp<2> sp<1> sp<0> 07h sp<7> stack pointer tcon tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 00h tf1 timer 1 over?ow flag. set by hardware on timer/counter over?ow.cleared by hardware when processor vectors to interrupt routi ne tr1 timer 1 run control bit. set/cleared by software to turn timer/counter on/off tf0 timer 0 over?ow flag. set by hardware on timer/counter over?ow.cleared by hardware when processor vectors to interrupt routi ne tr0 timer 0 run control bit. set/cleared by software to turn timer/counter on/off ie1 interrupt 1 edge ?ag (both edges generate ?ag). set by hardware when external interrupt edge detected.cleared by hardware wh en interrupt processed. names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 22 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series it1 interrupt 1 type control bit. set/cleared by software to specify edge/low level triggered external interrupts. ie0 interrupt 0 edge l ?ag. set by hardware when external interrupt edge detected.cleared by hardware when interrupt processed. it0 interrupt 0 type ?ag.set/cleared by software to specify falling edge/low level triggered external interrupts tdach tpwe 1 td<13> td<12> td<11> td<10> td<9> td<8> 40h tpwe 0 - disable tuning pulse width modulator 1 - enable tuning pulse width modulator td<13:8> tuning pulse width modulator high byte tdacl td<7> td<6> td<5> td<4> td<3> td<2> td<1> td<0> 00h td<7:0> tuning pulse width modulator low byte th0 th0<7> th0<6> th0<5> th0<4> th0<3> th0<2> th0<1> th0<0> 00h th0<7:0> timer 0 high byte th1 th1<7> th1<6> th1<5> th1<4> th1<3> th1<2> th1<1> th1<0> 00h th1<7:0> timer 1 high byte tl0 tl0<7> tl0<6> tl0<5> tl0<4> tl0<3> tl0<2> tl0<1> tl0<0> 00h tl0<7:0> timer 0 low byte tl1 tl1<7> tl1<6> tl1<5> tl1<4> tl1<3> tl1<2> tl1<1> tl1<0> 00h tl1<7:0> timer 1 low byte tmod gate c/t m1 m0 gate c/t m1 m0 00h timer 1 timer 0 gate gating control timer /counter 1 c/t counter (1) or timer (0) selector m1,m0 mode control bits m1,m0 = 00, 8 bit timer or 8 bit counter with divide by 32 prescaler m1,m0 = 01, 16 bit time interval or event counter m1,m0 = 10, 8 bit time interval or event counter with automatic reload upon over?ow. reload value stored in th1 m1,m0 = 11, stopped gate gating control timer/counter 0 c/t counter (1) or timer (0) selector m1,m0 mode control bits m1,m0 = 00, 8 bit timer or 8 bit counter with divide by 32 prescaler m1,m0 = 01, 16 bit time interval or event counter m1,m0 = 10, 8 bit time interval or event counter with automatic reload upon over?ow. reload value stored in th0 m1,m0 = 11, one 8bit time interval or event counter and one 8bit time interval counter txt0 x24 posn display x24 - disable header roll display status row only - vps on inv on 00h x24 posn 0 - store x/24 in extension memory 1 - store x/24 in basic page memory with packets 0 to 23 dislay x24 0 - display row 24 from basic page memory 1 - display row 24 from appropriate location in extension memory disable header roll 0 - write rolling headers and time to current display page 1 - disable writing of rolling headers and time to into memory names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 23 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series display status row only 0 - display normal page rows 0 to 24 1- display only row 24 vps on 0 - vps acquisition off 1 - vps acquisition on inv on 0 - inventory page off 1 - inventory page on txt1 ext pkt off 8 bit acq off x26 off full field 000 00h ext pkt off 0 - acquire extension packets x/24,x/27,8/30/x 1 - disable acquisition of extension packets 8 bit 0 - error check and/or correct packets 0 to 24 1 - disable checking of packets 0 to 24 written into memory acq off 0 - write requested data into display memory 1 - disable writing of data into display memory x26 off 0 - enable automatic processing of x/26 data 1 - disable automatic processing of x/26 data full field 0 - acquire data only on vbi lines 1 - acquire data on any tv line txt2 (reserved) 0 req<3> req<2> req<1> req<0> sc<2> sc<1> sc<0> 00h req<3:0> page request sc<2:0> start column of page request txt3 prd<4> prd<3> prd<2> prd<1> prd<0> 00h prd<4:0> page request data txt4 osd bank enable quad width enable east/ west disable dbl height b mesh enable c mesh enable trans enable shadow enable 00h osd bank enable 0 - only alpha numeric osd characters available, 32 locations 1 - alternate osd location available via graphic attribute, additional 32 location quad width enable 0 - disable display of quadruple width characters 1 - enable display of quadruple width characters east/ west 0 - western language selection of character codes a0 to ff 1 - eastern character selection of character codes a0 to ff disable double height 0 - allow normal decoding of double height characters 1 - disable normal decoding of double height characters b mesh enable 0 - normal display of black background 1 - enable meshing of black background c mesh enable 0 - normal display of coloured background 1 - enable meshing of coloured background trans enable 0 - display black background as normal 1 - display black background as video shadow enable 0 - disable display of shadow/fringing 1 - display shadow/ fringe (default se black) txt5 bkgnd out bkgnd in cor out cor in text out text in picture on out picture on in 03h bkgnd out 0 - background colour not displayed outside teletext boxes 1 - background colour displayed outside teletext boxes names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 24 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series bkgnd in 0 - background colour not displayed inside teletext boxes 1 - background colour displayed inside teletext boxes cor out 0 - cor not active outside teletext and osd boxes 1 - cor active outside teletext and osd boxes cor in 0 - cor not active inside teletext and osd boxes 1 - cor active inside teletext and osd boxes text out 0 - text not displayed outside teletext boxes 1 - text displayed outside teletext boxes text in 0 - text not displayed inside teletext boxes 1 - text displayed inside teletext boxes picture on out 0 - video not displayed outside teletext boxes 1 - video displayed outside teletext boxes picture on in 0 - video not displayed inside teletext boxes 1 - video displayed inside teletext boxes txt6 bkgnd out bkgnd in cor out cor in text out text in picture on out picture on in 03h bkgnd out 0 - background colour not displayed outside teletext boxes 1 - background colour displayed outside teletext boxes bkgnd in 0 - background colour not displayed inside teletext boxes 1 - background colour displayed inside teletext boxes cor out 0 - cor not active outside teletext and osd boxes 1 - cor active outside teletext and osd boxes cor in 0 - cor not active inside teletext and osd boxes 1 - cor active inside teletext and osd boxes text out 0 - text not displayed outside teletext boxes 1 - text displayed outside teletext boxes text in 0 - text not displayed inside teletext boxes 1 - text displayed inside teletext boxes picture on out 0 - video not displayed outside teletext boxes 1 - video displayed outside teletext boxes picture on in 0 - video not displayed inside teletext boxes 1 - video displayed inside teletext boxes txt7 status row top cursor on reveal bottom/ t op double height box on 24 box on 1- 23 box on 0 00h status row top 0 - display memory row 24 information below teletext page (on display row 24) 1 - display memory row 24 information above teletext page (on display row 0) cursor on 0 - disable display of cursor 1 - display cursor at position given by txt9 and txt10 reveal 0 - display as spaces characters in area with conceal attribute set 1 - display characters in area with conceal attribute set bottom/ t op 0 - display memory rows 0 to 11 when double height bit is set 1 - display memory rows 12 to 23 when double height bit is set double height 0 - display each characters with normal height 1 - display each character as twice normal height. box on 24 0 - disable display of teletext boxes in memory row 24 1 - enable display of teletext boxes in memory row 24 box on 1-23 0 - disable display of teletext boxes in memory row 1 to 23 1 - enable display of teletext boxes in memory row 1 to 23 names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 25 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series box on 0 0 - disable display of teletext boxes in memory row 0 1 - enable display of teletext boxes in memory row 0 txt8 (reserved) 0 flicker st op on (reserved) 0 disable spanish pkt 26 received wss received wss on 0 00h flicker st op on 0 - enable flicker stopper circuitry 1 - disable flicker stopper circuitry disable spanish 0 - enable special treatment of spanish packet 26 characters 1 - disable special treatment of spanish packet 26 characters pkt 26 received 0 - no packet 26 data has been processed 1 - packet 26 data has been processed. note: this ?ag is set by hardware and must be reset by software wss received 0 - no wide screen signalling data has been processed 1 - wide screen signalling data has been processed note: this ?ag is set by hardware and must be reset by software. wss on 0 - disable acquisition of wss data. 1 - enable acquisition of wss data. txt9 cursor freeze clear memory a0 r<4> r<3> r<2> r<1> r<0> 00h cursor freeze 0 - use current txt9 and txt10 values for cursor position. 1 - lock cursor at current position clear memory 0 - clear memory block not requested 1 - clear memory block pointed to by txt15 note: this ?ag is set by software and reset by hardware a0 0 - access memory block pointed to by txt15 1 - access extension packet memory r<4:0> current memory row value. note: valid range txt mode 0 to 24. txt10 0 0 c<5> c<4> c<3> c<2> c<1> c<0> 00h c<5:0> current memory column value. note: valid range txt mode 0 to 39. txt11 d<7> d<6> d<5> d<4> d<3> d<2> d<1> d<0> 00h d<7:0> data value written or read from memory location de?ned by txt9, txt10 and txt15 txt12 625/525 sync spanish rom ver<3> rom ver<2> rom ver<1> rom ver<0> 1 video signal quality xxxxxx1xb 625/525 sync 0 - 625 line cvbs signal is being received 1 - 525 line cvbs signal is being received spanish 0 - spanish character set not present in device 1 - spanish character set present in device rom ver<3:0> mask programmable identi?cation for character set video signal quality 0 - acquisition can not be synchronised to cvbs input 1 - acquisition can be synchronised to cvbs input txt13 vps received page clearing 525 display 525 text 625 text pkt 8/30 fastext 0 xxxxxxx0b vps received 0 - vps data not being received 1 - vps data being received page clearing 0 - no page clearing active 1 - software or power on page clear in progress names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 26 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series 525 display 0 - 625 line synchronisation for display 1 - 525 line synchronisation for display 525 text 0 - 525 line wst not being received 1 - 525 line wst being received 625 text 0 - 625 line wst not being received 1 - 625 line wst being received pkt 8/30 0 - no packet 8/30/x(625) or packet 4/30/x(525) data detected 1 - packet 8/30/x(625) or packet 4/30/x(525) data detected fastext 0 - no packet x/27 data detected 1 - packet x/27 data detected txt14 0 0 0 (reserved) 0 page<3> page<2> page<1> page<0> 00h page<3:0> current display page txt15 0 0 0 (reserved) 0 block<3> block<2> block<1> block<0> 00h block<3:0> current micro block to be accessed by txt9, txt10 and txt11 txt17 0 force acq<1> force acq<0> force disp<1> force disp<0> screen col2 screen col1 screen col0 00h force acq<1:0> 00 - automatic selection 01 - force 525 timing, force 525 teletext standard 10 - force 625 timing, force 625 teletext standard 11 - force 625 timing, force 525 teletext standard force disp<1:0> 00 - automatic selection 01 - force display to 525 mode (9 lines per row) 10 - force display to 625 mode (10 lines per row) 11 - not valid (default to 625) screen col<2:0> de?nes colour to be displayed instead of tv picture and black background. the bits <2:0> are equivalent to the rgb components 000 - transparent 001 - clut entry 9 010 - clut entry 10 011- clut entry 11 100 - clut entry 12 101 - clut entry 13 110- clut entry 14 111 - clut entry 15 txt18 not<3> not<2> not<1> not<0> 0 0 bs<1> bs<0> 00h not<3:0> national option table selection, maximum of 32 when used with east/west bit bs<1:0> basic character set selection txt19 ten tc<2> tc<1> tc<0> 0 0 ts<1> ts<0> 00h ten 0 - disable twist function 1- enable twist character set tc<2:0> language control bits (c12/c13/c14) that has twisted character set ts<1:0> twist character set selection txt20 drcs enable osd planes 0 0 osd lang enable osd lan<2> osd lan<1> osd lan<0> 00h drcs enable 0 - normal osd characters used 1 - re-map column 8 and 9 to drcs. osd planes 0 - character code columns 8 and 9 de?ned as single plane characters (two colours per character). 1- character code columns 8 and 9 de?ned as two plane characters (four colours per character). names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 27 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series osd lang enable enable use of osd lan<2:0> to de?ne language option for display, instead of c12/c13/c14 osd lan<2:0> alternative c12/c13/c14 bits for use with osd menus txt21 disp lines<1> disp lines<0> char size<1> char size<0> 0 cc on i2c port0 cc/txt 02h disp lines<1:0> the number of display lines per character row. 00 - 10 lines per character (defaults to 9 lines in 525 mode) 01 - 13 lines per character 10 - 16 lines per character 11 - reserved char size<1:0> character matrix size. 00 - 10 lines per character (matrix 12x10) 01 - 13 lines per character (matrix 12x13) 10 - 16lines per character (matrix 12x16) 11 - reserved ccon 0 - closed caption acquisition off 1 - closed caption acquisition on i2c port0 0 - disable i2c port0 1 - enable i2c port0 selection (p1.7/sda0, p1.6/scl0) cc/txt 0 - display con?gured for txt mode 1 - display con?gured for cc mode wdt wdv<7> wdv<6> wdv<5> wdv<4> wdv<3> wdv<2> wdv<1> wdv<0> 00h wdv<7:0> watch dog timer period wdtkey wkey<7> wkey<6> wkey<5> wkey<4> wkey<3> wkey<2> wkey<1> wkey<0> 00h wkey<7:0> watch dog timer key note: must be set to 55h to disable watch dog timer when active wss1 0 0 0 wss<3:0> error wss<3> wss<2> wss<1> wss<0> 00h wss<3:0> error 0 - no error in wss<3:0> 1 - error in wss<3:0> wss<3:0> signalling bits to de?ne aspect ratio (group 1) wss2 0 0 0 wss<7:4> error wss<7> wss<6> wss<5> wss<4> 00h wss<7:4> error 0 - no errors in wss<7:4> 1 - error in wss<7:4> wss<7:4> signalling bits to de?ne enhanced services (group 2) wss3 wss<13:11< error wss<13> wss<12> wss<11> wss<10:8> error wss<10> wss<9> wss<8> 00h wss<13:11> error 0 - no error in wss<13:11> 1 - error in wss<13:11> wss<13:11> signalling bits to de?ne reserved elements (group 4) wss<10:8> error 0 - no error in wss<10:8> 1 - error in ws<10:8> wss<10:8> signalling bits to de?ne subtitles (group 3) xramp xramp<7> xramp<6> xramp<5> xramp<4> xramp<3> xramp<2> xramp<1> xramp<0> 00h xramp<7:0> internal ram access upper byte address names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset table 4 sfr bit description philips semiconductors preliminary speci?cation 1999 sep 28 28 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series char acter set f eature bits features available on the TDA935X/6x/8x devices are reflected in a specific area of the character rom. these sections of the character rom are mapped to two special function registers: txt22 and txt12. character rom address 09feh is mapped to sfr txt22 as shown in table 5. character rom address 09ffh is mapped to sfr txt12 as shown in table 7. mapped items 11 10 9876543210 character rom; address 09feh x x xxxxx uuuux mapped to txt22 ---- 76543210 u = used, x = reserved table 5 character rom - txt22 mapping bit function 0 reserved 1 1 = text acquisition available 0 = text acquisition not available 2 1 = closed caption acquisition available 0 = closed caption acquisition not available 3 1 = pwm0, pwm1, pwm2 and pwm3 not present 0 = pwm0, pwm1, pwm2 and pwm3 output on port 3.0 to port 3.3 respectively 4 1 = 10 page available 0 = 6 page available 5 to 11 reserved table 6 description of character rom address 09feh bits mapped items 11 10 9876543210 character rom; address 09ffh x x xxxxxuxxxx mapped to txt2 - - ----- 65432 4 = used, 5 = reserved table 7 character rom - txt12 mapping bit function 4 1 = spanish character set present 0 = no spanish character set present 0 to 3, 5 to 11 reserved table 8 description of character rom address 0x 09ffh bits philips semiconductors preliminary speci?cation 1999 sep 28 29 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series exter nal (a uxiliar y) memor y the normal 80c51 external memory area has been mapped internally to the device, this means that the movx instruction accesses memory internal to the device. figure 11 auxiliary ram allocation data ram (1) 0000h 2000h 7fffh 8000h 845fh display ram for closed caption (3) 8700h 871fh clut 87f0h 87ffh display registers 8800h 8bffh dynamically redefinable characters lower 32k bytes upper 32k bytes ffffh (1) amount of data ram depends on device (2) amount of display ram depends on the device (3) display ram for closed caption and text is shared 47ffh display ram for text pages (2) 07ffh philips semiconductors preliminary speci?cation 1999 sep 28 30 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series a uxiliar y ram p age selection the auxiliary ram page selector is used to select one of the 256 pages within the auxiliary ram, not all pages are allocated, refer to figure 11 for further detail. a page consists of 256 consecutive bytes. figure 12 indirect addressing of aux-ram (xramp)=00h 0000h 00ffh 0100h 01ffh 00h ffh 00h ffh (xramp)=01h (xramp)=feh fe00h feffh ff00h ffffh 00h ffh 00h ffh (xramp)=ffh movx @dptr,a movx @ri, a movx a, @ri movx a,@dptr philips semiconductors preliminary speci?cation 1999 sep 28 31 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series power-on reset an automatic reset can be obtained when vdd is applied by connecting the reset pin to vddp through a 10uf capacitor, providing the vdd rise time does not exceed 1ms, and the oscillator start-up time does not exceed 10ms. to ensure correct initialisation, the reset pin must be held high long enough for the oscillator to settle following power-up, usually a few milli-seconds. once the oscillator is stable, a further 12 clocks are required to generate the reset (one machine cycle of the micro-controller). once the above reset condition has been detected an internal reset signal is triggered which remains active for 2048 clock cycles. reduced power modes there are three power saving modes: stand-by, idle and power down. in all three modes the 3.3v power supplies (vddp, vddc & vdda) to the device must be maintained. power saving is achieved by clock gating on a section by section basis. s t and - by m ode when stand-by mode is entered both acquisition and display sections are disabled. the following functions remain active:- ? 80c51 core ? memory interface ? i2c ? timer/counters ? watchdog timer ? software a/d ? pulse width modulators to enter stand-by mode, the standby control bit in the rombank sfr (bit-7) must be set. it can be used in conjunction with either idle or power-down to switch between power saving modes. this mode enables the 80c51 core to decode either ir remote commands or receive iic commands without the need to fully power the device. the stand-by state is maintained upon exit from idle / power-down. no wake-up from stand-by is necessary as the 80c51 core remains operational. since the output values on rgb and vds are maintained the teletext/osd display must be disabled before entering this mode. i dle m od e during idle mode, acquisition, display and the cpu sections of the device are disabled. the following functions remain active:- ? memory interface ? i2c ? timer/counters philips semiconductors preliminary speci?cation 1999 sep 28 32 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series ? watchdog timer ? pulse width modulators to enter idle mode the idl bit in the pcon register must be set. the watchdog timer must be disabled prior to entering idle to prevent the device being reset. once in idle mode, the xtal oscillator continues to run, but the internal clock to the cpu, acquisition and display are gated out. however, the clocks to the memory interface, i2c, timer/counters, watchdog timer and pulse width modulators are maintained. the cpu state is frozen along with the status of all sfrs, internal ram contents are maintained, as are the device output pin values. since the output values on rgb and vds are maintained the teletext/osd display must be disabled before entering this mode. there are three methods available to recover from idle:- ? assertion of an enabled interrupt will cause the idl bit to be cleared by hardware, thus terminating idle mode. the interrupt is serviced, and following the instruction reti, the next instruction to be executed will be the one after the instruction that put the device into idle mode. ? a second method of exiting idle is via an interrupt generated by the sad dc compare circuit. when painter is con?gured in this mode, detection of an analogue threshold at the input to the sad may be used to trigger wake-up of the device i.e. tv front panel key-press. as above, the interrupt is serviced, and following the instruction reti, the next instruction to be executed will be the one following the instruction that put the device into idle. for further details of the sad dc compare mode refer to the software a/d description within the micro-controller section. ? the third method of terminating idle mode is with an external hardware reset. since the oscillator is running, the hardware reset need only be active for one machine cycle (12 clocks at 12mhz) to complete the reset operation. reset de?nes all sfrs and display memory to a pre-de?ned state, but maintains all other ram values. code execution commences with the program counter set to 0000. p o wer d o wn m ode in power down mode the xtal oscillator is stopped. the contents of all sfr, and ram is maintained, however the auxiliary/display memory is not maintained. the port pins maintain the values defined by the sfrs. since the output values on rgb and vds are maintained the teletext/osd display must be made inoperative before entering power down mode. the power down mode is activated by setting the pd bit in the pcon register. the watchdog timer must be disabled before entering power down. there are two methods of exiting power down. since the clock is stopped, external interrupts needs to be set to level sensitive, by changing the level of these interrupts the device can be taken out of power down. the second method of terminating the power down mode is with an external hardware reset. reset defines all sfrs and display memory, but maintains all other ram values. i/o facility i/o por ts the device has a number of micro-controller port i/o lines, each are individually addressable. the i 2 c-bus ports (p1.6 and p1.7) can only be configured as open-drain. philips semiconductors preliminary speci?cation 1999 sep 28 33 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series p or t type all individual ports bits can be programmed to function in one of four modes, the mode is defined by eight port configuration sfrs (p0cfga/p0cfgb, p1cfga/p1cfgb, p2cfga/p2cfgb and p3cfga/p3cfgb). the modes available are open drain, quasi-bidirectional, high impedance, push-pull. open dr ain the open drain mode can be used for bi-directional operation of a port. it requires an external pull-up resistor, the pull-up voltage has a maximum value of 5.5v, to allow connection of the device into a 5v environment. quasi-bidirectional the quasi-bidirectional mode is a combination of open drain and push pull. it requires an external pull-up resistor to vddp (nominally 3.3v). when a signal transition from 0 to 1 is output from the device, the pad is put into push- pull mode for one clock cycle (166ns) after which the pad goes into open drain mode. the mode may be used to speed up the edges of signal transitions. this is the default mode of operation of the pads after reset. high impedance the high impedance mode can be used for input only operation of the port. when using this configuration the two output transistors are turned off. push-pull the push pull mode can be used for output only. in this mode the signal is driven to either 0v or vddp, which is nominally 3.3v. interrupt system the device has 7 interrupt sources, each of which can be enabled or disabled. when enabled each interrupt can be assigned one of two priority levels. there are four interrupts that are common to the 80c51, two of these are external interrupts (ex0 and ex1) and the other two are timer interrupts (et0 and et1). in addition to the conventional 80c51, two application specific interrupts are incorporated internal to the device which have following functionality:- ecc (closed caption data ready interrupt) - this interrupt is generated when the device is configured in closed caption acquisition mode. the interrupt is activated at the end of the currently selected slice line as defined in the cclin sfr. ebusy (display busy interrupt) - an interrupt is generated when the display enters either a horizontal or vertical blanking period. i.e. indicates when the micro-controller can update the display ram without causing undesired effects on the screen. this interrupt can be configured in one of two modes using the mmr con?guration register (address 87ff, bit-3 [txt/v]):- ? text display busy: an interrupt is generated on each active horizontal display line when the horizontal blanking period is entered. ? vertical display busy: an interrupt is generated on each vertical display ?eld when the vertical blanking period is entered. philips semiconductors preliminary speci?cation 1999 sep 28 34 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series interr upt enab le str ucture each of the individual interrupt can be enable or disable by setting or clearing the relevant bit in the interrupt enable sfr called ie. all interrupt sources can also be globally disabled by clearing the ea bit (ie.7) the interrupt structure is shown in figure 13. . figure 13 interrupt structure interr upt enab le pr ior ity each interrupt source can be assigned one of two priority levels. the interrupt priority are defined by the interrupt priority sfr called ip. a low priority interrupt can be interrupted by a high priority interrupt, but not by another low priority interrupt. a high priority interrupt can not be interrupted by any other interrupt source. if two requests of different priority level are received simultaneously, the request with the highest priority level is serviced. if requests of the same priority level are received simultaneously, an internal polling sequence determines which request is serviced. thus, within each priority level there is a second priority structure determined by the polling sequence as defined in table 9 ex0 et0 ex1 et1 ecc es2 ebusy h1 h2 h3 h4 h5 h6 h7 l1 l2 l3 l4 l5 l6 l7 interrupt source source enable global enable priority control ie.0:6 ie.7 ip.0:6 highest priority level1 highest priority level0 lowest priority level1 lowest priority level0 philips semiconductors preliminary speci?cation 1999 sep 28 35 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series . i nterr upt v ect or a ddress the processor acknowledges an interrupt request by executing a hardware generated lcall to the appropriate servicing routine. the interrupt vector addresses for each source are shown in table 9. l evel /e dge i nterr upt the external interrupt can be programmed to be either level-activated or transition activated by setting or clearing the it0/1 bits in the timer control sfr called tcon. the external interrupt int1 differs from the standard 80c51 in that it is activated on both edges when in edge sensitive mode. this is to allow software pulse width measurement for handling remote control inputs. timer/counter two 16 bit timers/counters are incorporated timer0 and timer1. both can be configured to operate as either timers or event counters. in timer mode, the register is incremented on every machine cycle. it is therefore counting machine cycles. since the machine cycle consists of 12 oscillator periods, the count rate is 1/12 fosc = 1mhz. in counter mode, the register is incremented in response to a negative transition at its corresponding external pin t0 or t1. since the pins t0 and t1 are sampled once per machine cycle it takes two machine cycles to recognise a transition, this gives a maximum count rate of 1/24 fosc = 0.5mhz. there are six special function registers used to control the timers/counters. these are: source priority within level interrupt vector ex0 highest 0003h et0 - 000bh ex1 - 0013h et1 - 001bh ecc - 0023h es2 - 002bh ebusy lowest 0033h table 9 interrupt priority (within same level) itx level edge 0 active low 1 int0 = negative edge int1 = positive and negative edge table 10 external interrupt activation philips semiconductors preliminary speci?cation 1999 sep 28 36 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series tcon, tmod, tl0, th0, tl1 and th1. the timer/counter function is selected by control bits c/t in the timer mode sfr(tmod). these two timer/ counter have four operating modes, which are selected by bit-pairs (m1.m0) in the tmod. details of the modes of operation are given in the "80c51 based 8-bit microcontrollers - philips semiconductors (ref. ic20)" (reference [1]). tl0 and th0 are the actual timer/counter registers for timer 0. tl0 is the low byte and th0 is the high byte. tl1 and th1 are the actual timer/counter registers for timer 1. tl1 is the low byte and th1 is the high byte. watchdog timer the watchdog timer is a counter that when it overflows forces the microcontroller in to a reset. the purpose of the watchdog timer is to reset the microcontroller if it enters an erroneous processor state (possibly caused by electrical noise or rfi) within a reasonable period of time. when enabled, the watchdog circuitry will generate a system reset if the user program fails to reload the watchdog timer within a specified length of time known as the watchdog interval. the watchdog timer consists of an 8-bit counter with an 11 bit prescaler. the prescaler is fed with a signal whose frequency is 1/12 fosc (1mhz). the 8 bit timer is incremented every t seconds where: t=12x2048x1/fosc=12x2048x1/12x10 6 = 2.048ms w a tch d og t imer opera tion the watchdog operation is activated when the wle bit in the power control sfr (pcon) is set. the watchdog can be disabled by software by loading the value 55h into the watchdog key sfr (wdtkey). this must be performed before entering idle/power down mode to prevent exiting the mode prematurely. once activated the watchdog timer sfr (wdt) must be reloaded before the timer overflows. the wle bit must be set to enable loading of the wdt sfr, once loaded the wle bit is reset by hardware, this is to prevent erroneous software from loading the wdt sfr. the value loaded into the wdt defines the watchdog interval. watchdog interval = (256 - wdt) * t = (256 -wdt)*2.048ms the range of intervals is from wdt = 00h which gives 524ms to wdt = ffh which gives 2.048ms port alternate functions the ports 1,2 and 3 are shared with alternate functions to enable control of external devices and circuitry. the alternate functions are enabled by setting the appropriate sfr and also writing a logic 1 to the port bit that the function occupies. if the pulse width modulator outputs (pwm) are required on ports 3.0 to 3.3, they require an additional bit to be set in the character rom. if this facility is required, it should be requested when ordering the language set. the pwms may be enabled per pin, thus giving any combination of either pwm output, sfr output or sad input. philips semiconductors preliminary speci?cation 1999 sep 28 37 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series pwm p ulse w idth m odula t ors the device has up to 4 6-bit pulse width modulated (pwm) outputs for analogue control of e.g. volume, balance, bass, treble, brightness, contrast, hue and saturation. the pwm outputs generate pulse patterns with a repetition rate of 21.33us, with the high time equal to the pwm sfr value multiplied by 0.33us. the analogue value is determined by the ratio of the high time to the repetition time, a d.c. voltage proportional to the pwm setting is obtained by means of an external integration network (low pass filter). pwm control the relevant pwm is enabled by setting the pwm enable bit pwxe in the pwmx control register. the high time is defined by the value pwxv<5:0> tpwm t uning p ulse w idth m odula t or the device has a single 14-bit pwm that can be used for voltage synthesis tuning. the method of operation is similar to the normal pwm except the repetition period is 42.66us. tpwm control two sfr are used to control the tpwm, they are tdacl and tdach. the tpwm is enabled by setting the tpwe bit in the tdach sfr. the most significant bits td<13:7> alter the high period between o and 42.33us. the 7 least significant bits td<6:0> extend certain pulses by a further 0.33us. e.g. if td<6:0> = 01h then 1 in 128 periods will be extended by 0.33us, if td<6:0>=02h the 2 in 128 periods will be extended. the tpwm will not start to output a new value until writing a value to tdach. therefore, if the value is to be changed tacl should be written before tdach. sad s oftw are a/d four successive approximation analogue to digital converters can be implemented in software by making use of the on board 8-bit digital to analogue converter and analogue comparator. sad control the control of the required analogue input is done using the channel select bits ch<1:0> in the sad sfr, this selects the required analogue input to be passed to one of the inputs of the comparator. the second comparator input is generated by the dac whose value is set by the bits sad<7:0> in the sad and sadb sfrs. a comparison between the two inputs is made when the start compare bit st in the sad sfr is set, this must be at least one instruction cycle after the sad<7:0> value has been set. the result of the comparison is given on vhi one instruction cycle after the setting of st philips semiconductors preliminary speci?cation 1999 sep 28 38 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series . figure 14 sad block diagram sad input v oltage the external analogue voltage that is used for comparison with the internally generated dac voltage do not have the same voltage range. the dac has a lower reference level of v ssa and an upper reference level of v ssa .the resolution of the dac voltage with a nominal values is 3.3/256 ~ 13mv. the external analogue voltage has a lower value equivalent to v ssa and an upper value equivalent to v ddp -v tn , were v tn is the threshold voltage for an nmos transistor. the reason for this is that the input pins for the analogue signals (p3.0 to p3.3) are 5v tolerant for normal port operations, i.e. when not used as analogue input. to protect the analogue multiplexer and comparator circuitry from the 5v, a series transistor is used to limit the voltage. this limiting introduces a voltage drop equivalent to v tn (~0.6v) on the input voltage. therefore for an input voltage in the range v ddp to v ddp -v tn the sad returns the same comparison value. when utilising port 3.0 to port 3.3 for sad operation, the associated pwm outputs must be disabled. + - vhi mux 4-1 8bit dac sad<7:0> adc0 adc1 adc2 adc3 ch<1:0> v ddp philips semiconductors preliminary speci?cation 1999 sep 28 39 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series sad dc compar ator mode the sad module incorporates a dc comparator mode which is selected using the dc_comp control bit in the sadb sfr. this mode enables the microcontroller to detect a threshold crossing at the input to the selected analog input pin (p3.0/adc0, p3.1/adc1, p3.2/adc2 or p3.3/adc3) of the software adc. a level sensitive interrupt is generated when the analog input voltage level at the pin falls below the analog output level of the sad digital-to-analog converter. this mode is intended to provide the device with a wake-up mechanism from power-down or idle mode when a key-press on the front panel of the tv is detected. the following software sequence should be used when utilizing this mode for power-down or idle mode: 1. disable int1 using the ie sfr 2. set int1 to level sensitive using the tcon sfr 3. set the dac digital input level to the desired threshold level using sad/sadb sfrs and select the required input pin (p3.0, p3.1, p3.2 or p3,3) using ch1 and ch0 in the sad sfr 4. enter dc compare mode by setting the dc_comp enable bit in the sadb sfr 5. enable int1 using the ie sfr 6. enter power-down/idle mode. upon wake-up the sad should be restored to its conventional operating mode by disabling the dc_comp control bit. i2c ser ial i/o bus the i 2 c bus consists of a serial data line (sda on port p1.7) and a serial clock line (scl on port p1.6). these ports may be enabled/disabled using txt21.0 (i 2 c port enable bit). within the device, two separate hardware modules utilise this bus: the micro-controller and the tv signal processor. the micro-controller i 2 c peripheral may operate in four different configurations: ? master transmitter ? master receiver ? slave transmitter ? slave receiver the tv signal processor may be addressed in slave mode only, either via the 80c51 micro-controller or from port p1.6 and port p1.7 by another master in the system. i 2 c-b us control of the tv signal processor for compatibility and possible re-use of software blocks, the i 2 c-bus control for the tv signal processor is organised as in the stand-alone tv signal processors. the internal communication is independent of the programming of the ports p1.6 and p1.7. all details on the control of the tv signal processor are given in the description of the tv signal processor. the byte level i 2 c serial port on the device is identical in operation/configuration to the i 2 c serial port on the 8xc558, with the exception of the clock rate selection bits cr<2:0>. the operation of the i 2 c subsystem is described in detail in the 8xc558 datasheet contained in reference [1]. philips semiconductors preliminary speci?cation 1999 sep 28 40 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series i2c p or t selection the selection of the scl0/sda0 port is done using txt21.i2c port0 bit. when the port is enabled any information transmitted from the device goes onto the enabled port. any information transmitted to the device can only be acted on if the port is enabled. led support port pins p0.5 and p0.6 have an 8ma current sinking capability to enable leds in series with current limiting resistors to be driven directly, without the need for additional buffering circuitry. memor y interface the memory interface controls access to the embedded dram, refreshing of the dram and page clearing. the dram is shared between data capture, display and microcontroller sections. the data capture section uses the dram to store acquired information that has been requested. the display reads from the dram information and converts it into rgb values. the microcontroller uses the dram as embedded auxiliary ram and to generate osd. memory structure the memory is partitioned into two distinct areas, the dedicated auxiliary ram area, and the display ram area. the display ram area when not being used for data capture or display can be used as an extension to the auxiliary ram area. a uxiliar y ram the auxiliary ram is not initialised at power up. the contents of the auxiliary ram are maintained during idle mode, but are lost if power down mode is entered. d ispla y ram the display ram is initialised on power up to a value 20h. the contents of the display ram are maintained when entering idle mode. if idle mode is exited using an interrupt then the contents are unchanged, if idle mode is exited using a reset then the display ram is initialised to 20h. the size of the dram can be any value up to 2k. memory mapping the dedicated auxiliary ram area occupies a maximum of 2k, with an address range from 0000h to 07ffh.the display ram occupies a maximum of 10k with an address range from 2000h to 47ffh for txt mode and 8000h to 86ffh for cc mode (see figure 15). the two modes although having different address ranges occupy physical the same dram area. when not utilising the display memory, up to 12k is available for use as dedicated auxiliary ram. philips semiconductors preliminary speci?cation 1999 sep 28 41 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 15 dram memory mapping addressing memory the memory can be addressed by the microcontroller in two ways, either directly using a movx command, or via special function registers depending on what address is required. the dedicated auxiliary ram, and display memory in the range 8000h to 86ffh, can only be accessed using the movx command.the display memory in the range 2000h to 47ffh can either be directly accessed using the movx, or via the special function registers. auxiliary 0000 7fff 2000 2800 47ff lo wer 32k upper 32k ffff 845f cc display 8000 txt block 9 txt block 0 txt block 1 txt block 2 txt block 3 txt block 4 txt block 5 txt block 6 txt block 7 txt block 8 2400 2c00 3000 3400 3800 3c00 4000 4400 07ff philips semiconductors preliminary speci?cation 1999 sep 28 42 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series txt d ispla y memor y sfr a ccess the display memory when in txt mode is configured as 40 columns wide by 25 rows and occupies 1k x 8bits of memory (see figure 16). there can be a maximum of 10 display pages. using txt15:block<3:0> and txt15:micro bank, the required display page can be selected to be written to. the row and column within that block is selected using txt9:r<4:0> and txt10:c<5:0>. the data at the selected position can either be written or read from by either writing to or reading from txt11:d<7:0>. figure 16 txt memory map when ever a read or write is performed on txt11, the row values stored in txt9 and column value stored in txt10 are automatically incremented. for rows 0 to 24 the column value is incremented upto a maximum of 39, at which point it resets to 0 and increments the row counter value. when row 25 column 23 is reached the values of the row and column are both reset to 0. writing values outside of the valid range for txt9 or txt10 will cause undetermined operation of the auto- incrementing function for accesses to txt11. c row 0 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 0 39 0 9 23 control data none displayable data column 10 20 30 active position txt9:r<4:0>=01h, txt10:c<5:0>=0ah, txt11=43h row 25, col 10 = reserved. philips semiconductors preliminary speci?cation 1999 sep 28 43 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series txt d ispla y memor y mo vx a ccess it is important for the generation of osd displays, that use this mode of access, to understand the mapping of the movx address onto the display row and column value. this mapping of row and column onto address is shown intable 11. the values shown are added onto a base address for the required memory block (see figure 15) to give a 16-bit address- page clearing page clearing is performed on request from either the data capture block, or the microcontroller under the control of the embedded software. at power on and reset the whole of the page memory is cleared. thetxt13.page clearing bit will be set while this takes place. d a t a c apture p a ge c lear when a page header is acquired for the first time after a new page request or a page header is acquired with the erase (c4) bit set the page memory is cleared to spaces before the rest of the page arrives. when this occurs, the space code (20h) is written into every location of rows 1 to 23 of the basic page memory, the appropriate packet 27 row of the extension packet memory and the row where teletext packet 24 is written. this last row is either row 24 of the basic page memory, if the txt0.x24 posn bit is set, or the relevant row of the extension packet memory, if the bit is not set. page clearing takes place before the end of the tv line in which the header arrived which initiated the page clear. this means that the 1 field gap between the page header and the rest of the page which is necessary for many teletext decoders is not required. s oftw are p a ge c lear the software can also initiate a page clear, by setting the txt9.clear memory bit. when it does so, every location in the memory block pointed to by txt15.block<3:0> is cleared. the clear memory bit is not latched so the software does not have to reset it after it has been set. only one page can be cleared in a tv line, so if the software requests a page clear it will be carried out on the next tv line on which the data capture hardware does not force the page to be cleared. a flag, txt13.page clearing, is provided to indicate that a software requested page clear is being carried out. the flag is set when a logic 1 is written into the txt9.clear memory bit and is reset when the page clear has been completed. movx addresses shown in hex. col. 0 ..... col. 23 ..... col. 31 col. 32 ..... col. 39 row 0 000 ..... 017 ..... 01f 3f8 ..... 3ff row 1 020 ..... 037 ..... 03f 3f0 ..... 3f7 : :::::::: : :::::::: : :::::::: row 23 2e0 ..... 3f7 ..... 2ff 340 ..... 347 row 24 300 ..... 317 ..... 31f 338 ..... 33f row 25 320 ..... 337 table 11 column and row to movx address (lower 10 bits of address) philips semiconductors preliminary speci?cation 1999 sep 28 44 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series data capture the data capture section takes in the analogue composite video and blanking signal (cvbs), and from this extracts the required data, which is then decoded and stored in memory. the extraction of the data is performed in the digital domain. the first stage is to convert the analogue cvbs signal into a digital form. this is done using an adc sampling at 12mhz. the data and clock recovery is then performed by a multi-rate video input processor(mulvip). from the recovered data and clock the following data types are extracted wst teletext(625/525),closed caption, vps, wss. the extracted data is stored in either memory (dram) via the memory interface or in sfr locations. data capture features ? video signal quality detector ? data capture for 625 line wst ? data capture for 525 line wst ? data capture for us closed caption ? data capture for vps data (pdc system a) ? data capture for wide screen signalling (wss) bit decoding ? automatic selection between 525 wst/625wst ? automatic selection between 625wst/vps on line 16 of vbi ? real-time capture and decoding for wst teletext in hardware, to enable optimised microprocessor throughput ? up to 10 pages stored on-chip ? inventory of transmitted teletext pages stored in the transmitted page table (tpt) and subtitle page table (spt) ? automatic detection of fastext transmission ? real-time packet 26 engine in hardware for processing accented, g2 and g3 characters ? signal quality detector for wst/vps data types ? comprehensive teletext language coverage ? full field and vertical blanking interval (vbi) data capture of wst data philips semiconductors preliminary speci?cation 1999 sep 28 45 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series block diagram for data capture figure 17 data capture block diagram analogue to digital converter the output of the cvbs switch is passed to a differential to single ended converter (divis), although in this device it is used as a single value and reference the analogue output of divis is converted into a digital representation by a full flash adc with a sampling rate of 12mhz. analogue to digital converter data<7:0> ttc ttd acquisition timing output data to memory interface output data to sfrs sync separator data slicer and clock recovery acquisition for wst/vps acquisition for cc/wss sync_filter cvbs (internal) philips semiconductors preliminary speci?cation 1999 sep 28 46 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series multi rate video input processor the multi rate video input processor is a digital signal processor designed to extract the data in serial form and recover the clock from a digitised cvbs signal. d a t a s t and ards the data and clock standards that can be recovered are shown in table 12. data capture timing the data capture timing section uses the synchronisation information extracted from the cvbs signal to generate the required horizontal and vertical reference timings. the timing section automatically recognises and selects the appropriate timings for either 625 (50hz) synchronisation or 525 (60hz) synchronisation. a flag txt12.video signal quality is set when the timing section is locked correctly to the incoming cvbs signal. when txt12.video signal quality is set another flag txt12.625/525 sync can be used to identify the standard. acquisition the acquisition sections extracts the relevant information from the serial data stream received from the mulvip section and writes it in to display memory. wst a cq uisition the device is capable of acquiring level 1.5 625 line and 525 line world system teletext (see reference [3] and reference [4]]). b r o adcast s er vice d a t a d etection when a packet 8/30 is detected, or a packet 4/30 when the device is receiving a 525 line transmission, the txt13. pkt 8/30 flag is set. the flag can be reset by writing a logic 0 into the sfr bit. f astext d etection when a packet 27, designation code 0 is detected, whether or not it is acquired, the txt13. fastext bit is set. if the device is receiving 525 line teletext, a packet x/0/27/0 is required to set the flag. the flag can be reset by writing a logic 0 into the sfr bit. data standard clock rate 625wst 6.9375 mhz 525wst 5.7272mhz vps 5.0mhz wss 5.0mhz closed caption 500khz table 12 data slicing standards philips semiconductors preliminary speci?cation 1999 sep 28 47 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series vps a cq uisition when the txt0. vps on bit is set, any vps data present on line 16, field 0 of the cvbs signal at the input of the teletext decoder is error checked and stored. the device automatically detects whether teletext or vps is being transmitted on this line and decodes the data appropriately figure 18 vps data storage each vps byte in the memory consists of 4 biphase decoded data bits (bits 0-3), a biphase error flag (bit 4) and three 0s (bits5-7). the txt13. vps received bit is set by the hardware whenever vps data is acquired. the flag can be reset by writing a logic 0 into the sfr bit. full details of the vps system can be found in reference [5]. wss a cq uisition the wide screen signalling data transmitted on line 23 gives information on the aspect ratio and display position of the transmitted picture, the position of subtitles and on the camera/film mode. some additional bits are reserved for future use. a total of 14 data bits are transmitted. all of the available data bits transmitted by the wide screen signalling signal are captured and stored in sfrs wss1, wss2 and wss3. the bits are stored as groups of related bits and an error flag is provided for each group to indicate when a transmission error has been detected in one or more of the bits in the group. wide screen signalling data is only acquired when the txt8.wss on bit is set. the txt8.wss received bit is set by the hardware whenever wide screen signalling data is acquired. the flag can be reset by writing a logic 0 into the sfr bit. c losed c aption a c q uisition the us closed caption data is transmitted on line 21 (525 line timings) and is used for captioning information, text information and extended data services. full details can be found in reference [6]. closed caption data is only acquired when txt21.cc on bit is set two bytes of data are stored per field in sfrs, the first bye is stored in ccdat1 and the second byte is stored in ccdat2. the value in the ccdat registers are reset to 00h at the start of the closed caption line defined by cclin.cs<4:0>. at the end of the closed caption line an interrupt is generated if ie.ecc is active. the processing of the closed caption data to convert into a displayable format is performed by the embedded software. teletext page header data vps byte 11 vps byte 12 vps byte 13 vps byte 14 vps byte 15 vps byte 4 vps byte 5 0 91011 121314 15161718192021 2223 column row 25 philips semiconductors preliminary speci?cation 1999 sep 28 48 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series m aking a p a ge r eq uest a page is requested by writing a series of bytes into the txt3.prd<4:0> sfr which corresponds to the number of the page required. the bytes written into txt3 are stored in a ram with an auto-incrementing address. the start address for the ram is set using the txt2.sc<2:0> to de?ne which part of the page request is being written, and txt2.req<3:0> is used to de?ne which of the 10 page requests is being modi?ed. if txt2.req<3:0> is greater than 09h, then data being written to txt3 is ignored. table 13 shows the contents of the page request ram. up to 10 pages of teletext can be acquired on the 10 page device, when txt1.ext pkt off is set to logic 1, and up to 9 pages can be acquired when this bit is set to logic 0. if the do care bit for part of the page number is set logic 0 then that part of the page number is ignored when the teletext decoder is deciding whether a page being received off air should be stored or not. for example, if the do care bits for the four subcode digits are all set to logic 0 then every subcode version of the page will be captured. when the hold bit is set to a logic 0 the teletext decoder will not recognise any page as having the correct page number and no pages will be captured. in addition to providing the user requested hold function, this bit should be used to prevent the inadvertent capture of an unwanted page when a new page request is being made. for example, if the previous page request was for page 100 and this was being changed to page 234, it would be possible to capture page 200 if this arrived after only the requested magazine number had been changed. the e1 and e0 bits control the error checking which should be carried out on packets 1 to 23 when the page being requested is captured. for a multi-page device, each packet can only be written into one place in the teletext ram, so if a page matches more than one of the page requests the data is written into the area of memory corresponding to the lowest numbered matching page request. at power-up each page request defaults to any page, hold on and error check mode 0. . note: mag = magazine pt = page tens pu = page units ht = hours tens hu = hours units mt = minutes tens mu = minutes units e = error check mode rolling headers and time when a new page has been requested it is conventional for the decoder to turn the header row of the display green and to display each page header as it arrives until the correct page has been found. when a page request is changed (i.e. when the txt3 sfr is written to) a flag (pblf) is written into bit 5, column 9, row 25 of the corresponding block of the page memory. the state of the flag for each block is updated every tv line, if it is set for the current display block, the acquisition section writes all valid page headers which arrive start column byte identi?cation prd<4> prd<3> prd<2> prd<1> prd<0> 0 magazine do care hold mag2 mag1 mag0 1 page tens do care pt3 pt2 pt1 pt0 2 page units do care pu3 pu2 pu1 pu0 3 hours tens do care x x ht1 ht0 4 hours units do care hu3 hu2 hu1 hu0 5 minutes tens do care x mt2 mt1 mt0 6 minutes units do care mu3 mu2 mu1 mu0 7 error mode x x x e1 e0 table 13 the contents of the page request ram philips semiconductors preliminary speci?cation 1999 sep 28 49 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series into the display block and automatically writes an alphanumeric green character into column 7 of row 0 of the display block every tv line. when a requested page header is acquired for the first time, rows 1 to 23 of the relevant memory block are cleared to space, i.e. have 20h written into every column, before the rest of the page arrives. row 24 is also cleared if the txt0.x24 posn bit is set. if the txt1.ext pkt off bit is set the extension packets corresponding to the page are also cleared. the last 8 characters of the page header are used to provide a time display and are always extracted from every valid page header as it arrives and written into the display block. the txt0.disable header roll bit prevents any data being written into row 0 of the page memory except when a page is acquired off air i.e. rolling headers and time are not written into memory. the txt1.acq off bit prevents any data being written into the memory by the teletext acquisition section. when a parallel magazine mode transmission is being received only headers in the magazine of the page requested are considered valid for the purposes of rolling headers and time. only one magazine is used even if a dont care magazine is requested. when a serial magazine mode transmission is being received all page headers are considered to be valid. e rr or c hecking before teletext packets are written in to the page memory they are error checked. the error checking carried out depends on the packet number, the byte number, the error check mode bits in the page request data and the txt1.8-bit bit. if an uncorrectable error occurs in one of the hamming checked addressing and control bytes in the page header or in the hamming checked bytes in packet 8/30, bit 4 of the byte written into the memory is set, to act as an error flag to the software. if uncorrectable errors are detected in any other hamming checked data the byte is not written into the memory. philips semiconductors preliminary speci?cation 1999 sep 28 50 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 19 error checking 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 packet x/0 packet x/27/0 packet 8/30/0,1 8 bit bit = 0 8 bit bit = 1 8 bit odd parity data checked 8/4 hamming checked 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 packet x/1-23 8 bit bit = 0, error check mode = 0 8 bit bit = 1 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 packet x/24 8 bit bit = 0 8 bit bit = 1 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 8 bit bit = 0, error check mode = 1 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 8 bit bit = 0, error check mode = 2 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 8 bit bit = 0, error check mode = 3 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536373839 packet 8/30/2,3,4-15 philips semiconductors preliminary speci?cation 1999 sep 28 51 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 20 teletext packet storage locations packet x/0 packet x/1 packet x/2 packet x/3 packet x/4 packet x/5 packet x/6 packet x/7 packet x/8 packet x/9 packet x/10 packet x/11 packet x/12 packet x/13 packet x/14 packet x/15 packet x/16 packet x/17 packet x/18 packet x/19 packet x/20 packet x/21 packet x/22 packet x/23 packet x/24 1 row 0 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 0 6 78 39 0 9 23 control data osd only a w/ a g basic page blocks (0 to 8/9) 1 if x24 posn bit = 1. 2 vps data block 9, unused in blocks 0 - 8. vps data 2 note: philips semiconductors preliminary speci?cation 1999 sep 28 52 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series t elete xt memor y organisation the teletext memory is divided in to 10 blocks. normally, when the txt1.ext pkt off bit is logic 0, each of blocks 0 to 8 contain a teletext page arranged in the same way as the basic page memory of the page device and block 9 contains extension packets. when the txt1.ext pkt off bit is logic 1, no extension packets are captured and block 9 of the memory is used to store another page. the number of the memory block into which a page is written corresponds to the page request number which resulted in the capture of the page. packet 0, the page header, is split into 2 parts when it is written into the text memory. the first 8 bytes of the header contain control and addressing information. they are hamming decoded and written into columns 0 to 7 of row 25. row 25 also contains the magazine number of the acquired page and the pblf flag but the last 13 bytes are unused and may be used by the software. row 25, column 10 is reserved and should not be used by software. . figure 21 teletext extension packet storage locations r o w 25 d a t a c ontents the hamming error flags are set if the on-board 8/4 hamming checker detects that there has been an uncorrectable (2 bit) error in the associated byte. it is possible for the page to still be acquired if some of the page address information contains uncorrectable errors if that part of the page request was a 'don't care'. there is no error flag for the magazine number as an uncorrectable error in this information prevents the page being acquired. the interrupted sequence (c9) bit is automatically dealt with by the acquisition section so that rolling headers do not contain a discontinuity in the page number sequence. the magazine serial (c11) bit indicates whether the transmission is a serial or a parallel magazine transmission. this affects the way the acquisition section operates and is dealt with automatically. extension packet block (9) row 0 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 packet x/24 for page in block 0 * packet x/27/0 for page in block 0 packet 8/30/0,1 packet x/24 for page in block 1 * packet x/27/0 for page in block 1 packet 8/30/2,3 packet x/24 for page in block 2 * packet x/27/0 for page in block 2 packet x/24 for page in block 3 * packet x/27/0 for page in block 3 packet x/24 for page in block 4 * packet x/27/0 for page in block 4 packet x/24 for page in block 5 * packet x/27/0 for page in block 5 packet x/24 for page in block 6 * packet x/27/0 for page in block 6 packet x/24 for page in block 7 * packet x/27/0 for page in block 7 packet x/24 for page in block 8 * packet x/27/0 for page in block 8 * if x24 posn bit = 0 0 9 23 vps data packet 8/30/4-15 note: philips semiconductors preliminary speci?cation 1999 sep 28 53 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series the newsflash (c5), subtitle (c6), suppress header (c7), inhibit display (c10) and language control (c12 to 14) bits are dealt with automatically by the display section, described below. the update (c8) bit has no effect on the hardware. the remaining 32 bytes of the page header are parity checked and written into columns 8 to 39 of row 0. bytes which pass the parity check have the msb set to logic 0 and are written into the page memory. bytes with parity errors are not written into the memory. mag = magazine c4 = erase page c9 = interrupted sequence pt = page tens c5 = newsflash c10 = inhibit display pu = page units c6 = subtitle c11 = magazine serial ht = hours tens c7 = suppress header c12-14 = language selection hu = hours units c8 = update mt = minutes tens mu = minutes units i nvent or y p a ge if the txt0.inv on bit is 1, memory block 8 is used as an inventory page. the inventory page consists of two tables, - the transmitted page table (tpt) and the subtitle page table (spt). in each table, every possible combination of the page tens and units digit, 00 to ffh, is represented by a byte. each bit of these bytes corresponds to a magazine number so each page number, from 100 to 8ff, is represented by a bit in the table. the bit for a particular page in the tpt is set when a page header is received for that page. the bit in the spt is set when a page header for the page is received which has the subtitle page header control bit (c6) set.the bit for a particular page in the tpt is set when a page header is received for that page. the bit in the spt is set when a page header for the page is received which has the subtitle page header control bit (c6) set. col bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 0 0 0 hamming error pu3 pu2 pu1 pu0 1 0 0 0 hamming error pt3 pt2 pt1 pt0 2 0 0 0 hamming error mu3 mu2 mu1 mu0 3 0 0 0 hamming error c4 mt2 mt1 mt0 4 0 0 0 hamming error hu3 hu2 hu1 hu0 5 0 0 0 hamming error c6 c5 ht1 ht0 6 0 0 0 hamming error c10 c9 c8 c7 7 0 0 0 hamming error c14 c13 c12 c11 800 0 found 0 mag2 mag1 mag0 9 0 0 pblf 0 0 0 0 0 10 : 23 unused table 14 the data in row 25 of the basic memory philips semiconductors preliminary speci?cation 1999 sep 28 54 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 22 spt/tpt organisation figure 23 inventory page organisation bytes in the table bits in each byte x00 x01 x02 x03 x04 x05 x06 x07 x08 x09 x0a x0b x0c x0d x0e x0f x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x1a x1b x1c x1d x1e x1f x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x2a x2b x2c x2d x2e x2f x30 x31 x32 x33 x34 x35 x36 x37 x38 x39 x3a x3b x3c x3d x3e x3f 0 39 32 16 column row n n+1 bit 7 7xx 6xx 5xx 4xx 3xx 2xx 1xx 8xx 24 8 xf0 xf1 xf2 xf3 xf4 xf5 xf6 xf7 xf8 xf9 xfa xfb xfc xfd xfe xff xc8 xc9 xca xcb xcc xcd xce xcf xd0 xd1 xd2 xd3 xd4 xd5 xd6 xd7 xd8 xd9 xda xdb xdc xdd xde xdf xe8 xe9 xea xeb x4c xed xee xef xe0 xe1 xe2 xe3 xe4 xe5 xe6 xe7 n+6 n+7 xc0 xc1 xc2 xc3 xc4 xc5 xc6 xc7 6543210 row 0 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 023 transmitted pages table subtitle pages table 0 39 unused unused unused unused unused unused unused unused unused philips semiconductors preliminary speci?cation 1999 sep 28 55 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series p a cket 26 p r ocessing one of the uses of packet 26 is to transmit characters which are not in the basic teletext character set. the family automatically decodes packet 26 data and, if a character corresponding to that being transmitted is available in the character set, automatically writes the appropriate character code into the correct location in the teletext memory. this is not a full implementation of the packet 26 specification allowed for in level 2 teletext, and so is often referred to as level 1.5. by convention, the packets 26 for a page are transmitted before the normal packets. to prevent the default character data over writing the packet 26 data the device incorporates a mechanism which prevents packet 26 data from being overwritten. this mechanism is disabled when the spanish national option is detected as the spanish transmission system sends even parity (i.e. incorrect) characters in the basic page locations corresponding to the characters sent via packet 26 and these will not over write the packet 26 characters anyway. the special treatment of spanish national option is prevented if txt12. rom ver r4 is logic 0 or if the txt8.disable spanish is set. packet 26 data is processed regardless of the txt1. ext pkt off bit, but setting thetxt1.x26 off disables packet 26 processing. the txt8. packet 26 received bit is set by the hardware whenever a character is written into the page memory by the packet 26 decoding hardware. the flag can be reset by writing a logic 0 into the sfr bit. 525 l ine w orld s ystem t eletext the 525 line format is similar to the 625 line format but the data rate is lower and there are less data bytes per packet (32 rather than 40). there are still 40 characters per display row so extra packets are sent each of which contains the last 8 characters for four rows. these packets can be identified by looking at the tabulation bit (t), which replaces one of the magazine bits in 525 line teletext. when an ordinary packet with t = 1 is received, the decoder puts the data into the four rows starting with that corresponding to the packet number, but with the 2 lsbs set to 0. for example, a packet 9 with t = 1 (packet x/1/9) contains data for rows 8, 9, 10 and 11. the error checking carried out on data from packets wit ht=1 depends on the setting of the txt1. 8 bit bit and the error checking control bits in the page request data and is the same as that applied to the data written into the same memory location in the 625 line format. the rolling time display (the last 8 characters in row 0) is taken from any packets x/1/1, 2 or 3 received. in parallel magazine mode only packets in the correct magazine are used for rolling time. packet number x/1/0 is ignored. the tabulation bit is also used with extension packets. the first 8 data bytes of packet x/1/24 are used to extend the fastext prompt row to 40 characters. these characters are written into whichever part of the memory the packet 24 is being written into (determined by the x24 posn bit). packets x/0/27/0 contain 5 fastext page links and the link control byte and are captured, hamming checked and stored by in the same way as are packets x/27/0 in 625 line text. packets x/1/27/0 are not captured. because there are only 2 magazine bits in 525 line text, packets with the magazine bits all set to 0 are referred to as being in magazine 4. therefore, the broadcast service data packet is packet 4/30, rather than packet 8/ 30. as in 625 line text, the first 20 bytes of packet 4/30 contain encoded data which is decoded in the same way as that in packet 8/30. the last 12 bytes of the packet contains half of the parity encoded status message. packet 4/0/30 contains the first half of the message and packet 4/1/30 contains the second half. the last 4 bytes of the message are not written into memory. the first 20 bytes of the each version of the packet are the same so they are stored whenever either version of the packet is acquired. philips semiconductors preliminary speci?cation 1999 sep 28 56 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series in 525 line text each packet 26 only contains ten 24/18 hamming encoded data triplets, rather than the 13 found in 625 line text. the tabulation bit is used as an extra bit (the msb) of the designation code, allowing 32 packet 26s to be transmitted for each page. the last byte of each packet 26 is ignored. figure 24 teletext packet storage for 525wst packet x/0/0 packet x/0/1 packet x/0/2 packet x/0/3 packet x/0/4 packet x/0/5 packet x/0/6 packet x/0/7 packet x/0/8 packet x/0/9 packet x/0/10 packet x/0/11 packet x/0/12 packet x/0/13 packet x/0/14 packet x/0/15 packet x/0/16 packet x/0/17 packet x/0/18 packet x/0/19 packet x/0/20 packet x/0/21 packet x/0/22 packet x/0/23 packet x/0/24 ? row 0 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 0 6 7 8 39 0 9 23 control data osd only a w /a g ? if x24 posn bit = 1 rolling time packet x/1/1 packet x/1/8 packet x/1/12 packet x/1/16 packet x/1/20 packet x/1/4 packet x/1/24 ? philips semiconductors preliminary speci?cation 1999 sep 28 57 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series displa y the display section is based on the requirements for a level 1.5 wst teletext and us closed caption. there are some enhancements for use with locally generated on-screen displays. the display section reads the contents of the display memory and interprets the control/character codes. from this information and other global settings, the display produces the required rgb signals and video/data (fast blanking) signal. display features ? teletext and enhanced osd modes ? level 1.5 wst features ? us closed caption features ? serial and parallel display attributes ? single/double/quadruple width and height for characters ? scrolling of display region ? variable ?ash rate controlled by software ? globally selectable scan lines per row 9/10/13/16 ? globally selectable character matrix (hxv) 12x9, 12x10, 12x13, 12x16 ? italics ? soft colours using clut with 4096 colour palette ? underline ? overline ? fringing (shadow) selectable from n-s-e-w direction ? fringe colour selectable ? meshing of de?ned area ? contrast reduction of de?ned area ? cursor ? special graphics characters with two planes, allowing four colours per character ? 32 software re-de?nable on-screen display characters ? 4 wst character sets(g0/g2) in single device (e.g. latin,cyrillic,greek,arabic) ? g1 mosaic graphics, limited g3 line drawing characters ? wst character sets and closed caption character set in single device philips semiconductors preliminary speci?cation 1999 sep 28 58 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series display block diagram figure 25 display block diagram display modes the display section has two distinct modes with different features available in each. the two modes are: ? txt:- this is the display con?gured as the wst mode with additional serial and global attributes to enable the same functionality as the saa5497 (ett) device.the display is con?gured as a ?xed 25 rows with 40 characters per row. ? cc:- this is the display con?gured as the us closed caption mode with the same functionality as the pc83c771 device. the display is con?gured as a maximum of 16 rows with a maximum of 48 characters per row. in both of the above modes the character matrix, and tv lines per row can be defined. there is an option of 9/ 10/13/16 tv lines per display row, and a character matrix (hxv) of 12x9, 12x10, 12x13, or 12x16. not all combinations of tv lines per row and maximum display rows give a sensible osd display, since there is limited number of tv scan lines available. special function register, txt21 and memory mapped registers are used to control the mode selection. throughout this section, the features will be described, and there function in each mode given. if the feature is different in either mode then this is stated. micro interface character font function registers display data addressing character rom parallel/serial converter and fringing attribute handling clut ram d/a d/a d/a data buffer display timing addressing clk hv rgbfb address data address address address data data data data attributes control to memory interface from memory interface data drcs and philips semiconductors preliminary speci?cation 1999 sep 28 59 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series features available in each mode the following is a list of features available in each mode, and whether it is a serial or parallel attribute, or if it has a global effect on the display. display feature descriptions all display features are now described in detail for both txt and cc modes. feature txt cc flash serial serial boxes txt/osd (serial) serial horizontal size x1/x2/x4 (serial) x1/x2 (serial) vertical size x1/x2 (serial) x4 (global) x1/x2 (serial) italic n/a serial foreground colours 8 (serial) 8+8 (parallel) background colours 8 (serial) 16 (serial) soft colours (clut) 16 from 4096 16 from 4096 underline n/a serial overline n/a serial fringe n+s+e+w n+s+e+w fringe colour 16 (global) 16 (serial) meshing of background black or colour (global) all (global) fast blanking polarity yes yes screen colour 16 (global) 16 (global) drcs 32 (global) 32/16 (global) character matrix (hxv) 12x9/10/13/16 12x9/10/13/16 no. of rows 25 16 no. of columns 40 48 no of characters displayable 1000 544 cursor yes yes special graphics (2 planes per character) 16 16 scroll no yes table 15 display features philips semiconductors preliminary speci?cation 1999 sep 28 60 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series f lash flashing causes the foreground colour pixel to be displayed as the background pixels.the flash frequency is controlled by software setting and resetting display register reg0: status (see) at the appropriate interval. cc:- this attribute is valid from the time set (see table 21) until the end of the row or until otherwise modified. txt:- this attribute is set by the control character flash (08h) (see figure 31) and remains valid until the end of the row or until reset by the control character steady (09h). b o xes cc:- this attribute is valid from the time set until end of row or otherwise modified if set with serial mode 0. if set with serial mode 1, then it is set from the next character onwards. in text mode (within cc mode) the background colour is displayed regardless of the setting of the box attribute bit. boxes take affect only during mixed mode, where boxes are set in this mode the background colour is displayed. character locations where boxes are not set show video/screen colour (depending on the setting in the display control register. reg0: display control) in stead of the background colour. txt:- two types of boxes exist the teletext box and the osd box. the teletext box is activated by the start box control character (0bh), two start box characters are required begin a teletext box, with box starting between the 2 characters. the box ends at the end of the line or after a end box control character. txt mode can also use osd boxes, they are started using size implying osd control chracters(bch/bdh/beh/ bfh). the box starts after the control character (set after) and ends either at the end of the row or at the next size implying osd character (set at). to allow osd boxes to be placed over teletext page the attributes flash, teletext box, conceal, separate graphics, twist and hold graphics are all reset at the start of an osd box, as they are at the start of the row. osd boxes are only valid in tv mode which is defined by txt5=03h and txt6=03h. s ize the size of the characters can be modified in both the horizontal and vertical directions. cc:- two sizes are available in both the horizontal and vertical directions. the sizes available are normal (x1), double(x2) height/width and any combination of these. the attribute setting is always valid for the whole row. mixing of sizes is within a row is not possible. txt:- three horizontal sizes are available normal (x1),double (x2),quadruple (x4). the control characters normal size (0ch/bch) enables normal size, the double width or double size (0eh/beh/0fh/bfh) enables double width characters. any two consecutive combination of double width or double size (0eh/beh/0fh/bfh) activates quadruple width characters, provided quadruple width characters are enabled by txt4.quad width enable. three vertical sizes are available normal(x1),double(x2),quadruple(x4). the control characters normal size (0ch/bch) enable normal size, the double height or double size (0dh/bdh/0fh/bfh) enable double height characters. quadruple height character are achieved by using double height characters and setting the global attributes txt7.double height(expand) and txt7.bottom/ top. i t alic cc:- this attribute is valid from the time set until the end of the row or otherwise modified. the attribute causes the character foreground pixels to be offset horizontally by 1 pixel per 4 scan lines (interlaced mode). the base is the bottom left character matrix pixel. the pattern of the character is indented as shown in figure 26. philips semiconductors preliminary speci?cation 1999 sep 28 61 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 26 italic characters txt:- the italic attribute is not available. c olours clut (colour look up t ab le) a clut (colour look up table) with 16 colour entries is provided. the colours are programmable out of a palette of 4096 (4 bits per r, g and b). the clut is de?ned by writing data to a ram that resides in the movx address space of the 80c51 f oreg round colour cc:- the foreground colour can be chosen from 8 colours on a character by character basis. two sets of 8 col- ours are provided. a serial attribute switches between the banks (see table 21 serial mode 1, bit 7). the col- ours are the clut entries 0 to 7 or 8 to 15. txt:- the foreground colour is selected via a control character (see figure 31). the colour control characters red3-0 b11. . . b8 grn3-0 b7. . . b4 blu3-0 b3. . . b0 colour entry 0000 0000 0000 0 0000 0000 1111 1 ... ... ... ... 1111 1111 0000 14 1111 1111 1111 15 table 16 clut colour values 0 2468 10 indented by 6/5/3 indented by 5/4/2 indented by 4/3/1 indented by 3/2/0 indented by 2/1/0 indented by 1/0/0 indented by 0/0/0 0 2468 10 0 2468 100 2468 100 2468 100 2468 10 indented by 7/6/4 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 field 1 field 2 12x16 character matrix 12x13 character matrix 12x10 character matrix philips semiconductors preliminary speci?cation 1999 sep 28 62 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series takes effect at the start of the next character (set after) and remain valid until the end of the row, or until modified by a control character. only 8 foreground colours are available. the text foreground control characters map to the clut entries as shown in table 17. bac kg round colour cc:- this attribute is valid from the time set until end of row or otherwise modified if set with serial mode 0. if set with serial mode 1, then the colour is set from the next character onwards. the background colour can be chosen from all 16 clut entries. txt:- the control character new background (1dh) is used to change the background colour to the current foreground colour. the selection is immediate (set at) and remains valid until the end of the row or until otherwise modified. the text background control characters map to the clut entries as shown in table 18. control code de?ned colour clut entry 00h black 0 01h red 1 02h green 2 03h yellow 3 04h blue 4 05h magenta 5 06h cyan 6 07h white 7 table 17 foreground clut mapping control code de?ned colour clut entry 00h+1dh black 8 01h+1dh red 9 02h+1dh green 10 03h+1dh yellow 11 04h+1dh blue 12 05h+1dh magenta 13 06h+1dh cyan 14 07h+1dh white 15 table 18 background clut mapping philips semiconductors preliminary speci?cation 1999 sep 28 63 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series b a ckgr ound d ura tion the attribute when set takes effect from the current position until to the end of the text display de?ned in the mmr reg4:text area end. cc:- the background duration attribute (see table 21 serial mode 1, bit 8) in combination with the end of row attribute (see table 21 serial mode 1, bit 9) forces the background colour to be display on the row until the end of the text area is reached txt:- this attribute is not available. u nderline the underline attribute causes the characters to have the bottom scan line of the character cell forced to fore- ground colour, including spaces. if background duration is set, then underline is set until the end of the text area cc/osd:- the underline attribute (see table 21 serial mode 0/1, bit 4) is valid from the time set until end of row or otherwise modified. txt:- this attribute is not available, row length is ?xed to 40 characters. o verline the overline attribute causes the characters to have the top scan line of the character cell forced to foreground colour, including spaces. if background duration is set, then overline is set until the end of the text area cc/osd:- the overline attribute (see table 21 serial mode 0/1, bit 5) is valid from the time set until end of row or otherwise modi?ed. over-lining of italic characters is not possible txt:- this attribute is not available. e nd of r o w cc/osd:- the number of characters in a row is flexible and can determined by the end of row attribute (see table 21 serial mode 1, bit 9).there must exist a space character 20h between the end of row attribute and the start of the subsequent display row. the maximum number of characters positioned displayed is deter- mined by the setting of the mmr reg2:text position horizontal and the mmr reg4:text area end. txt:- this attribute is not available, row length is fixed at 40 characters. f ringing a fringe (shadow) can be defined around characters. the fringe direction is individually selectable in any of the north, south, east and west direction using reg3:fringing control. the colour of the fringe can also be defined as one of the entries in the clut, again using reg3:fringing control. cc/osd:- the fringe attribute (see table 21 serial mode 0, bit 9) is valid from the time set until the end of the row or otherwise modi?ed. txt:- the display of fringing in txt mode is controlled by the txt4.shadow bit. when set all the alphanumeric characters being displayed are shadowed, graphics characters are not shadowed. philips semiconductors preliminary speci?cation 1999 sep 28 64 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series . figure 27 south and southwest fringing m eshing the attribute effects the background colour being displayed. alternate pixels are displayed as the background colour or video.the structure is offset by 1 pixel from scan line to scan line, thus achieving a checker board display of the background colour and video. txt:- there are two meshing attributes one that only affects black background colours txt4.bmesh and a second that only affects backgrounds other than black txt4.cmesh. a black background is defined as clut entry 8, a none black background is defined as clut entry 9 to 15. cc:- the setting of the mesh bit in reg0:display control has the effect of meshing any background colour. figure 28 meshing and meshing/fringing(south+west) note: there is a restriction on the use of fringing (shadowing) when combined with meshing. this applies to both black and coloured meshing. the limitation is that when meshing is enabled, only the text pixels will be fringed and video pixels are displayed without fringing. c ursor the cursor operates by reversing the background and foreground colours in the character position pointed to by the active cursor position. the cursor is enabled using txt7.cursor on. when active, the row the cursor appears on is defined by txt9.r<4:0> and the column is defined by txt10.c<5:0>. the position of the cursor can be fixed using txt9.cursor freeze cc:- the valid range for row is 0 to 15. the valid range for column is 0 to 47. the cursor remains rectangular philips semiconductors preliminary speci?cation 1999 sep 28 65 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series at all times, its shape is not affected by the italic attribute, therefore it is not advised to use the cursor with italic characters. txt:- the valid range for row is 0 to 24.the valid range for column is 0 to 39. figure 29 cursor display s pecial g raphics c hara cters cc/txt:- several special characters are provided for improved osd effects. these characters provide a choice of 4 colours within a character cell. the total number of special graphics characters is limited to 16. they are stored in the character codes 8xh and 9xh of the character table (32 rom characters), or in the drcs which overlay character codes 8xh and 9xh. each special graphics character uses two consecutive normal characters. fringing, underline and overline is not possible for special graphics characters. special graphics characters are activated when txt21.osd_planes = 1. figure 30 special character example the example in figure 30 could be done with 8 special characters. a b c d e f volume background colour foreground colour 7 background colour serial attribute set at (mode 0) background colour set after (mode 1) foreground colour normal character foreground colour 6 special character philips semiconductors preliminary speci?cation 1999 sep 28 66 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series if the screen colour is transparent (implicit in mixed mode) and inside the object the box attribute is set, then the object is surrounded by video. if the box attribute is not set the background colour inside the object will also be displayed as transparent. character and attribute coding this section describes the character and attribute coding for each mode. cc m ode character coding is split into character oriented attributes (parallel) and character group coding (serial). the serial attributes take effect either at the position of the attribute (set at), or at the following location (set after) and remain effective until either modified by a new serial attribute or until the end of the row. a serial attribute is represented as a space (the space character itself however is not used for this purpose), the attributes that are still active, e.g. overline and underline will be visible during the display of the space. the default setting at the start of a row is: ? 1x size ? ?ash off ? overline off ? underline off ? italics off ? display mode = superimpose ? fringing off ? background colour duration = 0 ? end of row = 0 the coding is done in 12 bit words. the codes are stored sequentially in the display memory. a maximum of 768 character positions can be de?ned for a single display. plane 1 plane 0 colour allocation 0 0 background colour 0 1 foreground colour 1 0 clut entry 6 1 1 clut entry 7 table 19 special character colour allocation philips semiconductors preliminary speci?cation 1999 sep 28 67 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series p ar allel char acter coding bits description 0-7 8 bit character code 8-10 3 bits for 8 foreground colours 11 mode bit: 0 = parallel code table 20 parallel character coding philips semiconductors preliminary speci?cation 1999 sep 28 68 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series ser ial char acter coding txt m ode character coding is in a serial format, with only one attributes being changed at any single location. the serial attributes take effect either at the position of the attribute (set at), or at the following location (set after). the attribute remains effective until either modified by new serial attributes or until the end of the row. bits description serial mode 0 (set at) serial mode 1 char.pos. 1 (set at) char.pos. > 1 (set after) 0-3 4 bits for 16 back- ground colours 4 bits for 16 background col- ours 4 bits for 16 background col- ours 4 0 = underline off 1 = underline on horizontal size: 0 = normal 1=x2 0 = underline off 1 = underline on 5 0 = overline off 1 = overline on vertical size: 0 = normal 1=x2 0 = overline off 1 = overline on 6 display mode: 0 = superimpose 1 = boxing display mode: 0 = superimpose 1 = boxing display mode: 0 = superimpose 1 = boxing 7 0 = flash off 1 = flash on foreground colour switch 0 = bank 0 (colours 0-7) 1 = bank 1 (colours 8-15) foreground colour switch 0 = bank 0 (colours 0-7) 1 = bank 1 (colours 8-15) 8 0 = italics off 1 = italics on background colour duration: 0 = stop bgc 1 = set bgc to end of row background colour duration (set at): 0 = stop bgc 1 = set bgc to end of row 9 0 = fringing off 1 = fringing on end of row 0 = continue row 1 = end row end of row (set at): 0 = continue row 1 = end row 10 switch for serial cod- ing mode 0 and 1: 0 = mode 0 switch for serial coding mode 0 and 1: 1 = mode 1 switch for serial coding mode 0 and 1: 1 = mode 1 11 mode bit: 1 = serial code mode bit: 1 = serial code mode bit: 1 = serial code table 21 serial character coding philips semiconductors preliminary speci?cation 1999 sep 28 69 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series the default settings at the start of a row is: ? foreground colour white (clut address 7) ? background colour black (clut address 8) ? horizontal size x1, vertical size x1 (normal size) ? alphanumeric on ? contiguous mosaic graphics ? release mosaics ? flash off ? box off ? conceal off ? twist off the attributes have individual codes which are defined in the basic character table shown in figure 31. figure 31 txt basic character set screen and global controls a number of attributes are available that affect the whole display region, and cannot be applied selectively to regions of the display. 0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 456 7a89a b c 2a 3a 6a 7 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 alpha black alpha red alpha green alpha yellow alpha blue alpha magenta alpha cyan alpha white graphics red graphics green graphics yellow graphics blue graphics magenta graphics cyan graphics white ?ash steady end box start box normal height double height double width double size conceal display contiguous graphics separated graphics black bkgnd new bkgnd hold graphics release graphics bkgnd black bkgnd red bkgnd green bkgnd yellow bkgnd blue bkgnd magenta bkgnd cyan bkgnd white norm sz osd dbl ht osd dbl wd osd dbl sz osd column row bits b7 b6 b5 b4 b3 b2 b1 b0 graphics black 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 def 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 1 1 0 1 1 1 0 0 0 1 0 1 0 1 0 0 0 0 1 1 0 0 1 0 1 0 1 1 1 0 1 0 0 1 1 1 0 1 1 0 1 1 1 1 1 1 1 def 1 0 1 1 0 1 1 1 1 1 1 1 e/ w = 0 e/ w = 1 nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d o s d philips semiconductors preliminary speci?cation 1999 sep 28 70 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series tv scan lines per r o w the number of tv scan lines per field used for each display row can be defined, the value is independent of the character size being used. the number of lines can be either 10/13/16 per display row. the number of tv scan lines per row is defined txt21.disp_lines<1:0>. a value of 9 lines per row can be achieved if the display is forced into 525 line display mode by txt17.disp_force<1:0>, or if the device is in 10 line mode and the automatic detection circuitry within display finds 525 line display syncs. c hara cter m a trix (h x v) there are three different character matrices available, these are 12 x 10, 12 x 13 and 12 x 16. the selection is made using txt21.char_size<1:0> and is independent of the number of display lines per row. if the character matrix is less than the number of tv scan lines per row then the matrix is padded with blank lines. if the character matrix is greater than the number of tv scan lines then the character is truncated. d ispla y m odes cc:- when attributes superimpose or boxing (see table 21 serial mode 0/1, bit 6) are set, the resulting display depends on the setting of the following screen control mode bits in the mmr reg0:display control. txt:- the display mode is controlled by the bits in the txt5 and txt6. there are 3 control functions - text on, background on and picture on. separate sets of bits are used inside and outside teletext boxes so that different display modes can be invoked. txt6 is used if the newsflash (c5) or subtitle (c6) bits in row 25 of the basic page memory are set otherwise txt5 is used. this allows the software to set up the type of display required on newsflash and subtitle pages (e.g. text inside boxes, tv picture outside) this will be invoked without any further software intervention when such a page is acquired display mode mod [1.0] description video 00 video mode disables all display activities and sets the rgb to true black and vds to video. full text 01 full text mode displays screen colour at all locations not covered by character foreground or background colour. the box attribute has no effect. mixed screen colour 10 mixed screen mode displays screen colour at all locations not covered by character foreground, within boxed areas or, background colour. mixed video 11 mixed video mode displays video at all locations not covered by character foreground, within boxed areas or, background colour. table 22 display modes philips semiconductors preliminary speci?cation 1999 sep 28 71 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series . when teletext box control characters are present in the display page memory, the appropriate box control bit must be set, txt7.boxes on row 0, txt7.boxes on ro w1-23or txt7.boxes on row 24. this allows the display mode to be different inside the teletext box compared to outside. these bits are present to allow boxes in certain areas of the screen to be disabled. so that teletext boxes can be used for the display of osd messages without the danger of subtitles in boxes, which may also be in the display page memory, being displayed. the use of teletext boxes for osd messages has been superseded in this device by the osd box concept, but these bits remain to allow teletext boxes to be used, if required. s creen c olou r cc:- the screen colour is defined by reg0:display control and points to a location in the clut table. the screen colour covers the full video width. it is visible when the full text or mixed screen colour mode is set and no foreground or background pixels are being displayed. txt:- the register bits txt17.screen col<2:0> can be used to define a colour to be displayed in place of tv picture and the black background colour. if the bits are all set to 0, the screen colour is defined as transparent and tv picture and background colour are displayed as normal. otherwise the bits define clut entries 9 to 15. screen colour is displayed from 10.5 ms to 62.5 ms after the active edge of the hsync input and on tv lines 23 to 310 inclusive, for a 625 line display, and lines 17 to 260 inclusive for a 525 line display. text display controls t ext d ispla y c onfigura tion (cc mode ) two types of areas are possible. the one area is static and the other is dynamic. the dynamic area allows scrolling of a region to take place. the areas cannot cross each other. only one scroll region is possible. displa y map the display map allows a flexible allocation of data in the memory to individual rows. sixteen words are provided in the display memory for this purpose. the lower 10 bits address the first word in the memory where the row data starts. the most significant bit enables the display when not within the scroll (dynamic) area. the display map memory is fixed at the first 16 words in the closed caption display memory. picture on text on background on effect 00 x text mode, black screen 01 0 text mode, background always black 01 1 text mode 10 x video mode 11 0 mixed text and tv mode 11 1 text mode, tv picture outside text area table 23 txt display control bits philips semiconductors preliminary speci?cation 1999 sep 28 72 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 32 display map and data pointers b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 pointer to row data reserved, should be set to 0 text display enable, valid outside soft scroll area 0 = disable 1 = enable table 24 display map bit allocation display memory text area row 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 display map entries display data enable bit = 0 display possible display possible soft scrolling display possible philips semiconductors preliminary speci?cation 1999 sep 28 73 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series s oft s cr oll a ction the dynamic scroll region is defined by the following mmrs: reg5:scroll area, reg6:scroll range, reg14:top scroll line and the reg8:status register. the scroll area is enabled when the scon bit is set in mmr reg8: status. the position of the soft scroll area window is defined using the soft scroll position (ssp<3:0), and the height of the window is defined using the soft scroll height (ssh<3:0>), both are in the mmr reg6:scroll range. the rows that are scrolled through the window are defined using the start scroll row (sts<3:0>) and the stop scroll row (sps<3:0>), both are in the mmr reg5:scroll area. the soft scrolling function is done by modifying the scroll line (scl<3:0>) in mmr reg14: top scroll line. and the first scroll row value scr<3:0> in mmr reg8:status. if the number of rows allocated to the scroll counter is larger than the defined visible scroll area, this allows parts of rows at the top and bottom to be displayed during the scroll function. the registers can be written throughout the field and the values are updated for display with the next field sync. care should be taken that the register pairs are written to by the software in the same field. only a region that contains only single height rows or only double height rows can be scrolled. figure 33 soft scroll area row 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 soft scroll position pointer ssp<3:0> e.g. 6 soft scroll height ssh<3:0> e.g.4 start scroll row stop scroll row usable for osd display should not be used for should not be used for usable for osd display soft scrolling area osd display osd display sts<3:0> e.g. 3 sps<3:0> e.g. 11 philips semiconductors preliminary speci?cation 1999 sep 28 74 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 34 cc text areas txt:- the display is organised as a fixed size of 25 rows (0 to 24) of 40 columns (0 to 39), this is the standard size for teletext transmissions. the control data in row 25 is not displayed but is used to configure the display page correctly. figure 35 txt text area closed captioning data row n closed captioning data row n+1 closed captioning data row n+2 closed captioning data row n+3 closed captioning data row n+4 row 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 p01 nbc 0-63 lines visible area for scrolling scroll area offset row1 row0 row2 row3 row4 row5 row6 row7 row8 row13 row14 row 0 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 039 0 9 23 control data none displayable data, col 10 is reserved. 10 philips semiconductors preliminary speci?cation 1999 sep 28 75 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series display positioning the display consists of the screen colour covering the whole screen and the text area that is placed within the visible screen area. the screen colour extends over a large vertical and horizontal range so that no offset is needed. the text area is offset in both directions relative to the vertical and horizontal sync pulses. figure 36 display area positioning s creen c olour d ispla y a rea this area is covered by the screen colour. the screen colour display area starts with a ?xed offset of 8 us from the leading edge of the horizontal sync pulse in the horizontal direction. a vertical offset is not necessary. horizontal start at 8 us after leading edge of h-sync for 56 us vertical line 9, ?eld 1 (321, ?eld 2) to leading edge of vertical sync (line numbering using 625 standard) table 25 screen colour display area horizontal sync. vertical text area screen colour area text area start 56 m s sync. 0.25 char. offset text area end screen colour offset = 8 m s text vertical offset 6 lines offset h-sync delay philips semiconductors preliminary speci?cation 1999 sep 28 76 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series t ext d ispla y a rea the text area can be de?ned to start with an offset in both the horizontal and vertical direction. the horizontal offset is set in the mmr reg2: text area start. the offset is done in full width characters using tas<5:0> and quarter characters using hop<1:0> for ?ne setting. the values 00h to 08h for tas<5:0> will result in a corrupted display. the width of the text area is de?ned in the mmr reg4:text area end by setting the end character value tae<5:0>. this number determines where the background colour of the text area will end if set to extend to the end of the row. it will also terminate the character fetch process thus eliminating the necessity of a row end attribute. this entails however writing to all positions the vertical offset is set in the mmr reg1:text position vertical register. the offset value vol<5:0> is done in number of tv scan lines. note: the text position vertical register should not be set to 00h as the display busy interrupt is not generated in these circumstances. character set to facilitate the global nature of the device the character set has the ability to accommodate a large number of characters, which can be stored in different matrices . c hara cter m a trices the character matrices that can be accommodated in both display modes are (h x v x planes) 12 x 9 x 1, 12 x 10 x 1, 12 x 13 x 1, 12 x 16 x 1. these modes allow two colours character position. in cc mode two additional character matrices are available to allow four colours per character (h x v x planes) 12 x 13 x 2, 12 x 16 x 2. the characters are stored physically in rom in a matrix of size either 12 x 10 or 12 x 16. c hara cter s et s election four character sets are available in the device. a set can consist of alphanumeric characters as required by the wst teletext or fcc closed captioning, customer definable on-screen display characters, and special graphic characters. horizontal up to 48 full sized characters per row. start position setting from 8 to 64 characters from the leading edge of h- sync. fine adjustment in quarter characters. vertical 256 lines (nominal 41- 297). start position setting from leading edge of vertical sync, legal values are 4 to 64 lines. (line numbering using 625 standard) table 26 t ext display area philips semiconductors preliminary speci?cation 1999 sep 28 77 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series cc:- only a single character set can be used for display and this is selected using the basic set selection txt18.bs<1:0>. when selecting a character set in cc mode the twist set selection txt19.ts<1:0> should be set to the same value as txt18.bs<1:0> for correct operation. txt:- two character sets can be displayed at once. these are the basic g0 set or the alternative g0 set (twist set). the basic set is selected using txt18.bs<1:0>, the alternative/twist character set is defined by txt19.ts<1:0>. since the alternative character set is an option it can be enabled or disabled using txt19.ten, and the language code that is defined for the alternative set is defined by txt19.tc<2:0>. the national option table is selected using txt18.not<3:0>, a maximum of 31 national option tables can be defined when combined with the e/w control bit located in register txt4. an example of the character set selection and definitions is show in table 27. an example of the national option reference table is shown in table 28. only a certain number of national options will be relevant for each of the character sets. bs<1:0>/ts<1:0> character set example language 00 set 0 latin 01 set 1 greek 10 set 2 cyrillic 11 set 3 closed caption table 27 character set selection c12 c13 c14 not<3:0>=0000 not<3:0>=0001 not<3:0>=0010 ... not<3:0>=1111 0 0 0 english polish english ... polish 0 0 1 german german german ... german 0 1 0 swedish swedish swedish ... estonian 0 1 1 italian italian italian ... lettish 1 0 0 french french french ... russian 1 0 1 spanish spanish ... serb-croat 1 1 0 czech czech turkish ... czech 1 1 1 ... table 28 national option selection philips semiconductors preliminary speci?cation 1999 sep 28 78 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series c hara cter s et o ptions a number of pre-defined character sets are available to cover regions throughout the world. these are listed in table 29. the character set option pan-european is shown figure 31 on page 69 . the closed caption character table is shown in table 30 on page 80. r om a ddessing three roms are used to generate the correct pixel information. the first contains the national option look-up table, the second contains the basic character look-up table and the third contains the character pixel information. although these are individual roms, since they do not need to be accessed simultaneously they are all combined into a single rom unit. name matrix (hxv) pan european 12 x 10 cyrillic 12 x 10 greek/turkish 12 x 10 arab/english/french 12 x 10 thai 12 x 10 arab/hebrew 12 x 10 farsi 12 x 10 closed caption 13 x 10 table 29 character set options philips semiconductors preliminary speci?cation 1999 sep 28 79 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 37 character rom organisation char pixel data look-up basic + nat opt 0000h 0800h 2400h 2048 location 710 text or 71680 x 12 bits 430 text +176 cc look-up set 0 look-up set1 look-up set2 look-up set3 0000h 0200h 0400h 0600h 0800h philips semiconductors preliminary speci?cation 1999 sep 28 80 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series c hara cter t able cc:- the cc character table is shown in table 30. rede?nable characters a number of dynamically redefinable characters (drc) are available. these are mapped onto the normal character codes, and replace the pre-defined rom value. there are 32 drcs, the first 16 occupy the character codes 80h to 8fh, the second 16 occupy the locations 90h to 9fh. this allows for 32 drcs or 16 special drcs. the re-mapping of the standard osd to the drcs is activated when the txt21.drcs enable bit is set. the selection of normal or special osd symbols is defined by the txt21.osd planes. character code columns (bits 4-7) 0123456789abcdef character code rows (bits 0-3) 0 ? sp 0 @ p p 1?!1aqaq 2 1/2 " 2 b r b r 3 ?#3cscs 4?$4dtdt 5%5eueu 6 &6fv f v 77gwgw 8 (8hxhx 9 _)9iyiy a :jzjz ba+;k[k? c, philips semiconductors preliminary speci?cation 1999 sep 28 81 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series each character is stored in a matrix of 12 x 1 6x1(vxhx planes), this allows for all possible character matrices to be defined within a single location. figure 38 organisation of drc ram d efining c hara cters the drc ram is mapped into the 80c51 ram address space and starts at location 8800h. the character matrix is 12 bits wide and therefore requires two bytes to be written for each word, the first byte (even addresses), addresses the lower 8 bits and the lower nibble of the second byte (odd addresses) addresses the upper 4 bits. for characters of 9, 10 or 16 lines high the pixel information starts in the first address and continues sequentially for the required number of address. characters of 13 lines high are defined with an initial offset of 1 address, this is to allow for correct generation of fringing across boundaries of clustered characters (see figure 39). the characters continue sequentially for 13 lines after which a further line can again be used for generation of correct fringing across boundaries of clustered characters. char 1 char 2 char 30 char 31 char 0 a 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f char 0 address 12 bits micro address 8800 881f 8820 883f 8840 885f 8bff 8be0 8bdf 8bc0 char code 80h 81h 82h 9eh 9fh philips semiconductors preliminary speci?cation 1999 sep 28 82 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series figure 39 13 line high drcs character format rgb b rightness c ontr ol a brightness control is provided to allows the rgb upper output voltage level to be modified. the nominal value is 1v into a 150 w resistor, but can be varied between 0.7v and 1.2v. the brightness is set in rgb brightness register. bri3-0 rgb brightness 0000 lo west value ... ... 1111 highest value table 31: rgb brightness top left bottom right fringing top line hex 003 00c 030 0c0 300 c00 c00 300 c00 030 00c 003 000 440 line 13 from character above line 1 from character below fringing 1a8 000 pixel pixel line not used line no. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 bottom line msb lsb philips semiconductors preliminary speci?cation 1999 sep 28 83 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series memory mapped registers the memory mapped registers are used to control the display. the registers are mapped into the microcontroller movx address space, starting at address 87f0h and extending to 87ff. mmr a ddress s ummar y register no. memory address function 0 87f0 display control 1 87f1 text position vertical 2 87f2 text area start 3 87f3 fringing control 4 87f4 text area end 5 87f5 scroll area 6 87f6 scroll range 7 87f7 rgb brightness 8 87f8 status 9 87f9 reserved 10 87fa reserved 11 87fb reserved 12 87fc reserved 13 87fd reserved 14 87fe top scroll line 15 87ff con?guration philips semiconductors preliminary speci?cation 1999 sep 28 84 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series mmr m ap mmr b it definition add r/w names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 87f0 r/w display control src<3> src<2> src<1> src<0> - msh mod<1> mod<0> 87f1 r/w text position vertical vol<5> vol<4> vol<3> vol<2> vol<1> vol<0> 87f2 r/w text area start hop<1> hop<0> tas<5> tas<4> tas<3> tas<2> tas<1> tas<0> 87f3 r/w fringing control frc<3> frc<2> frc<1> frc<0> frdn frde frds frdw 87f4 r/w text area end - - tae<5> tae<4> tae<3> tae<2> tae<1> tae<0> 87f5 r/w scroll area ssh<3> ssh<2> ssh<1> ssh<0> ssp<3> ssp<2> ssp<1> ssp<0> 87f6 r/w scroll range sps<3> sps<2> sps<1> sps<0> sts<3> sts<2> sts<1> sts<0> 87f7 r/w rgb bright.ness - - - bri<3> bri<2> bri<1> bri<0> 87f8 r status read busy field scon flr scr<3> scr<2> scr<1> scr<0> 87f8 w status write - - scon flr scr<3> scr<2> scr<1> scr<0> 87fe r/w top scroll line ---- scl<3> scl<2> scl<1> scl<0> 87ff r/w con?guration cc vdel<2> vdel<1> vdel<0> txt/v - - - names bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 reset display control. src<3> src<2> src<1> src<0> - msh mod<1> mod<0> 00h src<3:0> screen colour de?nition msh 0 - no meshing of background 1 - meshing all background colours mod<1:0> 00 - video 01 - full text 10 - mixed screen colour 11 - mixed video text position vertical vol<5> vol<4> vol<3> vol<2> vol<1> vol<0> 00h vol<5:0> display start vertical offset from v-sync. (lines) text area start hop<1> hop<0> tas<5> tas<4> tas<3> tas<2> tas<1> tas<0> 00h hop<1:0> fine horizontal offset in quarter of characters tas<5:0> text area start fringing control. frc<3> frc<2> frc<1> frc<0> frdn frde frds frdw 00h frc<3:0> fringing colour, value address of clut frdn 0 - no fringe in north direction 1 - fringe in north direction frde 0 - no fringe in east direction 1 - fringe in east direction frds 0 - no fringe in south direction 1 - fringe in south direction philips semiconductors preliminary speci?cation 1999 sep 28 85 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series frdw 0 - no fringe in west direction 1 - fringe in west direction text area end - - tae<5> tae<4> tae<3> tae<2> tae<1> tae<0> 00h tae<5:0> text area end, in full characters scroll area ssh<3> ssh<2> ssh<1> ssh<0> ssp<3> ssp<2> ssp<1> ssp<0> 00h ssh<3:0> soft scroll height ssp<3:0> soft scroll position scroll range sps<3> sps<2> sps<1> sps<0> sts<3> sts<2> sts<1> sts<0> 00h sps<3:0> stop scroll row sts<3:0> start scroll row rgb brightness - - - bri<3> bri<2> bri<1> bri<0> 00h bri<3:0> rgb brightness control status read busy field scon flr scr<3> scr<2> scr<1> scr<0> 00h busy 0 - access to display memory will not cause display problems 1 - access to display memory could cause display problems. field 0 - odd field 1 - even field flr 0 - active ?ash region foreground and background displayed 1 - active ?ash region background only displayed scr<3:0> first scroll row status write - - scon flr scr<3> scr<2> scr<1> scr<0> 00h scon 0 - scroll area disabled 1 - scroll area enabled flr 0 - active ?ash region foreground and background colour displayed 1 - active ?ash region background colour only displayed scr<3:0> first scroll row top scroll line ---- scl<3> scl<2> scl<1> scl<0> 00h scl<3:0> top line for scroll. con?guration cc vdel<2> vdel<1> vdel<0> txt/v - - - 00h cc 0 - osd mode 1 - closed caption mode vdel<2:0> pixel delay between vds and rgb output 000 - vds switched to video, not active 001 - vds active one pixel earlier then rgb 010 - vds synchronous to rgb 100 - vds active one pixel after rgb txt/v busy signal switch 0 - horizonatal 1 - vertical philips semiconductors preliminary speci?cation 1999 sep 28 86 tv signal processor-teletext decoder with embedded m -controller tda 935x/6x/8x series ref erences [1] 80c51 based 8-bit microcontrollers - philips semiconductors (ref. ic20) [2] the i2c bus and how to use it (including speci?cation). philips semiconductors [3] enhanced teletext speci?cation. european telecommunication standard ets 300 706 [4] world system teletext and data broadcasting system. dti. december 1987 (525 wst only) [5] speci?cation of the domestic video programme delivery control system (pdc) ebu tech. 3262-e [6] recommended practise for line 21 data service eia-608 1999 sep 28 87 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series functional description of video processor vision if ampli?er the vision if amplifier can demodulate signals with positive and negative modulation. the pll demodulator is completely alignment-free. the vco of the pll circuit is internal and the frequency is fixed to the required value by using the clock frequency of the m -controller/teletext decoder as a reference. the setting of the various frequencies (38, 38.9, 45.75 and 58.75 mhz) can be made via the control bits ifa-ifc in subaddress 27h. because of the internal vco the if circuit has a high immunity to emc interferences. qss sound circuit (qss versions) the sound if amplifier is similar to the vision if amplifier and has an external agc decoupling capacitor. the single reference qss mixer is realised by a multiplier. in this multiplier the sif signal is converted to the intercarrier frequency by mixing it with the regenerated picture carrier from the vco. the mixer output signal is supplied to the output via a high-pass filter for attenuation of the residual video signals. with this system a high performance hi-fi stereo sound processing can be achieved. the am sound demodulator is realised by a multiplier. the modulated sound if signal is multiplied in phase with the limited sif signal. the demodulator output signal is supplied to the output via a low-pass filter for attenuation of the carrier harmonics. the am signal is supplied to the output (pin 44) via the volume control. it is possible to get the am output signal (not controlled on amplitude) on the qss intercarrier output. the selection is made by means of the am bit in subaddress 29h. another possibility is that pin 35 is transferred to external audio input pin and pin 32 to (non-controlled) am output pin. this can be realised by means of the setting the control bits cmb0 and cmb1 in subaddress 22h. fm demodulator and audio ampli?er (mono versions) the fm demodulator is realised as narrow-band pll with external loop filter, which provides the necessary selectivity without using an external band-pass filter. to obtain a good selectivity a linear phase detector and a constant input signal amplitude are required. for this reason the intercarrier signal is internally supplied to the demodulator via a gain controlled amplifier and agc circuit. the nominal frequency of the demodulator is tuned to the required frequency (4.5/5.5/6.0/6.5 mhz) by means of a calibration circuit which uses the clock frequency of the m -controller/teletext decoder as a reference. the setting to the wanted frequency is realised by means of the control bits fma and fmb in control byte 29h. when required an external sound band-pass filter can be inserted in front of the narrow-band pll. in that case pin 32 has to be switched to sound if input by means of the bits sif (subaddress 21h) and cmb0/cmb1 (subaddress 22h). when the sound if input is selected the subcarrier output (90 versions) or avl function (110 versions) are not available. from the output status bytes it can be read whether the pll frequency is inside or outside the window and whether the pll is in lock or not. with this information it is possible to make an automatic search system for the incoming sound frequency. this can be realised by means of a software loop which switches the demodulator to the various frequencies and then select the frequency on which a lock condition has been found. the deemphasis output signal amplitude is independent of the tv standard and has the same value for a frequency deviation of 25 khz at the 4.5 mhz standard and for a deviation of 50 khz for the other standards. the audio control circuit contains an audio switch and volume control. in the mono intercarrier sound versions the automatic volume levelling (avl) function can be activated. the pin to which the external capacitor has to be connected depends on the ic version. for the 90 types the capacitor is connected to the ew output pin (pin 20). for the 110 types a choice must be made between the avl function and a sub-carrier output for comb filter applications. this choice is made via the cbm0 and cmb1bits (in subaddress 22h). when the avl is active it automatically stabilises the audio output signal to a certain level. the signal on the deemphasis pin (28) can be supplied to the scart connector via a buffer stage. it is also possible to use this pin as additional audio input. in that case the internal signal must, of course, be switched off. this can be realised by means of the sound mute bit (sm in subaddress 29h). when the if circuit is switched to positive modulation the internal signal on the deemphasis pin is automatically muted. 1999 sep 28 88 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series to luma/sync/data slicing to chroma chroma cvbs/y cvbs int vim video ident ident fig.40 cvbs switch and interfacing of video ident (+) ifvo ifvo/svo 40 42 43 38 svo video switches the video switch has one input for an external cvbs or y/c signal. the switch configuration is given in fig.40. the selected cvbs signal can be supplied to pin 38, the if video output. the selection between both signals is realised by means of the svo bit in subaddress 22h. the video ident circuit can be connected to the incoming internal video signal or to the selected signal. this ident circuit is independent of the synchronisation and can be used to switch the time-constant of the horizontal pll depending on the presence of a video signal (via the vid bit). in this way a very stable osd can be realised. because of the availability of the y/c input and the subcarrier output an external comb-filter can be applied. in that case an external video switch (or comb-filter with integrated switch) must be used. the subcarrier output is combined with a 3-level output switch (0 v, 4 v and 8 v). the output level and the availability of the subcarrier signal is controlled by the cmb1 and cmb0 bits. the output can be used to switch sound traps etc. it is also possible to use this pin for the connection of the avl capacitor, external sound if input or as am output. the possibilities are illustrated in table 1. synchronisation circuit the ic contains separator circuits for the horizontal and vertical sync pulses and a data-slicing circuit which extracts the digital teletext data from the analog signal. the horizontal drive signal is obtained from an internal vco which is running at a frequency of 25 mhz. this oscillator is stabilised to this frequency by using a 12 mhz signal coming from the reference oscillator of the m -controller/teletext decoder. the horizontal drive is switched on and off via the soft start/stop procedure. this function is realised by means of variation of the t on of the horizontal drive pulses. in addition the horizontal drive circuit has a low-power start-up function. the vertical synchronisation is realised by means of a divider circuit. the vertical ramp generator needs an external resistor and capacitor. for the vertical drive a differential output current is available. the outputs must be dc coupled to the vertical output stage. in the types which are intended for 90 picture tubes the following geometry parameters can be adjusted: horizontal shift vertical amplitude vertical slope s-correction vertical shift 1999 sep 28 89 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series the types which are intended to be used in combination with 110 picture tubes have an east-west control circuit in stead of the avl function. the additional controls for these types are: ew width ew parabola width ew upper and lower corner parabola correction ew trapezium correction vertical zoom and in some versions: horizontal parallelogram and bow correction. chroma and luminance processing the chroma band-pass and trap circuits (including the secam cloche filter) are realised by means of gyrators and are tuned to the right frequency by comparing the tuning frequency with the reference frequency of the colour decoder. the luminance delay line and the delay cells for the peaking circuit are also realised with gyrators. the circuit contains a black stretcher function which corrects the black level for incoming signals which have a difference between the black level and the blanking level. colour decoder the ics can decode pal, ntsc and secam signals. the pal/ntsc decoder does not need external reference crystals but has an internal clock generator which is stabilised to the required frequency by using the 12 mhz clock signal from the reference oscillator of the m -controller/teletext decoder. under bad-signal conditions (e.g. vcr-playback in feature mode), it may occur that the colour killer is activated although the colour pll is still in lock. when this killing action is not wanted it is possible to overrule the colour killer by forcing the colour decoder to the required standard and to activate the fco-bit (forced colour on) in subaddress 21h. the automatic colour limiting (acl) circuit (switchable via the acl bit in subaddress 20h) prevents that oversaturation occurs when signals with a high chroma-to-burst ratio are received. the acl circuit is designed such that it only reduces the chroma signal and not the burst signal. this has the advantage that the colour sensitivity is not affected by this function. the secam decoder contains an auto-calibrating pll demodulator which has two references, viz: the divided 12 mhz reference frequency (obtained from the m -controller) which is used to tune the pll to the desired free-running frequency and the bandgap reference to obtain the correct absolute value of the output signal. the vco of the pll is calibrated during each vertical blanking period, when the ic is in search or secam mode. the base-band delay line (tda 4665 function) is integrated. this delay line is also active during ntsc to obtain a good suppression of cross colour effects. the demodulated colour difference signals are internally supplied to the delay line. rgb output circuit and black-current stabilization in the rgb control circuit the signal is controlled on contrast, brightness and saturation. the ics have a linear input for external rgb signals. it is possible to use this input for the insertion of yuv signals. switching between rgb and yuv can be realised via the yuv-bit in subaddress 2bh. the signals for osd and text are internally supplied to the control circuit. the output signal has an amplitude of about 2 volts black-to-white at nominal input signals and nominal settings of the various controls. to obtain an accurate biasing of the picture tube the continuous cathode calibration system has been included in these ics. a black level off set can be made with respect to the level which is generated by the black current stabilization system. in this way different colour temperatures can be obtained for the bright and the dark part of the picture. the black current stabilization system checks the output level of the 3 channels and indicates whether the black level of the highest output is in a certain window (wbc-bit) or below or above this window (hbc-bit). this indication can be read from the status byte 01 and can be used for automatic adjustment of the v g2 voltage during the production of the tv receiver. during switch-off of the tv receiver a fixed beam current is generated by the black current control circuit. this current ensures that the picture tube capacitance is discharged. during the switch-off period the vertical deflection is placed in an overscan position so that the discharge is not visible on the screen. 1999 sep 28 90 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series software control the cpu communicates with the peripheral functions using special function registers (sfrs) which are addressed as ram locations. the registers for the teletext decoder appear as normal sfrs in the m -controller memory map and are written to these functions by using a serial bus. this bus is controlled by dedicated hardware which uses a simple handshake system for software synchronisation. for compatibility reasons and possible re-use of software blocks, the i 2 c-bus control for the tv processor is organised as in the stand-alone tv signal processors. the tv processor registers cannot be read, so when the content of these registers is needed in the software, a copy should be stored in auxiliary ram or non volatile ram. the slave address of the tv signal processor is given in fig.41. valid subaddresses: 06h to 2dh, subaddress fe and ff are reserved for test purposes. auto-increment mode available for subaddresses. handbook, halfpage mla743 a6 a5 a4 a3 a2 a1 a0 10 00 1011/0 r/w fig.41 slave address (8a). 1999 sep 28 91 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series description of the i 2 c-bus subaddresses table 32 inputs tv-processor note 1. these functions are only available in versions which have the east-west drive output. 2. these bits are only available in the types with fm demodulator. the avl function is also available in versions with qss-if sound which have no east-west output. 3. only available in types with qss sound if circuit and am demodulator. function subad (hex) data byte por d7 d6 d5 d4 d3 d2 d1 d0 value horizontal parallelogram 06 0 0 a5 a4 a3 a2 a1 a0 20 horizontal bow 07 0 0 a5 a4 a3 a2 a1 a0 20 hue 08 0 0 a5 a4 a3 a2 a1 a0 00 horizontal shift (hs) 09 0 0 a5 a4 a3 a2 a1 a0 20 ew width (ew) (1) 0a 0 0 a5 a4 a3 a2 a1 a0 20 ew parabola/width (pw) (1) 0b 0 0 a5 a4 a3 a2 a1 a0 20 ew upper corner parabola (1) 0c 0 0 a5 a4 a3 a2 a1 a0 20 ew lower corner parabola (1) 0d 0 0 a5 a4 a3 a2 a1 a0 20 ew trapezium (tc) (1) 0e 0 0 a5 a4 a3 a2 a1 a0 20 vertical slope (vs) 0f 0 0 a5 a4 a3 a2 a1 a0 20 vertical amplitude (va) 10 0 0 a5 a4 a3 a2 a1 a0 20 s-correction (sc) 11 0 0 a5 a4 a3 a2 a1 a0 20 vertical shift (vsh) 12 0 0 a5 a4 a3 a2 a1 a0 20 vertical zoom (vx) (1) 13 0 0 a5 a4 a3 a2 a1 a0 20 spare 14 0 0 0 0 0 0 0 0 - black level off set r/g 15 blr3 blr2 blr1 blr0 blg3 blg2 blg1 blg0 88 white point r 16 0 0 a5 a4 a3 a2 a1 a0 20 white point g 17 0 0 a5 a4 a3 a2 a1 a0 20 white point b 18 0 0 a5 a4 a3 a2 a1 a0 20 peaking 19 0 0 a5 a4 a3 a2 a1 a0 20 luminance delay time 1a 0 0 0 0 yd3 yd2 yd1 yd0 00 brightness 1b 0 0 a5 a4 a3 a2 a1 a0 20 saturation 1c 0 0 a5 a4 a3 a2 a1 a0 20 contrast 1d 0 0 a5 a4 a3 a2 a1 a0 20 agc take-over 1e 0 0 a5 a4 a3 a2 a1 a0 20 volume control 1f 0 0 a5 a4 a3 a2 a1 a0 20 colour decoder 0 20 cm3 cm2 cm1 cm0 mat mus acl cb 00 colour decoder 1 21 sif 0 0 0 0 0 bps fco 00 av-switch 22 0 0 svo cmb1 cmb0 ina inb 0 00 spare 23 0 0 0 0 0 0 0 0 - synchronisation 0 24 0 hp2 foa fob poc stb vim vid 00 synchronisation 1 25 0 0 fsl oso forf fors dl ncin 00 de?ection 26 0 0 0 0 sbl vsd evg hco (1) 00 vision if 0 27 ifa ifb ifc vsw mod afw ifs stm 00 vision if 1 28 0 0 0 0 0 agc1 agc0 ffi 00 sound 29 btsc (2) sm1 (2) fmws (2) am (3) sm0 (2) avl (2) fma (2) fmb (2) 00 control 0 2a 0 ie2 rbl akb cl3 cl2 cl1 cl0 00 control 1 2b 0 0 0 0 0 0 yuv hbl (1) 00 spare 2c 0 0 0 0 0 0 0 0 - features 0 2d 0 0 0 0 0 0 0 bks 00 1999 sep 28 92 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 33 outputs tv-processor function subaddress data byte d7 d6 d5 d4 d3 d2 d1 d0 output status bytes 00 por ifi lock sl cd3 cd2 cd1 cd0 01 xpr ndf fsi ivw wbc hbc bcf x 02 sup x in2 qss afa afb fmw fml explanation input control data tv-processor table 34 horizontal parallelogram table 35 horizontal bow table 36 hue control table 37 horizontal shift table 38 ew width table 39 ew parabola/width table 40 ew upper/lower corner parabola table 41 ew trapezium table 42 vertical slope dac setting control 0 screen top 0.5 m s delayed and screen bottom 0.5 m s advanced with respect to centre 20 no correction 3f screen top 0.5 m s advanced and screen bottom 0.5 m s delayed with respect to centre dac setting control 0 screen top and bottom 0.5 m s delayed with respect to centre 20 no correction 3f screen top and bottom 0.5 m s advanced with respect to centre dac setting control 0 - 40 20 0 3f +40 dac setting control 0 - 2 m s 20 0 3f +2 m s dac setting control 0 output current 700 m a 3f output current 0 m a dac setting control 0 output current 0 m a 3f output current 440 m a at top and bottom of screen dac setting control 0 output current 0 m a 3f output current - 190 m a dac setting control 0 output current at top of screen 100 m a lower that at bottom 20 no correction 3f output current at top of screen 100 m a higher than at bottom dac setting control 0 correction - 20% 20 no correction 3f correction +20% 1999 sep 28 93 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 43 vertical amplitude table 44 s-correction table 45 vertical shift table 46 vertical zoom table 47 black level off set r/b table 48 white point r/g/b table 49 peaking control (overshoot in direction black) table 50 y-delay adjustment; note 1 note 1. for an equal delay of the luminance and chrominance signal the delay must be set at a value of 160 ns. this is only valid for a cvbs signal without group delay distortions. table 51 brightness control table 52 saturation control table 53 contrast control table 54 agc take-over table 55 volume control dac setting control 0 amplitude 80% 20 amplitude 100% 3f amplitude 120% dac setting control 0 no correction 3f correction 30% dac setting control 0 shift - 5% 20 no correction 3f shift +5% dac setting control 0 amplitude 75% 20 amplitude 100% 3f amplitude 138% dac setting control 0 off set of - 40 mv 08 no off set 0f off set of +40 mv dac setting control 0 gain - 3 db 20 no correction 3f gain +3 db dac setting control 0 no peaking 20 overshoot 40% 3f overshoot 80% yd0 to yd3 y-delay yd3 yd3 160 ns + yd2 yd2 80 ns + yd1 yd1 40 ns + yd0 yd0 40 ns dac setting control 0 correction - 0.7 v 20 no correction 3f correction +0.7 v dac setting control 0 colour off ( - 52 db) 17 saturation nominal 3f saturation +300% dac setting control 0 rgb amplitude - 14 db 20 rgb amplitude nominal 3f rgb amplitude +6 db dac setting control 0 tuner take-over at if input signal of 0.4 mv 3f tuner take-over at if input signal of 80 mv dac setting control 0 attenuation 80 db 3f no attenuation 1999 sep 28 94 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 56 colour decoder mode, note 1 note 1. the decoder frequencies for the various standards are obtained from an internal clock generator which is synchronised by a 12 mhz reference signal which is obtained from the m -controller clock generator. these frequencies are: a) a: 4.433619 mhz b) b: 3.582056 mhz (pal-n) c) c: 3.575611 mhz (pal-m) d) d: 3.579545 mhz (ntsc-m) table 57 pal-secam/ntsc matrix table 58 ntsc matrix table 59 automatic colour limiting table 60 chroma bandpass centre frequency table 61 selection external input for sound if circuit table 62 bypass of chroma base-band delay line table 63 forced colour-on table 64 selected video out (pin 38) table 65 condition avl/sndif/refo (pin 32) note 1. the result of this setting depends on the version (fm-pll or qss type). the various possibilities are given in table 1. cm3 cm2 cm1 cm0 decoder mode freq 0 0 0 0 pal/ntsc/secam a 0 0 0 1 pal/secam a 0010pal a 0 0 1 1 ntsc a 0 1 0 0 secam 0 1 0 1 pal/ntsc b 0110pal b 0 1 1 1 ntsc b 1 0 0 0 pal/ntsc/secam abcd 1 0 0 1 pal/ntsc c 1010pal c 1 0 1 1 ntsc c 1 1 0 0 pal/ntsc (tri-norma) bcd 1 1 0 1 pal/ntsc d 1110pal d 1 1 1 1 ntsc d mat matrix position 0 adapted to standard 1 pal matrix mus matrix position 0 japanese matrix 1 usa matrix acl colour limiting 0 not active 1 active cb centre frequency 0f sc 1 1.1 f sc sif mode 0 if input not selected 1 if input selected (see also table 1) bps delay line mode 0 active 1 bypassed fco condition 0 off 1on svo condition 0 if video available at output 1 selected cvbs available at output cmb1 cmb0 condition 0 0 avl/sndif active; note 1 0 1 output voltage 4 v + subcarrier 1 0 output voltage 0 v 1 1 output voltage 8 v 1999 sep 28 95 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 66 source select table 67 synchronization of osd/text display table 68 phase 1 ( j 1 ) time constant table 69 synchronization mode table 70 stand-by table 71 video ident mode table 72 video ident mode table 73 forced slicing level for vertical sync table 74 switch-off in vertical overscan table 75 forced ?eld frequency table 76 interlace table 77 vertical divider mode table 78 service blanking table 79 vertical scan disable table 80 enable vertical guard (rgb blanking) ina inb selected signals 0 0 internal cvbs+ audio 0 1 external cvbs+ audio 1 0 y/c + ext. audio hp2 m -controller coupled to 0 j 1 loop 1 j 2 loop foa fob mode 0 0 normal 0 1 slow 1 0 slow/fast 1 1 fast poc mode 0 active 1 not active stb mode 0 stand-by 1 normal vim mode 0 ident coupled to internal cvbs (pin 38) 1 ident coupled to selected cvbs vid video ident mode 0 j 1 loop switched on and off 1 not active fsl slicing level 0 slicing level dependent on noise detector 1 ?xed slicing level of 70% oso mode 0 switch-off unde?ned 1 switch-off in vertical overscan forf fors field frequency 0 0 auto (60 hz when line not in sync) 0 1 60 hz 1 0 keep last detected ?eld frequency 1 1 auto (50 hz when line not in sync) dl status 0 interlace 1 de-interlace ncin vertical divider mode 0 normal operation 1 switched to search window sbl service blanking mode 0 off 1on vsd mode 0 vertical scan active 1 vertical scan disabled evg vertical guard mode 0 not active 1 active 1999 sep 28 96 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 81 eht tracking mode table 82 pll demodulator frequency adjust table 83 video mute table 84 modulation standard table 85 afc window table 86 if sensitivity table 87 search tuning mode table 88 if agc speed table 89 fast ?lter if-pll table 90 gain fm demodulator table 91 sound mute note 1. the mute is activated when the fm-pll is out-of-lock or when the digital acquisition help is out-of-window. 2. the mute is activated when the digital acquisition help is out-of-window. table 92 window selection of narrow-band sound pll table 93 selection qss out or am out hco tracking mode 0 eht tracking only on vertical 1 eht tracking on vertical and ew ifa ifb ifc if frequency 0 0 0 58.75 mhz 0 0 1 45.75 mhz 0 1 0 38.90 mhz 0 1 1 38.00 mhz 1 0 0 33.40 mhz 1 1 0 33.90 mhz vsw state 0 normal operation 1 if-video signal switched off mod modulation 0 negative 1 positive afw afc window 0 normal 1 enlarged ifs if sensitivity 0 normal 1 reduced stm mode 0 normal operation 1 reduced sensitivity of video indent circuit agc1 agc0 agc speed 0 0 0.7 norm 0 1 norm 102 norm 114 norm ffi condition 0 normal time constant 1 increased time constant btsc mode 0 normal operation 1 reduced gain so that btsc stereo signal remains undistorted sm1 sm0 condition 0 0 see note 1 0 1 see note 2 1 0 mute on 1 1 mute off fmws function 0 small window 1 large window am mode 0 qss output selected 1 am output selected 1999 sep 28 97 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 94 auto volume levelling table 95 nominal frequency fm demodulator table 96 enable fast blanking ext.rgb/yuv table 97 rgb blanking table 98 black current stabilization avl mode 0 not active 1 active fma fmb frequency 0 0 5.5 mhz 0 1 4.5 mhz 1 0 6.0 mhz 1 1 6.5 mhz ie2 fast blanking 0 not active 1 active rbl rgb blanking 0 not active 1 active akb mode 0 active 1 not active table 99 cathode drive level (15 steps; 3.5 v/step) note 1. the given values are valid for the following conditions: a) - nominal cvbs input signal b) - nominal settings for contrast, wpa and peaking c) - black- and blue-stretch switched-off d) - gain of output stage such that no clipping occurs e) - beam current limiting not active f) the tolerance on these values is about 3 v. table 100 rgb / yuv switch table 101 rgb blanking mode (110 types) table 102 black stretch cl3 cl2 cl1 cl0 setting cathode drive amplitude; note 1 000050 v bl-wh 011175 v bl-wh 111195 v bl-wh yuv status 0 rgb input activated 1 yuv input activated hbl mode 0 normal blanking (horizontal ?yback) 1 wide blanking bks black stretch mode 0 off 1on 1999 sep 28 98 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series explanation output control data tv-processor table 103 power-on-reset table 104 output video identi?cation table 105 if-pll lock indication table 106 phase 1 ( j 1 ) lock indication table 107 colour decoder mode, note 1 note 1. the values for the various frequencies can be found in the note of table 56. table 108 x-ray protection table 109 output vertical guard table 110 field frequency indication table 111 condition vertical divider table 112 indication output black level in/out window table 113 indication output black level table 114 condition black current loop table 115 supply voltage indication table 116 indication rgb input condition por mode 0 normal 1 power-down ifi video signal 0 no video signal identi?ed 1 video signal identi?ed lock indication 0 not locked 1 locked sl indication 0 not locked 1 locked cd3 cd2 cd1 cd0 standard 0000no colour standard identi?ed 0001 ntsc with freq. a 0010pal with freq. a 0011 ntsc with freq. b 0100pal with freq. b 0101 ntsc with freq. c 0110pal with freq. c 0111 ntsc with freq. d 1000pal with freq. d 1010 secam xpr overvoltage 0 no overvoltage detected 1 overvoltage detected ndf vertical output stage 0ok 1 failure fsi frequency 050hz 160hz ivw standard video signal 0 no standard video signal 1 standard video signal (525 or 625 lines) wbc condition 0 black current stabilisation outside window 1 black current stabilisation inside window hbc condition 0 black current stabilisation below window 1 black current stabilisation above window bcf condition 0 black current loop is stabilised 1 black current loop is not stabilised sup condition 0 supply voltage (8 volt) not present 1 supply voltage (8 volt) present in2 rgb insertion 0no 1yes 1999 sep 28 99 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 117 version indication table 118 afc output qss ic version 0 version with intercarrier mono sound circuit 1 version with qss-if circuit afa afb condition 0 0 outside window; rf too low 0 1 outside window; rf too high 1 0 in window; below reference 1 1 in window; above reference table 119 indication fm-pll in/out window table 120 indication fm-pll in/out lock fmw condition 0 fm-pll in window 1 fm-pll out of window fml condition 0 fm-pll out of lock 1 fm-pll locked 1999 sep 28 100 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series 1999 sep 28 101 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series limiting values in accordance with the absolute maximum rating system (iec 134). notes 1. this maximum value has an absolute maximum of 5.5 v independent of v dd . 2. all pins are protected against esd by means of internal clamping diodes. 3. human body model (hbm): r = 1.5 k w ; c = 100 pf. 4. machine model (mm): r = 0 w ; c = 200 pf. thermal characteristics quality specification in accordance with snw-fq-611e . latch-up at an ambient temperature of 70 c all pins meet the following specification: i trigger 3 100 ma or 3 1.5v dd(max) i trigger - 100 ma or - 0.5v dd(max) . symbol parameter conditions min. max. unit v p supply voltage - 9.0 v v dd supply voltage (all digital supplies) - 0.5 5.0 v v i digital inputs note 1 - 0.5 v dd + 0.5 v v o digital outputs note 1 - 0.5 v dd + 0.5 v i o output current (each output) - 10 ma i iok dc input or output diode current - 20 ma t stg storage temperature - 25 +150 c t amb operating ambient temperature 0 70 c t sol soldering temperature for 5 s - 260 c t j operating junction temperature - 150 c v es electrostatic handling hbm; all pins; notes 2 and 3 - 2000 +2000 v mm; all pins; notes 2 and 4 - 300 +300 v symbol parameter value unit r th j-a thermal resistance from junction to ambient in free air 40 k/w 1999 sep 28 102 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series characteristics of micro-computer and text decoder v dd = 3.3 v 10%; v ss = 0 v; t amb = - 20 to +70 c; unless otherwise speci?ed number parameter conditions min. typ. max. unit supplies vm.1.1 supply voltage (v dda/p/c ) 3.0 3.3 3.6 v vm.1.2 periphery supply current (i ddp ) note 1 1 -- ma vm.1.3 core supply current (i ddc ) - 15 tbf ma vm.1.4 analog supply current (i dda ) - 45 tbf ma digital inputs reset i.1.1 low level input voltage -- 0.8 v i.1.2 high level input voltage 2.0 - 5.5 v i.1.3 hysteresis of schmitt trigger input 0.4 - 0.7 v i.1.4 input leakage current v i = 0 -- 1 m a i.1.5 equivalent pull down resistance v = v dd - 33 - k w i.1.6 capacitance of input pin -- 10 pf digital input/outputs p1.0 to p1.3, p2.0 and p3.0 to p3.3 io.1.1 low level input voltage -- 0.8 v io.1.2 high level input voltage 2.0 - 5.5 v io.1.3 hysteresis of schmitt trigger input 0.4 - 0.7 v io.1.4 low level output voltage i ol = 4 ma -- 0.4 v io.1.5 high level output voltage open drain -- 5.5 v io.1.6 high level output voltage i oh = 4 ma 2.4 -- v io.1.7 output rise time (push-pull only) 10% to 90% load 100 pf - 16 - ns io.1.8 output fall time 10% to 90% load 100pf - 14 - ns io.1.9 load capacitance -- 100 pf io.1.10 capacitance of input pin -- 10 pf 1999 sep 28 103 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series note 1. peripheral current is dependent on external components and voltage levels on i/os 2. the simplified circuit diagram of the oscillator is given in fig.42. a suitable crystal for this oscillator is the saronix type 9922 520 00169. the nominal tuning of the crystal is important to obtain a symmetrical catching range for the pll in the colour decoder. this tuning can be adapted by means of the values of the capacitors c x1 and c x2 in fig.42. good results were obtained with capacitor values of 39 pf, however, for a new application the optimum value should be determined by checking the symmetry of the catching range of the colour decoder. p0.5 and p0.6 io.2.1 low level input voltage -- 0.8 v io.2.2 high level input voltage 2.0 - 5.5 v io.2.3 hysteresis of schmitt trigger input 0.4 - 0.7 v io.2.4 low level output voltage i ol = 8ma -- 0.4 v io.2.5 high level output voltage open drain -- 5.5 v io.2.6 high level output voltage i oh = 8ma 2.4 -- v io.2.7 output rise time (push-pull only) 10% to 90% load 100 pf - 16 - ns io.2.8 output fall time 10% to 90% load 100pf - 14 - ns io.2.9 load capacitance -- 100 pf io.2.10 capacitance of input pin -- 10 pf p1.6 and p1.7 io.3.1 low level input voltage (v il ) -- 1.5 v io.3.2 high level input voltage (v ih ) 3.0 - 5.5 v io.3.3 hysteresis of schmitt-trigger input 0.2 -- v io.3.4 low level output voltage sink current 8ma 0 - 0.4 v io.3.5 high level output voltage open drain -- 5.5 v io.3.6 output fall time (v ih to v il for c l ) 20+0.1 c l - 250 ns io.3.7 bus load capacitance 10 - 400 pf io.3.8 capacitance of io pin -- 10 pf crystal oscillator oscin ; note 2 x.1.1 resonator frequency - 12 - mhz x.1.2 input capacitance (c i ) - 4.1 - pf x.1.3 output capacitance (c o ) - 2.9 - pf x.1.4 c x1 =c x2 12 - 56 pf x.1.5 r i (crystal) -- 100 w number parameter conditions min. typ. max. unit 1999 sep 28 104 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series characteristics of tv-processors v p =8v; t amb =25 c; unless otherwise speci?ed. number parameter conditions min. typ. max. unit supplies m ain supply ; note 1 v.1.1 supply voltage 7.2 8.0 8.8 v v.1.2 supply current main supply - tbf - ma v.1.3 supply current 2 nd supply - tbf - ma v.1.4 total power dissipation - tbf - mw if circuit v ision if amplifier inputs input sensitivity (rms value) note 2 m.1.1 f i = 38.90 mhz - 35 100 m v m.1.2 f i = 45.75 mhz - 35 100 m v m.1.3 f i = 58.75 mhz - 35 100 m v m.1.4 input resistance (differential) note 3 - 2 - k w m.1.5 input capacitance (differential) note 3 - 3 - pf m.1.6 gain control range 64 -- db m.1.7 maximum input signal (rms value) 150 -- mv pll demodulator ; notes 4 and 5 m.2.1 free-running frequency of vco pll not locked, deviation from nominal setting - 500 - +500 khz m.2.2 catching range pll without saw ?lter - 1 - mhz m.2.3 delay time of identi?cation via lock bit -- 20 ms v ideo amplifier output ( pin 38); notes 7 and 8 m.3.1 zero signal output level negative modulation; note 9 - 4.7 - v m.3.2 positive modulation; note 9 - 2.0 - v m.3.3 top sync level negative modulation 1.9 2.0 2.1 v m.3.4 white level positive modulation - 4.5 - v m.3.5 difference in amplitude between negative and positive modulation - 015% m.3.6 video output impedance - 50 -w m.3.7 internal bias current of npn emitter follower output transistor 1.0 -- ma m.3.8 maximum source current -- 5ma m.3.9 bandwidth of demodulated output signal at - 3db 6 9 - mhz m.3.10 differential gain note 10 - 25% m.3.11 differential phase notes 10 and 6 -- 5 deg 1999 sep 28 105 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series v ideo amplifier ( continued ) m.3.12 video non-linearity note 11 -- 5% m.3.13 white spot clamp level - 5.3 - v m.3.14 noise inverter clamping level note 12 - 1.7 - v m.3.15 noise inverter insertion level (identical to black level) note 12 - 2.8 - v intermodulation notes 6 m.3.16 blue v o = 0.92 or 1.1 mhz 60 66 - db m.3.17 v o = 2.66 or 3.3 mhz 60 66 - db m.3.18 yellow v o = 0.92 or 1.1 mhz 56 62 - db m.3.19 v o = 2.66 or 3.3 mhz 60 66 - db signal-to-noise ratio notes 6 and 13 m.3.20 weighted 56 60 - db m.3.21 unweighted 49 53 - db m.3.22 residual carrier signal note 6 - 5.5 - mv m.3.23 residual 2nd harmonic of carrier signal note 6 - 2.5 - mv if and tuner agc; note 14 timing of if-agc m.4.1 modulated video interference 30% am for 1 mv to 100 mv; 0 to 200 hz (system b/g) -- 10 % m.4.2 response time to if input signal amplitude increase of 52 db positive and negative modulation - 2 - ms m.4.3 response to an if input signal amplitude decrease of 52 db negative modulation - 50 - ms m.4.4 positive modulation - 100 - ms tuner take-over adjustment (via i 2 c-bus) m.5.1 minimum starting level for tuner take-over (rms value) - 0.4 0.8 mv m.5.2 maximum starting level for tuner take-over (rms value) 75 150 - mv tuner control output m.6.1 maximum tuner agc output voltage maximum tuner gain; note 3 -- 9v m.6.2 output saturation voltage minimum tuner gain; i o =2ma -- 300 mv m.6.3 maximum tuner agc output swing 5 -- ma m.6.4 leakage current rf agc -- 1 m a m.6.5 input signal variation for complete tuner control 0.5 2 4 db number parameter conditions min. typ. max. unit 1999 sep 28 106 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series afc output ( via i 2 c- bus ); note 15 m.7.1 afc resolution - 2 - bits m.7.2 window sensitivity - 125 - khz m.7.3 window sensitivity in large window mode - 275 - khz v ideo identification output ( via ifi bit in output byte 00) m.8.1 delay time of identi?cation after the agc has stabilized on a new transmitter -- 10 ms qss sound if circuit (in versions with qss demodulation) s ound if amplifier input sensitivity (rms value) q.1.1 fm mode ( - 3 db) - 30 70 m v q.1.2 am mode ( - 3 db) - 60 100 m v maximum input signal (rms value) q.1.3 fm mode 50 70 - mv q.1.4 am mode 80 140 - mv q.1.5 input resistance (differential) note 3 - 2 - k w q.1.6 input capacitance (differential) note 3 - 3 - pf q.1.7 gain control range 64 -- db q.1.8 crosstalk attenuation between sif and vif input 50 -- db s ound if intercarrier output ; pin 32 with am = 0 q.2.1 output signal amplitude (rms value) sc-1; sound carrier 2 off 75 100 125 mv q.2.2 bandwidth (-3 db) 7.5 9 - mhz q.2.3 residual if sound carrier (rms value) - 2 - mv q.2.4 output resistance - tbf -w q.2.5 dc output voltage - tbf - v q.2.6 internal bias current of emitter follower - tbf - ma q.2.7 maximum ac and dc sink current - tbf - ma q.2.8 maximum ac and dc source current - tbf - ma number parameter conditions min. typ. max. unit 1999 sep 28 107 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series s ound intercarrier output ( continued ) q.2.9 weighted s/n ratio (sc1/sc2). ratio of pc/sc1 at vision if input of 40 db or higher, note 16 black picture 53/48 58/55 - db q.2.10 white picture 52/47 55/53 - db q.2.11 6 khz sinewave (black-to-white modulation) 44/42 48/46 - db q.2.12 250 khz sine wave (black-to-white modulation) 44/25 48/30 - db q.2.13 sound carrier subharmonics (f=2.75 mhz 3 khz) 45/44 51/50 - db q.2.14 sound carrier subharmonics (f=2.87 mhz 3 khz) 46/45 52/51 - db am sound output ; pin 32 or 35 depending on setting of cmb0/cmb1 and am bits ( see table 1) q.3.1 af output signal amplitude (rms value) 54% modulation 400 500 600 mv q.3.2 total harmonic distortion 54% modulation - 0.5 1.0 % q.3.21 total harmonic distortion 80% modulation - tbf 5.0 % q.3.3 af bandwidth - 3 db 100 125 - khz q.3.4 weighted signal-to-noise ratio 47 53 - db q.3.5 dc output voltage - tbf - v q.3.6 power supply ripple rejection - tbf - db number parameter conditions min. typ. max. unit 1999 sep 28 108 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series fm demodulator and audio ampli?er (in versions with mono intercarrier sound channel) fm-pll d emodulator ; note 17 g.1.1 if intercarrier level at if video output (rms value) for lock-in of pll -- tbf mv g.1.2 gain control range agc ampli?er 26 30 - db g.1.3 catching range pll note 18 - 225 - khz g.1.4 maximum phase detector output current - 100 -m a g.1.5 vco steepness d f fm / d v c (k 0 ) - 3.3 - mhz/v g.1.6 phase detector steepness d i c / dj vfm (k d ) - 9 -m a/rad g.1.7 am rejection note 19 40 46 - db e xternal sound if input ( pin 32, when selected ; see also table 1) g.1.8 input limiting for lock-in of pll (rms value) - 12mv g.1.9 input resistance note 3 - 8.5 - k w g.1.10 input capacitance note 3 -- 5pf d e - emphasis output ( pin 28); note 21 g.2.1 output signal amplitude (rms value) note 18 - 500 - mv g.2.2 output resistance - 15 - k w g.2.3 dc output voltage - 3 - v a udio input via pin 28; note 21 g.2.4 input signal amplitude (rms value) - 500 - mv g.2.5 input resistance - 15 - k w g.2.6 voltage gain between input and output maximum volume - 9 - db number parameter conditions min. typ. max. unit 1999 sep 28 109 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series audio ampli?er a udio output (fm versions ) or volume controlled am- out (qss versions ) a.1.1 controlled output signal amplitude (rms value) - 6 db; note 18 500 700 900 mv a.1.2 output resistance - 500 -w a.1.3 dc output voltage - 3.0 - v a.1.4 total harmonic distortion note 22 -- 0.5 % a.1.5 total harmonic distortion note 23 -- tbf % a.1.6 power supply rejection note 6 - tbf - db a.1.7 internal signal-to-noise ratio note 6 + 24 - 60 - db a.1.8 external signal-to-noise ratio note 6 + 24 - 80 - db a.1.9 output level variation with temperature note 6 + 25 -- tbf db a.1.10 control range see also fig.43 - 80 - db a.1.11 suppression of output signal when mute is active - 80 - db a.1.12 dc shift of the output when mute is active - 10 50 mv e xternal audio input a.2.1 input signal amplitude (rms value) - 500 2000 mv a.2.2 input resistance - 25 - k w a.2.3 voltage gain between input and output maximum volume - 9 - db a.2.4 crosstalk between internal and external audio signals 60 -- db a utomatic volume levelling ; note 26 a.3.1 gain at maximum boost - 6 - db a.3.2 gain at minimum boost - -14 - db a.3.3 charge (attack) current - 1 - ma a.3.4 discharge (decay) current - 200 - na a.3.5 control voltage at maximum boost - 1 - v a.3.6 control voltage at minimum boost - 5 - v number parameter conditions min. typ. max. unit 1999 sep 28 110 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series cvbs, y/c, rgb, cd and luminance out- and inputs cvbs-y/c switch s.1.1 cvbs or y input voltage (peak-to-peak value) note 27 - 1.0 1.4 v s.1.2 cvbs or y input current - 4 -m a s.1.3 suppression of non-selected cvbs input signal notes 6 and 28 50 -- db s.1.4 chrominance input voltage (burst amplitude) note 3 and 29 - 0.3 1.0 v s.1.5 chrominance input impedance - 50 - k w cvbs output on pin 38 ( when activated , note 8) s.1.9 output signal amplitude (peak-to-peak value) - 2.0 - v s.1.10 top sync level - 1.8 - v s.1.11 output impedance -- 50 w e xternal rgb / yuv input s.2.1 rgb input signal amplitude for an output signal of 2 v (black-to-white) (peak-to-peak value) note 30 - 0.7 0.8 v s.2.2 rgb input signal amplitude before clipping occurs (peak-to-peak value) note 6 1.0 -- v s.2.3 y input signal amplitude (peak-to-peak value) input signal amplitude for an output signal of 2 v (black-to-white); yuv bit active; note 31 - 1.4 2.0 v s.2.4 u input signal amplitude (peak-to-peak value) - 1.33 2.0 v s.2.5 v input signal amplitude (peak-to-peak value) - 1.05 1.5 v s.2.6 difference between black level of internal and external signals at the outputs -- 20 mv s.2.7 input currents no clamping; note 3 - 0.1 1 m a s.2.8 delay difference for the three channels note 6 - 020ns number parameter conditions min. typ. max. unit 1999 sep 28 111 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series f ast blanking s.3.1 input voltage no data insertion -- 0.4 v s.3.2 data insertion 0.9 -- v s.3.3 maximum input pulse insertion -- 3.0 v s.3.4 delay time from rgb in to rgb out data insertion; note 6 -- tbf ns s.3.5 delay difference between insertion to rgb out and rgb in to rgb out data insertion; note 6 -- tbf ns s.3.6 input current -- 0.2 ma s.3.7 suppression of internal rgb signals notes 6 and 28; insertion; f i =0to5mhz - 55 - db s.3.8 suppression of external rgb signals notes 6 and 28; no insertion; f i =0to5mhz - 55 - db chrominance ?lters c hrominance trap circuit ; note 32 f.1.1 trap frequency - f osc - mhz f.1.2 bandwidth at f sc = 3.58 mhz - 3 db - 2.8 - mhz f.1.3 bandwidth at f sc = 4.43 mhz - 3 db - 3.4 - mhz f.1.4 colour subcarrier rejection 24 26 - db f.1.5 trap frequency during secam reception - 4.3 - mhz c hrominance bandpass circuit f.2.1 centre frequency (cb = 0) - f osc - mhz f.2.2 centre frequency (cb = 1) - 1.1 f osc - mhz f.2.3 bandpass quality factor - 3 - c loche filter f.3.1 centre frequency 4.26 4.29 4.31 mhz f.3.2 bandwidth 241 268 295 khz number parameter conditions min. typ. max. unit 1999 sep 28 112 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series luminance processing y delay line f.4.1 delay time note 6 - 480 - ns f.4.2 tuning range delay time 8 steps - 160 - +160 ns f.4.3 bandwidth of internal delay line note 6 8 -- mhz p eaking control ; note 33 f.5.1 width of preshoot or overshoot note 3 - 160 - ns f.5.2 peaking signal compression threshold - 50 - ire f.5.3 overshoot at maximum peaking positive - 45 - % f.5.4 negative - 80 - % f.5.5 ratio negative/positive overshoot - 1.8 - f.5.6 peaking control curve 63 steps see fig.44 b lack level stretcher ; note 34 f.7.1 maximum black level shift 15 21 27 ire f.7.2 level shift at 100% peak white - 1 0 1 ire f.7.3 level shift at 50% peak white - 1 - 3 ire f.7.4 level shift at 15% peak white 6 8 10 ire number parameter conditions min. typ. max. unit 1999 sep 28 113 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series horizontal and vertical synchronization and drive circuits s ync video input h.1.1 sync pulse amplitude note 3 50 300 350 mv h.1.2 slicing level for horizontal sync note 35 - 50 - % h.1.3 slicing level for vertical sync note 35 - 30 - % h orizontal oscillator h.2.1 free running frequency - 15625 - hz h.2.2 spread on free running frequency -- 2% h.2.3 frequency variation with respect to the supply voltage v p = 8.0 v 10%; note 6 - 0.2 0.5 % h.2.4 frequency variation with temperature t amb =0to70 c; note 6 -- 80 hz f irst control loop ; note 36 h.3.1 holding range pll - 0.9 1.2 khz h.3.2 catching range pll note 6 0.6 0.9 - khz h.3.3 signal-to-noise ratio of the video input signal at which the time constant is switched - 20 - db h.3.4 hysteresis at the switching point - 3 - db s econd control loop h.4.1 control sensitivity - 150 -m s/ m s h.4.2 control range from start of horizontal output to ?yback at nominal shift position - 19 -m s h.4.3 horizontal shift range 63 steps 2 --m s h.4.4 control sensitivity for dynamic compensation - 7.6 -m s/v h.4.5 voltage to switch-on the ?ash protection note 37 6 -- v h.4.6 input current during protection -- 1ma h.4.7 control range of the parallelogram correction note 38 - 0.5 -m s h.4.8 control range of the bow correction note 38 - 0.5 -m s number parameter conditions min. typ. max. unit 1999 sep 28 114 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series h orizontal output ; note 39 h.5.1 low level output voltage i o =10ma -- 0.3 v h.5.2 maximum allowed output current 10 -- ma h.5.3 maximum allowed output voltage -- v p v h.5.4 duty factor v out = low (t on ) - 55 - % h.5.5 switch-on time of horizontal drive pulse - 100 - ms h.5.6 switch-off time of horizontal drive pulse - 43 - ms f lyback pulse input and sandcastle output h.6.1 required input current during ?yback pulse note 3 100 - 300 m a h.6.2 output voltage during burst key 4.8 5.3 5.8 v during blanking 1.8 2.0 2.2 v h.6.3 clamped input voltage during ?yback 2.6 3.0 3.4 v h.6.4 pulse width burst key pulse 3.3 3.5 3.7 m s h.6.5 vertical blanking, note 40 - 14 - lines h.6.6 delay of start of burst key to start of sync 4.6 4.8 5.0 m s v ertical oscillator ; note 41 h.7.1 free running frequency - 50/60 - hz h.7.2 locking range 45 - 64.5/72 hz h.7.3 divider value not locked - 625/525 - lines h.7.4 locking range 434/488 - 722 lines/ frame v ertical ramp generator h.8.1 sawtooth amplitude (peak-to-peak value) vs = 1fh; c = 100 nf; r = 39 k w - 3.0 - v h.8.2 discharge current - 1 - ma h.8.3 charge current set by external resistor note 42 - 16 -m a h.8.4 vertical slope control range (63 steps) - 20 - +20 % h.8.5 charge current increase f = 60 hz - 19 - % h.8.6 low level of ramp - 2.3 - v v ertical drive outputs h.9.1 differential output current (peak-to-peak value) va = 1fh - 0.95 - ma h.9.2 common mode current - 400 -m a h.9.3 output voltage range 0 - 4.0 v number parameter conditions min. typ. max. unit 1999 sep 28 115 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series eht tracking / overvoltage protection h.10.1 input voltage 1.2 - 2.8 v h.10.2 scan modulation range - 5 - +5 % h.10.3 vertical sensitivity - 6.3 - %/v h.10.4 ew sensitivity when switched-on -- 6.3 - %/v h.10.5 ew equivalent output current +100 -- 100 m a h.10.6 overvoltage detection level note 37 - 3.9 - v d e - interlace h.11.1 ?rst ?eld delay - 0.5h - ew width ; note 43 h.12.1 control range 63 steps 100 - 65 % h.12.2 equivalent output current 0 - 700 m a h.12.3 ew output voltage range 1.0 - 5.0 v h.12.4 ew output current range 0 - 1200 m a ew parabola / width h.13.1 control range 63 steps 0 - 22 % h.13.2 equivalent output current ew = 3fh 0 - 440 m a ew upper / lower corner / parabola h.14.1 control range 63 steps - 43 - 0% h.14.2 equivalent output current pw = 3fh; ew = 3fh - 190 - 0 m a ew trapezium h.15.1 control range 63 steps - 5 - +5 % h.15.2 equivalent output current - 100 - +100 m a v ertical amplitude h.16.1 control range 63 steps; sc = 00h 80 - 120 % h.16.2 equivalent differential vertical drive output current (peak-to-peak value) sc = 00h 760 - 1140 m a v ertical shift h.17.1 control range 63 steps - 5 - +5 % h.17.2 equivalent differential vertical drive output current (peak-to-peak value) - 50 - +50 m a s- correction h.18.1 control range 63 steps 0 - 30 % v ertical zoom mode ( output current variation with respect to nominal scan ); note 44 h.19.1 vertical expand factor 0.75 - 1.38 h.19.2 output current limiting and rgb blanking - 1.05 - number parameter conditions min. typ. max. unit 1999 sep 28 116 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series colour demodulation part c hrominance amplifier d.1.1 acc control range note 45 26 -- db d.1.2 change in amplitude of the output signals over the acc range -- 2db d.1.3 threshold colour killer on - 30 -- db d.1.4 hysteresis colour killer off strong signal conditions; s/n 3 40 db; note 6 - +3 - db d.1.5 noisy input signals; note 6 - +1 - db acl circuit ; note 46 d.2.1 chrominance burst ratio at which the acl starts to operate - 3.0 - r eference part phase-locked loop d.3.1 catching range 500 tbf - hz d.3.2 phase shift for a 400 hz deviation of the oscillator frequency note 6 -- 2 deg h ue control d.5.1 hue control range 63 steps; see fig.45 35 40 - deg d.5.2 hue variation for 10% v p note 6 - 0 - deg d.5.3 hue variation with temperature t amb =0to70 c; note 6 - 0 - deg d emodulators general d.6.3 spread of signal amplitude ratio between standards note 6 - 1 - +1 db d.6.5 bandwidth of demodulators - 3 db; note 47 - 650 - khz pal/ntsc demodulator d.6.6 gain between both demodulators g(b - y) and g(r - y) 1.60 1.78 1.96 d.6.12 change of output signal amplitude with temperature note 6 - 0.1 - %/k d.6.13 change of output signal amplitude with supply voltage note 6 -- 0.1 db d.6.14 phase error in the demodulated signals note 6 -- 5 deg number parameter conditions min. typ. max. unit 1999 sep 28 117 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series secam demodulator d.7.1 black level off set -- 7 khz d.7.2 pole frequency of deemphasis 77 85 93 khz d.7.3 ratio pole and zero frequency - 3 - d.7.4 non linearity -- 3% d.7.5 calibration voltage 1.7 2.3 2.7 v base-band delay line d.8.1 variation of output signal for adjacent time samples at constant input signals - 0.1 - 0.1 db d.8.2 residual clock signal (peak-to-peak value) -- 5mv d.8.3 delay of delayed signal 63.94 64.0 64.06 m s d.8.4 delay of non-delayed signal 40 60 80 ns d.8.5 difference in output amplitude with delay on or off -- 5% c olour difference matrices ( in control circuit ) pal/secam mode; (r - y) and (b - y) not affected d.9.1 ratio of demodulated signals (g - y)/(r - y) -- 0.51 10% - d.9.2 ratio of demodulated signals (g - y)/(b - y) -- 0.19 25% - ntsc mode; the matrix results in the following signals (nominal hue setting) mus-bit = 0 d.9.6 (b - y) signal: 2.03/0 2.03u r d.9.7 (r - y) signal: 1.59/95 - 0.14u r + 1.58v r d.9.8 (g - y) signal: 0.61/240 - 0.31u r - 0.53v r mus-bit = 1 d.9.9 (b - y) signal: 2.20/ - 1 2.20u r - 0.04v r d.9.10 (r - y) signal: 1.53/99 - 0.24u r + 1.51v r d.9.11 (g - y) signal: 0.70/223 - 0.51u r - 0.48v r r eference signal output / switch output , pin 32; note 48 d.10.1 reference frequency cmb1/cmb0 = 01 3.58/4.43 mhz d.10.2 output signal amplitude (peak-to-peak value) cmb1/cmb0 = 01 0.2 0.25 0.3 v d.10.3 output level (mid position) cmb1/cmb0 = 01 tbf 4.0 tbf v d.10.4 output level low cmb1/cmb0 = 10 -- 0.8 v d.10.5 output level high cmb1/cmb0 = 11 7.5 -- v number parameter conditions min. typ. max. unit 1999 sep 28 118 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series control part s aturation control ; note 30 c.1.1 saturation control range 63 steps; see fig.46 52 -- db c ontrast control ; note 30 c.2.1 contrast control range 63 steps; see fig.47 - 20 - db c.2.2 tracking between the three channels over a control range of 10 db -- 0.5 db c.2.6 contrast reduction - 6 - db b rightness control c.3.1 brightness control range 63 steps; see fig.48 - 0.7 - v rgb amplifiers c.4.1 output signal amplitude (peak-to-peak value) at nominal luminance input signal, nominal contrast and white-point adjustment; tbf 2.0 tbf v c.4.2 maximum signal amplitude (black-to-white) note 49 - tbf - v c.4.3 input signal amplitude (cvbs/y-input, pins 38 or 41) at which the soft clipping is activated note 49 - tbf - v c.4.4 output signal amplitude for the red channel (peak-to-peak value) at nominal settings for contrast and saturation control and no luminance signal to the input (r - y, pal) tbf 2.1 tbf v c.4.5 nominal black level voltage - 2.5 - v c.4.6 black level voltage when black level stabilisation is switched-off (via akb bit) - 2.5 - v c.4.61 black level voltage control range vsd bit active; note 50 1.8 2.5 3.2 v c.4.7 width of video blanking with hbl bit active note 51 15.3 15.6 15.9 m s c.4.8 control range of the black-current stabilisation - 1 - v c.4.9 blanking level difference with black level, note 49 -- 0.5 - v c.4.10 level during leakage measurement -- 0.1 - v c.4.11 level during low measuring pulse - 0.25 - v c.4.12 level during high measuring pulse - 0.38 - v c.4.13 adjustment range of the ratio between the amplitudes of the rgb drive voltage and the measuring pulses note 49 - 3 - db number parameter conditions min. typ. max. unit 1999 sep 28 119 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series rgb amplifiers ( continued ) c.4.14 variation of black level with temperature note 6 - 1.0 - mv/k c.4.141 black level off set adjustment on the red and blue channel 15 steps tbf 40 tbf mv c.4.15 relative variation in black level between the three channels during variations of note 6 c.4.16 supply voltage ( 10%) nominal controls -- tbf mv c.4.17 saturation (50 db) nominal contrast -- tbf mv c.4.18 contrast (20 db) nominal saturation -- tbf mv c.4.19 brightness ( 0.5 v) nominal controls -- tbf mv c.4.20 temperature (range 40 c) -- tbf mv c.4.21 signal-to-noise ratio of the output signals rgb input; note 52 60 -- db c.4.22 cvbs input; note 52 50 -- db c.4.23 residual voltage at the rgb outputs (peak-to-peak value) at f osc -- 15 mv c.4.24 at 2f osc plus higher harmonics -- 15 mv c.4.25 bandwidth of output signals rgb input; at - 3 db tbf 15 - mhz c.4.26 cvbs input; at - 3 db; f osc = 3.58 mhz - 2.8 - mhz c.4.27 cvbs input; at - 3 db; f osc = 4.43 mhz - 3.4 - mhz c.4.28 s-vhs input; at - 3db 5 -- mhz w hite - point adjustment c.5.1 i 2 c-bus setting for nominal gain hex code - 20h - c.5.2 adjustment range of rgb drive levels note 53 - 3 - db c.5.3 gain control range to compensate spreads in picture tube characteristics - 6 - db 2- point b lack - current stabilization , note 54 c.6.1 amplitude of low reference current - 8 -m a c.6.2 amplitude of high reference current - 20 -m a c.6.3 acceptable leakage current - 100 -m a c.6.4 maximum current during scan - tbf - ma c.6.5 input impedance - tbf -w number parameter conditions min. typ. max. unit 1999 sep 28 120 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series notes 1. when the 3.3 v supply is present and the m -controller is active a low-power start-up mode can be activated. when all sub-address bytes have been sent and the por and xpr flags have been cleared the horizontal output can be switched-on via the stb-bit (subaddress 24h). in this condition the horizontal drive signal has the nominal t off and the t on grows gradually from zero to the nominal value. as soon as the 8 v supply is present the switch-on procedure (e.g. closing of the second loop) is continued. 2. on set agc. 3. this parameter is not tested during production and is just given as application information for the designer of the television receiver. 4. loop bandwidth bl = 60 khz (natural frequency fn = 15 khz; damping factor d = 2; calculated with top sync level as fpll input signal level). 5. the if-pll demodulator uses an internal vco (no external lc-circuit required) which is calibrated by means of a digital control circuit which uses the clock frequency of the m -controller as a reference. the required if frequency for the various standards is set via the ifa-ifc bits in subaddress 27h. when the system is locked the resulting if frequency is very accurate with a deviation from the nominal value of less than 25 khz. 6. this parameter is not tested during production but is guaranteed by the design and qualified by means of matrix batches which are made in the pilot production period. 7. measured at 10 mv (rms) top sync input signal. 8. via this pin (38) both the demodulated if signal and the selected cvbs (or y+c) signal can be supplied to the output. the selection between both signals is realised by means of the svo bit in subaddress 22h. 9. so called projected zero point, i.e. with switched demodulator. 10. measured in accordance with the test line given in fig.49. for the differential phase test the peak white setting is reduced to 87%. the differential gain is expressed as a percentage of the difference in peak amplitudes between the largest and smallest value relative to the subcarrier amplitude at blanking level. the phase difference is defined as the difference in degrees between the largest and smallest phase angle. b eam current limiting , note 55 c.7.1 contrast reduction starting voltage - 3.5 - v c.7.2 voltage difference for full contrast reduction - 2 - v c.7.3 brightness reduction starting voltage - 2.5 - v c.7.4 voltage difference for full brightness reduction - 1 - v c.7.5 internal bias voltage - 3.3 - v c.7.6 detection level vertical guard - 3.65 - v c.7.7 minimum input current to activate the guard circuit - tbf - ma c.7.8 maximum allowable current - tbf - ma f ixed beam current switch - off ; note 56 c.8.1 discharge current during switch-off 0.85 1.0 1.15 ma c.8.2 discharge time of picture tube - 38 - ms number parameter conditions min. typ. max. unit 1999 sep 28 121 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series 11. this figure is valid for the complete video signal amplitude (peak white-to-black), see fig.50. 12. the noise inverter is only active in the strong signal mode (no noise detected in the incoming signal) 13. measured at an input signal of 10 mv rms . the s/n is the ratio of black-to-white amplitude to the black level noise voltage (rms value). b = 5 mhz. weighted in accordance with ccir 567. 14. the time-constant of the if-agc is internal and the speed of the agc can be set via the bits agc1 and agc0 in subaddress 28h. the agc response time is also dependent on the acquisition time of the pll demodulator. the values given are valid for the norm setting (agc1-agc0 = 0-1) and when the pll is in lock. 15. the afc control voltage is generated by the digital tuning system of the pll demodulator. this system uses the clock frequency of the m -controller/teletext decoder as a reference and is therefore very accurate. for this reason no maximum and minimum values are given for the window sensitivity figures (parameters m.7.2 and m.7.3). the tuning information is supplied to the tuning system via the afa and afb bits in output byte 02h. the afc value is valid only when the lock-bit is 1. 16. the weighted s/n ratio is measured under the following conditions: a) the vision if modulator must meet the following specifications: incidental phase modulation for black-to-white jumps less than 0.5 degrees. qss af performance, measured with the television-demodulator amf2 (audio output, weighted s/n ratio) better than 60 db (deviation 27 khz) for 6 khz sine wave black-to-white modulation. picture-to-sound carrier ratio: pc/sc1 = 13 db (transmitter). b) the measurements must be carried out with the siemens saw filters g3962 for vision if and g9350 for sound if. input level for sound if 10 mv rms with 27 khz deviation. c) the pc/sc ratio at the vision if input is calculated as the addition of the tv transmitter ratio and the saw filter pc/sc ratio. this pc/sc ratio is necessary to achieve the s/n(w) values as indicated. 17. calculation of the fm-pll filter can be done approximately by use of the following equations: bl - 3db = f 0 (1.55 - u 2 ) these equations are only valid under the conditions that u 1 and c s > 5c p . definitions: k 0 = vco steepness in rad/v k d = phase detector steepness m a/rad r = loop filter resistor c s = series capacitor c p = parallel capacitor f 0 = natural frequency of pll bl - 3db = loop bandwidth for - 3db u = damping factor some examples for these values are given in table 121 18. modulation frequency: 1 khz, d f = 50 khz. 19. f = 4.5/5.5 mhz; fm: 70 hz, 50 khz deviation; am: 1.0 khz, 30% modulation. f o 1 2 p ------ - k 0 k d c p -------------- = u 1 2r k 0 k d c p ----------------------------------- = 1999 sep 28 122 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series 20. this figure is independent of the tv standard and valid for a frequency deviation of 25 khz at a carrier frequency of 4.5 mhz or a deviation of 50 khz at a carrier frequency of 5.5/6.0/6.5 mhz. 21. the deemphasis pin can also be used as additional audio input. in that case the internal (demodulated fm signal) must be switched off. this can be realised by means of the sm (sound mute) bit. when the vision if amplifier is switched to positive modulation the signal from the fm demodulator is automatically switched off. the external signal on pin 28 must be switched off when the internal signal is selected. 22. f = 5.5 mhz; fm: 1 khz, 17.5 khz deviation. measured with a bandwidth of 15 khz and the audio attenuator at - 6 db. 23. f = 4.5 mhz, fm: 1 khz, 100 khz deviation and the volume control setting such that no clipping occurs in the audio output. 24. unweighted rms value, vi = 100 mv rms , fm: 1 khz, 50 khz deviation, audio attenuator at - 6 db. 25. audio attenuator at - 20 db; temperature range 10 to 50 c. 26. in various versions the automatic volume levelling (avl) function can be activated. the pin to which the external capacitor has to be connected depends on the ic version. for the 90 types the capacitor is connected to the ew output pin (pin 20). for the 110 types a choice can be made between the avl function and a sub-carrier output / general purpose switch output. the selection must be made by means of the cmb0 and cmb1 bit in subaddress 22h (see also table g-1 on page g-9). more details about the sub-carrier output are given in the parameters d.10. the automatic volume levelling (avl) circuit stabilises automatically the audio output signal to a certain level which can be set by means of the volume control. this avl function prevents big audio output fluctuations due to variation of the modulation depth of the transmitter. the avl can be switched on and off via the avl bit in subaddress 29h. the avl is active over an input voltage range (measured at the deemphasis output) of 150 to 1500 mv rms . the avl control curve is given in fig.51. the control range of +6 db to - 14 db is valid for input signals with 50% of the maximum frequency deviation. 27. signal with negative-going sync. amplitude includes sync pulse amplitude. 28. this parameter is measured at nominal settings of the various controls. 29. indicated is a signal for a colour bar with 75% saturation (chroma : burst ratio = 2.2 : 1). 30. the contrast and saturation control is active on the internal signal (yuv) and on the external rgb/yuv input. the text/osd input can be controlled on brightness only. nominal contrast is specified with the dac in position 20 hex. nominal saturation as maximum - 10 db. 31. the yuv input signal amplitudes are based on a colour bar signal with 75% saturation. 32. when the decoder is forced to a fixed subcarrier frequency (via the cm-bits) the chroma trap is always switched-on, also when no colour signal is identified. in the automatic mode the chroma trap is switched-off when no colour signal is identified. 33. valid for a signal amplitude on the y-input of 0.7 v black-to-white (100 ire) with a rise time (10% to 90%) of 70 ns and the video switch in the y/c mode. during production the peaking function is not tested by measuring the overshoots but by measuring the frequency response of the y output. 34. for video signals with a black level which deviates from the back-porch blanking level the signal is stretched to the blanking level. the amount of correction depends on the ire value of the signal (see fig.52). the black level is detected by means of an internal capacitor. the black level stretcher can be switched on and off via the bks bit in subaddress 2dh. the values given in the specification are valid only when the luminance input signal has an amplitude of 1 v p-p . 35. the slicing level is independent of sync pulse amplitude. the given percentage is the distance between the slicing level and the black level (back porch). when the amplitude of the sync pulse exceeds the value of 350 mv the sync separator will slice the sync pulse at a level of 175 mv above top sync. the maximum sync pulse amplitude is 4 v p-p . 1999 sep 28 123 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series 36. to obtain a good performance for both weak signal and vcr playback the time constant of the first control loop is switched depending on the input signal condition and the condition of the poc, foa, fob and vid bits in subaddress 24h. the circuit contains a noise detector and the time constant is switched to slow when too much noise is present in the signal. in the fast mode during the vertical retrace time the phase detector current is increased 50% so that phase errors due to head-switching of the vcr are corrected as soon as possible. switching of the time constant can be automatically or can be set by means of the control bits. the circuit contains a video identification circuit which is independent of the first loop. this identification circuit can be used to close or open the first control loop when a video signal is present or not present on the input. this enables a stable on screen display (osd) when just noise is present at the input. to prevent that the horizontal synchronisation is disturbed by anti copy signals like macrovision the phase detector is gated during the vertical retrace period so that pulses during scan have no effect on the output voltage. the width of the gate pulse is about 22 m s. during weak signal conditions (noise detector active) the gating is active during the complete scan period and the width of the gate pulse is reduced to 5.7 m s so that the effect of noise is reduced to a minimum. the output current of the phase detector in the various conditions are shown in table 122. 37. the ics have 2 protection inputs. the protection on the second phase detector pin is intended to be used as flash protection. when this protection is activated the horizontal drive is switched-off immediately and then switched-on again via the slow start procedure. the protection on the eht input is intended for overvoltage (x-ray) protection. when this protection is activated the horizontal drive is directly switched-off (via the slow stop procedure). the eht protection input can also be used to switch-off the tv receiver in a correct way when it is switched off via the mains power switch or when the power supply is interrupted by pulling the mains plug. this can be realised by means of a detection circuit which monitors the main supply voltage of the receiver. when this voltage suddenly decreases the eht protection input must be pulled high and then the horizontal drive is switched off via the slow stop procedure. whether the eht capacitor is discharged in the overscan or not during the switch-off period depends on the setting of the oso bit (subaddress 25h, d4). see also note 56. 38. the control range indicates the maximum phase difference at the top and the bottom of the screen. compared with the phase position at the centre of the screen the maximum phase difference at the top and the bottom of the screen is 0.5 m s. 39. during switch-on the horizontal drive starts-up in a soft-start mode. the horizontal drive starts with a very short t on time of the horizontal output transistor, the off time of the transistor is identical to the off time in normal operation. the starting frequency during switch-on is therefore about 2 times higher than the normal value. the on time is slowly increased to the nominal value. when the nominal frequency is reached the pll is closed in such a way that only very small phase corrections are necessary. this ensures a safe operation of the output stage. the switch-on characteristic is given in fig.54 during switch-off the soft-stop function is active. this is realised by decreasing the t on of the output transistor complimentary to the start-up behaviour. the switch-off time is about 43 ms. the soft-stop procedure is synchronised to the start of the first new vertical field after the reception of the switch-off command. furthermore the eht capacitor of the picture tube is discharged with a fixed beam current which is forced by the black current loop. the discharge time is about 38 ms. during switch-off the vertical scan is stopped so that the discharge takes place in the overscan. the horizontal output is gated with the flyback pulse so that the horizontal output transistor cannot be switched-on during the flyback time. 40. the vertical blanking pulse in the rgb outputs has a width of 26 or 21 lines (50 or 60 hz system). the vertical pulse in the sandcastle pulse has a width of 14 lines. this to prevent a phase distortion on top of the picture due to a timing modulation of the incoming flyback pulse. 1999 sep 28 124 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series 41. the timing pulses for the vertical ramp generator are obtained from the horizontal oscillator via a divider circuit. during tv reception this divider circuit has 3 modes of operation: a) search mode large window. this mode is switched on when the circuit is not synchronized or when a non-standard signal (number of lines per frame outside the range between 311 and 314(50 hz mode) or between 261 and 264 (60 hz mode) is received). in the search mode the divider can be triggered between line 244 and line 361 (approximately 45 to 64.5 hz). b) standard mode narrow window. this mode is switched on when more than 15 succeeding vertical sync pulses are detected in the narrow window. when the circuit is in the standard mode and a vertical sync pulse is missing the retrace of the vertical ramp generator is started at the end of the window. consequently, the disturbance of the picture is very small. the circuit will switch back to the search window when, for 6 successive vertical periods, no sync pulses are found within the window. c) standard tv-norm (divider ratio 525 (60 hz) or 625 (50 hz). when the system is switched to the narrow window it is checked whether the incoming vertical sync pulses are in accordance with the tv-norm. when 15 standard tv-norm pulses are counted the divider system is switched to the standard divider ratio mode. in this mode the divider is always reset at the standard value even if the vertical sync pulse is missing. when 3 vertical sync pulses are missed the system switches back to the narrow window and when also in this window no sync pulses are found (condition 3 missing pulses) the system switches over to the search window. the vertical divider needs some waiting time during channel-switching of the tuner. when a fast reaction of the divider is required during channel-switching the system can be forced to the search window by means of the ncin bit in subaddress 25h. when rgb signals are inserted the maximum vertical frequency is increased to 72 hz. this has the consequence that the circuit can also be synchronised by signals with a higher vertical frequency like vga. 42. conditions: frequency is 50 hz; normal mode; vs = 1f. 43. the output range percentages mentioned for e-w control parameters are based on the assumption that 400 m a variation in e-w output current is equivalent to 20% variation in picture width. 44. the ics have a zoom adjustment possibility for the horizontal and vertical deflection. for this reason an extra dac has been added in the vertical amplitude control which controls the vertical scan amplitude between 0.75 and 1.38 of the nominal scan. at an amplitude of 1.06 of the nominal scan the output current is limited and the blanking of the rgb outputs is activated. this is illustrated in fig.53. the nominal scan height must be adjusted at a position of 19 hex of the vertical zoom dac. 45. at a chrominance input voltage of 660 mv (p-p) (colour bar with 75% saturation i.e. burst signal amplitude 300 mv (p-p)) the dynamic range of the acc is +6 and - 20 db. 46. the acl function can be activated by via the acl bit in the subaddress 20h. the acl circuit reduces the gain of the chroma amplifier for input signals with a chroma-to-burst ratio which exceeds a value of 3.0. 47. this parameter indicates the bandwidth of the complete chrominance circuit including the chrominance bandpass filter. the bandwidth of the low-pass filter of the demodulator is approximately 1 mhz. 48. the subcarrier output is combined with a 3-level switch output which can be used to switch external circuits like sound traps etc. this output is controlled by the cmb1 and cmb0 bits in control byte 22h. the subcarrier signal is available when cmb1/0 are set to 0/1. when cmb1/0 are set to 00 in versions for 90 picture tubes (no ew output) this pin is switched to external sound if input. 49. because of the 2-point black current stabilization circuit both the black level and the amplitude of the rgb output signals depend on the drive characteristic of the picture tube. the system checks whether the returning measuring currents meet the requirement and adapts the output level and gain of the circuit when necessary. therefore the typical value of the black level and amplitude at the output are just given as an indication for the design of the rgb output stage. 1999 sep 28 125 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series the 2-point black level system adapts the drive voltage for each cathode in such a way that the 2 measuring currents have the right value. this has the consequence that a change in the gain of the output stage will be compensated by a gain change of the rgb control circuit. because different picture tubes may require different drive voltage amplitudes the ratio between the output signal amplitude and the inserted measuring pulses can be adapted via the i 2 c-bus. this is indicated in the parameter adjustment range of the ratio between the amplitudes of the rgb drive voltage and the measuring pulses. because of the dependence of the output signal amplitude on the application the soft clipping limiting has been related to the input signal amplitude. 50. for the alignment of the picture tube the vertical scan can be stopped by means of the vsd bit. in that condition a certain black level is inserted at the rgb outputs. the value of this level can be adjusted by means of the brightness control dac. an automatic adjustment of the v g2 of the picture tube can be realised by using the wbc and hbc bits in output byte 01. for a black level feedback current between 2 and 5 m a the wbc = 1, for a higher or lower current wbc = 0. whether the current is too high or too low can be found from the hbc bit. 51. when the reproduction of 4 : 3 pictures on a 16 : 9 picture tube is realised by means of a reduction of the horizontal scan amplitude the edges of the picture may slightly be disturbed. this effect can be prevented by adding an additional blanking to the rgb signals. the blanking pulse is derived form the horizontal oscillator and is directly related to the incoming video signal (independent of the flyback pulse). the additional blanking overlaps the normal blanking signal with about 1 m s on both sides. this blanking is activated with the hbl bit. 52. signal-to-noise ratio (s/n) is specified as peak-to-peak signal with respect to rms noise (bandwidth 5 mhz). 53. when the black-current stabilization loop is switched off (akb = 1) the wpa control range is reduced to 1 db. 54. this is a current input. the start-up procedure is as follows. when the tv receiver is switched-on the rgb outputs are blanked and the black-current loop will try to adjust the picture tube to the right bias levels. the rgb drive signals are switched-on as soon as the black current loop is stabilised. this results in the shortest switch-on time. when this switch-on system results in a visible disturbance of the picture it is possible to add a further switch-on delay via a software routine. in that case the rgb outputs must be blanked by means of the rbl bit. as soon as the black current loop is stabilised the bcf-bit is set to 0 (output byte 01). this information can then be used to switch-on the rgb outputs with some additional delay. 55. the beam current limiting and the vertical guard function have been combined on this pin. the beam current limiting function is active during the vertical scan period. 56. during switch-off the magnitude of the discharge current of the picture tube is controlled by the black current loop. dependent on the setting of the oso bit the vertical scan can be stopped in an overscan position during that time so that the discharge is not visible on the screen. the switch-off procedure is as follows: a) the vertical scan and retrace are completed b) the soft-stop procedure is started with a reduction of the t on of the output stage from nominal to zero c) the fixed beam current is forced via the black current loop d) if oso = 1 the vertical deflection stays in the overscan position e) if oso = 0 the vertical deflection will keep running during the switch-off time table 121 some examples for the fm-pll ?lter bl - 3db (khz) c s (nf) c p (pf) r (k w ) n 100 4.7 820 2.7 0.5 160 4.7 330 3.9 0.5 1999 sep 28 126 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series table 122 output current of the phase detector in the various conditions note 1. only during vertical retrace, width 22 m s. in the other conditions the width is 5.7 m s and the gating is continuous. i 2 c-bus commands ic conditions j -1 current/mode vid poc foa fob ifi sl noise scan v-retr gating mode - 0 0 0 yes yes no 180 270 yes (1) auto - 0 0 0 yes yes yes 30 30 yes auto - 000yesno - 180 270 no auto - 001yesyes - 30 30 yes slow - 001yesno - 180 270 no slow - 0 1 0 yes yes no 180 270 yes fast - 0 1 0 yes yes yes 30 30 yes slow -- 11 --- 180 270 no fast 00 -- no -- 6 6 no osd - 1 -------- off fig.42 simplified diagram crystal oscillator. f osc 1 l i c i c tot c i c tot + --------------------- - 2 p ---------------------------------------- - = c tot c p c a c b c a c b + -------------------- + = c a = c i +c x1 c b =c o +c x2 handbook, halfpage mgr447 100 k w xtali xtalo crystal or ceramic resonator r i l i c i c i g m c p c a c b 276 pin 58 pin 59 c x2 c x1 c o c i 1999 sep 28 127 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series fig. 43 volume control curve 0 -20 -40 -60 -80 0102030 40 dac (hex) db fig. 44 peaking control curve. overshoot in direction black. 0102030 40 dac (hex) 20 40 60 80 % fig.45 hue control curve. +50 +30 +10 - 10 - 30 - 50 (deg) 0 10 20 30 40 dac(hex) fig. 46 saturation control curve. mla740 - 1 250 25 0 (%) 0 10203040 dac (hex) 50 75 100 125 150 175 200 225 300 250 200 150 100 50 0 % 1999 sep 28 128 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series fig. 47 contrast control curve. mla741 - 1 90 50 10 (%) 0 10203040 dac (hex) 20 30 40 60 70 80 100 mla742 - 1 0.7 0.35 0 0.35 0.7 0 (v) 0 10203040 dac (hex) fig. 48 brightness control curve. mbc212 100% 92% 30% 16 % for negative modulation 100% = 10% rest carrier fig. 49 video output signal. mbc211 100% 86% 72% 58% 44% 30% 64 60 56 52 48 44 40 36 32 22 12 10 26 m s fig. 50 test signal waveform. 1999 sep 28 129 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series characteristic points avl a b c d unit deemphasis voltage 150 300 500 1500 mv rms fm swing 15 30 50 150 khz 10.0m 100.0m 1.0 2.0 100.0m 1.0 1.8 deemp avl is on avl is off fig. 51 avl characteristic a b c d 1999 sep 28 130 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series fig. 52 i/o relation of the black level stretch circuit output (ire) 100 80 60 40 20 0 -20 a a b b 20 40 60 80 100 input (ire) a-a: maximum black level shift b-b: level shift at 15% of peak white 1999 sep 28 131 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series top picture bottom picture 138% 100% 75% t/2 t 60 50 40 30 20 10 0 -10 -20 -30 -40 -50 -60 vertical position time blanking for expansion of 138% fig. 53 sawtooth waveform and blanking pulse for 110 types % 1999 sep 28 132 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series time (ms) 50 250 t on (%) 50 100 100 150 200 fig. 54 soft start behaviour 1999 sep 28 133 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series test and application information east-west output stage in order to obtain correct tracking of the vertical and horizontal eht-correction, the ew output stage should be dimensioned as illustrated in fig.55. resistor r ew determines the gain of the ew output stage. resistor r c determines the reference current for both the vertical sawtooth generator and the geometry processor. the preferred value of r c is 39 k w which results in a reference current of 100 m a (v ref = 3.9 v). the value of r ew must be: example: with v ref = 3.9 v; r c =39k w and v scan = 120 v then r ew =68k w . r ew r c v scan 18 v ref ---------------------- - = handbook, full pagewidth mla744 - 1 tda8366 horizontal deflection stage diode modulator v dd v scan v ew r ew ew output stage ewd c saw 100 nf (5%) v ref r c 39 k (2%) i ref 43 49 50 fig. 55 east-west output stage. tda 935x 21 28 27 tda 935x/6x/8x 20 25 26 1999 sep 28 134 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series fig. 56 control range of vertical amplitude. va = 0, 31h and 63h; vsh = 31h; sc = 0. fig. 57 control range of vertical slope. vs = 0, 31h and 63h; va = 31h; vhs = 31h; sc = 0. 700 500 300 100 -100 -300 -500 -700 i vert ( m a) time 0 t/2 t fig. 58 control range of vertical shift. vsh = 0, 31h and 63h; va = 31h; sc = 0. fig. 59 control range of s-correction. sc = 0, 31h and 63h; va = 31h; vhs = 31h. 1999 sep 28 135 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series fig. 60 control range of ew width. ew = 0, 31h and 63h; pw = 31h; cp = 31h. 1200 1000 800 600 400 200 0 0 t/2 t time i ew ( m a) fig. 61 control range of ew parabola/width ratio. pw = 0, 31h and 63h; ew = 31h; cp = 31h. 0 t/2 t time i ew ( m a) 900 800 700 600 500 400 300 fig. 62 control range of ew corner/parabola ratio. cp = 0, 31h and 63h; ew = 31h; pw = 63h. 0 t/2 t time 900 800 700 600 500 400 300 i ew ( m a) fig. 63 control range of ew trapezium correction. tc = 0, 31h and 63h; ew = 31h; pw = 31h. 0 t/2 t time 900 800 700 600 500 400 300 i ew ( m a) 1999 sep 28 136 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series adjustment of geometry control parameters the deflection processor offers 5 control parameters for picture alignment, viz: s-correction vertical amplitude vertical slope vertical shift horizontal shift. the 110 types offer in addition: ew width ew parabola width ew upper/lower corner parabola ew trapezium correction. vertical zoom horizontal parallelogram and bow correction for some versions in the range it is important to notice that the ics are designed for use with a dc-coupled vertical deflection stage. this is the reason why a vertical linearity alignment is not necessary (and therefore not available). for a particular combination of picture tube type, vertical output stage and ew output stage it is determined which are the required values for the settings of s-correction, ew parabola/width ratio and ew corner/parabola ratio. these parameters can be preset via the i 2 c-bus, and do not need any additional adjustment. the rest of the parameters are preset with the mid-value of their control range (i.e. 1fh), or with the values obtained by previous tv-set adjustments. the vertical shift control is meant for compensation of off sets in the external vertical output stage or in the picture tube. it can be shown that without compensation these off sets will result in a certain linearity error, especially with picture tubes that need large s-correction. the total linearity error is in first order approximation proportional to the value of the off set, and to the square of the s-correction needed. the necessity to use the vertical shift alignment depends on the expected off sets in vertical output stage and picture tube, on the required value of the s-correction, and on the demands upon vertical linearity. for adjustment of the vertical shift and vertical slope independent of each other, a special service blanking mode can be entered by setting the sbl bit high. in this mode the rgb-outputs are blanked during the second half of the picture. there are 2 different methods for alignment of the picture in vertical direction. both methods make use of the service blanking mode. the first method is recommended for picture tubes that have a marking for the middle of the screen. with the vertical shift control the last line of the visible picture is positioned exactly in the middle of the screen. after this adjustment the vertical shift should not be changed. the top of the picture is placed by adjustment of the vertical amplitude, and the bottom by adjustment of the vertical slope. the second method is recommended for picture tubes that have no marking for the middle of the screen. for this method a video signal is required in which the middle of the picture is indicated (e.g. the white line in the circle test pattern). with the vertical slope control the beginning of the blanking is positioned exactly on the middle of the picture. then the top and bottom of the picture are placed symmetrical with respect to the middle of the screen by adjustment of the vertical amplitude and vertical shift. after this adjustment the vertical shift has the right setting and should not be changed. if the vertical shift alignment is not required vsh should be set to its mid-value (i.e. vsh = 1f). then the top of the picture is placed by adjustment of the vertical amplitude and the bottom by adjustment of the vertical slope. after the vertical picture alignment the picture is positioned in the horizontal direction by adjustment of the ew width and the horizontal shift. finally (if necessary) the left- and right-hand sides of the picture are aligned in parallel by adjusting the ew trapezium control. to obtain the full range of the vertical zoom function the adjustment of the vertical geometry should be carried out at a nominal setting of the zoom dac at position 19 hex. 1999 sep 28 137 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series package outline unit b 1 cee m h l references outline version european projection issue date iec jedec eiaj mm dimensions (mm are the original dimensions) sot274-1 92-10-13 95-02-04 b max. w m e e 1 1.3 0.8 0.53 0.40 0.32 0.23 58.67 57.70 17.2 16.9 3.2 2.8 0.18 1.778 19.05 19.61 19.05 20.96 19.71 1.73 5.84 0.51 4.57 m h c (e ) 1 m e a l seating plane a 1 w m b 1 e d a 2 z 0 5 10 mm scale note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. (1) (1) d (1) z 64 1 33 32 b e pin 1 index a max. 12 a min. a max. sdip64: plastic shrink dual in-line package; 64 leads (750 mil) sot274-1 unit b 1 cee m h l references outline version european projection issue date iec jedec eiaj mm dimensions (mm are the original dimensions) sot274-1 92-10-13 95-02-04 b max. w m e e 1 1.3 0.8 0.53 0.40 0.32 0.23 58.67 57.70 17.2 16.9 3.2 2.8 0.18 1.778 19.05 19.61 19.05 20.96 19.71 1.73 5.84 0.51 4.57 m h c (e ) 1 m e a l seating plane a 1 w m b 1 e d a 2 z 0 5 10 mm scale note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. (1) (1) d (1) z 64 1 33 32 b e pin 1 index a max. 12 a min. a max. sdip64: plastic shrink dual in-line package; 64 leads (750 mil) sot274-1 1999 sep 28 138 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series soldering introduction there is no soldering method that is ideal for all ic packages. wave soldering is often preferred when through-hole and surface mounted components are mixed on one printed-circuit board. however, wave soldering is not always suitable for surface mounted ics, or for printed-circuits with high population densities. in these situations reflow soldering is often used. this text gives a very brief insight to a complex technology. a more in-depth account of soldering ics can be found in our ic package databook (order code 9398 652 90011). sdip s oldering by dipping or by wave the maximum permissible temperature of the solder is 260 c; solder at this temperature must not be in contact with the joint for more than 5 seconds. the total contact time of successive solder waves must not exceed 5 seconds. the device may be mounted up to the seating plane, but the temperature of the plastic body must not exceed the specified maximum storage temperature (t stg max ). if the printed-circuit board has been pre-heated, forced cooling may be necessary immediately after soldering to keep the temperature within the permissible limit. r epairing soldered joints apply a low voltage soldering iron (less than 24 v) to the lead(s) of the package, below the seating plane or not more than 2 mm above it. if the temperature of the soldering iron bit is less than 300 c it may remain in contact for up to 10 seconds. if the bit temperature is between 300 and 400 c, contact may be up to 5 seconds. qfp r eflow soldering reflow soldering techniques are suitable for all qfp packages. the choice of heating method may be influenced by larger plastic qfp packages (44 leads, or more). if infrared or vapour phase heating is used and the large packages are not absolutely dry (less than 0.1% moisture content by weight), vaporization of the small amount of moisture in them can cause cracking of the plastic body. for details, refer to the drypack information in our quality reference handbook (order code 9397 750 00192). reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. several methods exist for reflowing; for example, infrared/convection heating in a conveyor type oven. throughput times (preheating, soldering and cooling) vary between 50 and 300 seconds depending on heating method. typical reflow peak temperatures range from 215 to 250 c. w ave soldering wave soldering is not recommended for qfp packages. this is because of the likelihood of solder bridging due to closely-spaced leads and the possibility of incomplete solder penetration in multi-lead devices. if wave soldering cannot be avoided, for qfp packages with a pitch (e) larger than 0.5 mm, the following conditions must be observed: a double-wave (a turbulent wave with high upward pressure followed by a smooth laminar wave) soldering technique should be used. the footprint must be at an angle of 45 to the board direction and must incorporate solder thieves downstream and at the side corners. during placement and before soldering, the package must be fixed with a droplet of adhesive. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. the package can be soldered after the adhesive is cured. maximum permissible solder temperature is 260 c, and maximum duration of package immersion in solder is 10 seconds, if cooled to less than 150 c within 6 seconds. typical dwell time is 4 seconds at 250 c. a mildly-activated flux will eliminate the need for removal of corrosive residues in most applications. r epairing soldered joints fix the component by first soldering two diagonally- opposite end leads. use only a low voltage soldering iron (less than 24 v) applied to the flat part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 c. 1999 sep 28 139 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series definitions life support applications these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips for any damages resulting from such improper use or sale. purchase of philips i 2 c components data sheet status objective speci?cation this data sheet contains target or goal speci?cations for product development. preliminary speci?cation this data sheet contains preliminary data; supplementary data may be published later. product speci?cation this data sheet contains ?nal product speci?cations. limiting values limiting values given are in accordance with the absolute maximum rating system (iec 134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information where application information is given, it is advisory and does not form part of the speci?cation. purchase of philips i 2 c components conveys a license under the philips i 2 c patent to use the components in the i 2 c system provided the system conforms to the i 2 c specification defined by philips. this specification can be ordered using the code 9398 393 40011. 1999 sep 28 140 philips semiconductors preliminary device speci?cation tv signal processor-teletext decoder with embedded m -controller TDA935X/6x/8x series |
Price & Availability of TDA935X
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |