APPLICATION NOTE SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor AN10281_1 Philips Semiconductors TP97035.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Abstract This application note describes the functioning of the Philips autosync SAA4848PS/SAA4849PS deflection controller plus microcontroller. This application note also includes a pin-by-pin description of the device. Furthermore you will find some layout and application proposals and also a functional comparison with the successful analog TDA4856.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 APPLICATION NOTE SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor AN10281_1 Author(s): Frank van Rens, Vedran Kovacevic Philips Semiconductors Competence Center Display Solutions Eindhoven, The Netherlands Keywords autosync monitor geometry control CRT monitor I2C-bus control Deflection controller & Microcontroller Number of pages: 88 D
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Summary In this application note the autosync CMOS deflection controller SAA4848PS/SAA4849PS is described. The SAA4848/49 is intended for 17” to 19” CRT monitors. It provides a cost effective solution with integrated microcontroller. The SAA4848/49 covers all the TDA4856 functionality except horizontal focus.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 CONTENTS 1 INTRODUCTION ...................................................................................................................9 1.1 Block diagram deflection controller .........................................................................................................................10 1.2 Block diagram microcontroller..................................
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.19 Pin 19: HBGND..............................................................................................................................................36 3.20 Pin 20: HDRV..................................................................................................................................................37 3.21 Pin 21: HFB..........................
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.53 Pin 53: VSYNC ................................................................................................................................................63 3.54 Pin 54: P1.6/DDC-CLK ................................................................................................................................64 3.55 Pin 55: P1.7/DDC-SDA ......................
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 8 Application Note AN10281 1
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 1 Application Note AN10281 1 INTRODUCTION The SAA4848 (ROM version) and the SAA4849 (FLASH version) are very cost effective CMOS deflection controllers with integrated 80c51 CPU and extra port functionality like DDC, timers, ADC, PWM. The deflection controller and microcontroller are combined into one SDIP56 package.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 1.
DEFLECTION CONTROLLER Reset from pin 23 CPU 80c51 12MHz/750kHz Reset algorithm Reset from deflection controller Watch dog timer 11 Figure 3 On-chip interconnect between deflection and microcontroller State Control I2C power save VBLANK wakeup interrupt I2C-Bus Tranceiver B+ Control Horizontal PLL Geometrics Four 8 bit DACs DDC interrupt Timer 0 Timer 1 DDC I2C-CLK I2C-SDA Port 1 SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Bias Digital supply regu
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 1.4 Application Note AN10281 1 Pin multiplexer block diagram HSOUT P2.6 P1.5/T1 Pin 5 SFR hAE[6:7] PWM DAC4 P2.5 ADC2 VSOUT Pin 27 SFR hAE[5] P0.5 HSOUT P2.4 ADC0 Pin 49 SFR h9E[1:0] Pin 50 SFR h8E[0] Pin 48 SFR hAE[4] CLAMP300ns P2.3 DAC4 CLAMP700ns Pin 6 SFR hAE[3] VBLANK PROTECTIONBLANK P2.2 DAC2 P2.1 DAC1 Pin 31 SFR hAE[2] HUNLOCK(for blanking) VSOUT Clamp level = 5.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 1.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 1.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Horizontal s-wave Horizontal s-wave balance Horizontal corner top Horizontal corner top balance Horizontal corner bottom Horizontal corner bottom balance 15 Application Note AN10281 1
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Rotation Rotation balance (NS trapezium) 16 Application Note AN10281 1
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 2 Application Note AN10281 1 FUNCTION DESCRIPTION AND APPLICATION This chapter describes the general functions and the system application. The more specific pin application is described in chapter 3. First the deflection controller part is described and secondly the microcontroller part is described. 2.1 Deflection controller The CMOS75 shrink process technology is used for the SAA484x.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 2.1.1 Application Note AN10281 1 Deflection start-up and shutdown procedure This paragraph describes the start up behaviour of the GEO, HPLL and BPLUS block. For the embedded software this is not of any interest because the start up controlled internally by hardware. The reason why it is described in this application note is because this part is not included in the datasheet.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Microcontroller 2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 //SR-Slave Receiver; ST-Slave Transmitter void DDC_Interrupt(void) interrupt DDC_INT_NO using 1 { switch (S1STA) { //application code for slave receiver mode, e.g.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 is well known as a paging (“pdata” type in Keil C compiler syntax). It should be mentioned that the first version of the emulator doesn’t support the paging, while it works in the IC. • AUX-RAM is indirectly addressable via MOVX-DPTR instruction, as well (“xdata” type in Keil C compiler syntax). 2.2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor sbit sbit sbit P0_2_C=0x82; P0_1_C=0x81; P0_0_C=0x80; #ifdef EMULATOR #define #define #define #define #define #define #define #define #define #define #define #else #define #define #define #define #define #define #define #define #define #define #define #endif Application Note AN10281 1 sbit EP0_2_C=0xB2; sbit EP0_1_C=0xB1; sbit EP0_0_C=0xB0; P0 P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 P0CFGA P0CFGB
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor while(ADCCON&0x02){} switch(bChannelNO) { case ADC_0: return ADATA0; case ADC_1: return ADATA1; case ADC_2: return ADATA2; case ADC_VREFH: return AVREFH; case ADC_VREFL: return AVREFL; } Application Note AN10281 1 //wait busy flag //return the result of the conversion } 2.2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 the reset is performed. The routine in the application for this switching to the BOOT MODE can be activated by DDC command. In this mode, the CPU fetches instructions from the special memory, where are stored routines for the FLASH (re-) programming by DDC (I2C) bus. The PC application called “ISP—DEMIC-Customer” should be used to perform this programming.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 2.3 Component placing and ground map Figure 7 Components placing and layout.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3 PIN APPLICATION 3.1 Pin 1: P1.0 Application Note AN10281 1 Type P1.0: open drain (application mode) with internal pull up resistor 3.2 Pin 2: P1.3/ I2C -SCL Type P1.3: open drain This pin must be used as I2C -SCL since it is on chip connected to the I2C -SCL line of the deflection controller. A pull-up resistor needed to +5V, value must be 2.2k ~ 4.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.4 Pin 4: P1.2/nINT0 Type P1.2: open drain (application mode) This pin can be used as input for an external interrupt signal.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.5 Pin 5: P2.6/DAC4/HSOUT Type P2.6: open drain (application mode) Type DAC4 output: buffered voltage output with a voltage range of 0 to 5 volts. Type HSOUT: push pull output Pin Configuration SFR setting P2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor HSOUT behaviour when composite sync supplied Composite sync HFB HSOUT with I2C h0F[3]=0 HSOUT with I2C h0F[3]=1 Gap is filled with HFB pulses Figure 9 HSVSOUT[3] explanation DAC4 control via I2C -bus 3.6 Description I2C address DAC4 value I2C hEB[7:0] Pin 6: P2.3/DAC3 Type P2.3: open drain (application mode) Type DAC3 output: buffered voltage output with a voltage range of 0 to 5 volts.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.7 Application Note AN10281 1 Pin 7: HUNLOCK Type HUNLOCK: push pull The 1-volt blanking signal referenced to ground that was implemented in the TDA type deflection controllers is not present in the SAA4848/49. SAA only has the 5 volt TTL levels available on the HUNLOCK pin.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 SAA4848 HUNLOCK = pin 7 100 GND 1n4148 10k MPSA92 + 10uF Vg1 1n4148 Vg1Blank GND 10k 1.8M 82k 1n4148 10k byd33g 100 VerticalDeflectionAbsent -185V 47uF + GND Figure 10 Application diagram of pin HUNLOCK for grid 1 protection blanking The 10µF capacitor provides blanking during switch-off/switch-on situations.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.8 Application Note AN10281 1 Pin 8: CLBL/VSOUT Type CLBL/VSOUT: push pull Pin Configuration WOR I2C setting CL300ns WOR h0C[6:5]=10 CL700ns WOR h0C[6:5]=01 Not allowed WOR h0C[6:5]=11 No clamping WOR h0C[6:5]=00 VSOUT as 5V pulse WOR h0C[4] Vertical blanking as 1.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Note: The clamping signal should only be used for clamping of the video signal. The clamping signal cannot be used to synchronise the OSD generator or to synchronise the SMPS in case of “sync out of range” OSD message (freerunning and vertical and/or horizontal sync out of range).
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.12 Pin 12: P0.0 Type P0.0: programmable I/O port P0.0 Configuration P0CFGA P0CFGB Open drain SFR h84[0]=0 SFR h85[0]=0 High impedance SFR h84[0]=0 SFR h85[0]=1 Quasi b-directional SFR h84[0]=1 SFR h85[0]=0 Push pull SFR h84[0]=1 SFR h85[0]=1 P0.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.15 Pin 15: VDDD Type VDDD: output of digital supply regulator Do not connect. 3.16 Pin 16: V5V Type V5V: input voltage for IC power supply (+5V) See Pin 14: VSSE for application diagram. 3.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.18 Pin 18: BDRV Type BDRV: CMOS push pull current output Additional specification BDRV: VV5V=5.0V;Tamb=25°C SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT IBDRV(high) high level output current Vout=0 to 2 V -3.8 -3.3 -3.0 mA IBDRV(low) low level output current Vout = 0.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.20 Pin 20: HDRV Type HDRV: CMOS push pull current output Additional specification HDRV: VV5V=5.0V;Tamb=25°C SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT IHDRV(high) high level output current Vout=0 to 2 V -3.8 -3.3 -3.0 mA IHDRV(low) low level output current Vout = 0.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.21 Pin 21: HFB Type HFB: voltage input Vmax SAA4848 R HFB = pin 21 Vmin Figure 16 Application diagram of pin 21 The HFB input has a slicing level of 1.35 Volts and is only triggered by the rising edge. For the best performance, the rising edge must be fast and free of any disturbance. The resistor value is calculated with the typical input currents of 5mA@3.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.22 Pin 22: XRAY Type XRAY: voltage input The XRAY input detection voltage level may vary from 1.20 volts to 1.30 volts (±4%). As input for the XRAY detection circuit a signal that is proportional to the EHT voltage is needed. The flyback pulse is generally used in case of a combined EHT/deflection monitor.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.24 Pin 24: VFOCUS Type VFOCUS: NMOS current sink output +240V R1 270k VFOCUS,OUT +5V SAA4848 BF420 BF422 R2 100 VFOCUS = pin 24 Figure 19 Application diagram 1 of pin 24 An NPN transistor cascode stage application can be used when the VFOCUS,OUT is derived from a positive supply. The output current is converted to voltage in resistor R1.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 +240V +5V SAA4848 R2 R4 VFOCUS,OUT R1 3.9k C BF420 BF422 + VFOCUS = pin 24 R3 R5 GND GND Figure 20 Application diagram 2 of pin 24 The current is converted to voltage in resistor R1. The voltage is amplified by the voltage amplifier stage. 3.25 Pin 25: P0.4 Type P0.4: programmable I/O port P0.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.26 Pin 26: P2.1/DAC1 Type P2.1: open drain (application mode) Type DAC1 output: buffered voltage output with a voltage range of 0 to 5 volts. Pin Configuration SFR setting P2.1 SFR hEA[1]=0 DAC1 SFR hEA[1]=1 Description I2C address DAC1 value I2C hE8 DAC1 control via I2C -bus 3.27 Pin 27: P2.5/ADC2 Type P2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.28 Pin 28: P2.0/ADC1 Type P2.0: open drain (application mode) Type ADC1 input: voltage input with voltage range of 0 to 5 Volts. Pin Configuration SFR setting P2.0 SFR hAE[0]=0 ADC1 SFR hAE[0]=1 Description SFR address ADC1 value SFR hE9 ADC1 read back value via SFR register 3.29 Pin 29: P2.7/LED Type P2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.30 Pin 30: UVOLT Type UVOLT: voltage input The under voltage detection is used to suppress blank the screen and prevent a spot in case of unplugging the power cord. For a fast detection of the SMPS switch-off, the monitored voltage must have a high load. Due to the high load, the voltage across the buffer capacitors will drop faster.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 A faster detection can be realised with an extra zener diode. SMPS voltage SAA4848 R1 UVOLT = pin 30 R2 C GND GND Figure 23 Application diagram 2 of pin 30 When using a zener diode with a zener voltage of 39V, the under voltage detection detects already a drop of 3V when using resistors with 5% tolerance. Still the signal has to be filtered with capacitor C.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.32 Pin 32: EHT Type EHT: current input For combined EHT/deflection monitors this input must be used to compensate the picture width increase in vertical and horizontal direction due to the EHT voltage drop. The input current is sampled and fed to the size controls for vertical and horizontal deflection.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 FBT EHT +12V CEHT R2 ABL R3 TR GND ABL adjust R4 R1 EHT signal C1 GND Figure 25 Application diagram 1 of EHT signal generation Capacitor C1 filters out the high frequency video current; the value of C1 is 10~100nF. The relation between ∆EHT and ∆Ibeam is non-linear due to the load dependent impedance of the EHT transformer.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 R4b R4 R4c R4a -10V Figure 26 Application example compensation of EHT transformer impedance Adding more diodes to the network increases the accuracy of the compensation circuit. But the time needed to get the correct values for the resistors is very time consuming.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.32.2 Application Note AN10281 1 EHT bleeder application FBT EHT CEHT +12V R1 ABL C1 R2 GND ABL adjust R4 R4 C4 C3 C4 EHT signal R3 GND GND GND Figure 27 Application diagram 2 of EHT signal generation The RC time constant of C3 and R3 must be the same as CEHT and the bleeder resistance. The roll-off frequency of the 2nd order low pass filter (R4&C4) must be about 1kHz.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.33 Pin 33: VOUT1 Type VOUT1: NMOS or PMOS current output The vertical deflection outputs VOUT1 & VOUT2 are differential current outputs, superimposed on a common bias current source. The output can be configured as NMOS (current sink) or PMOS current source to fit the desired vertical deflection booster.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.33.2 Application Note AN10281 1 Vertical deflection booster with differential voltage inputs Vi+ TDA4861 TDA4863 TDA8778 KA2142 Vi- OUT SAA4848 470 100 470 100 VOUT2 = pin 34 VOUT1 = pin 33 2x 100pF 2x 6.8nF PMOS outputs VOUTCONF[0]=1 2x 2.7k AGND AGND GND GND Lyoke GND 1.0 Ohm: +/-1.5A 1.5 Ohm: +/- 1.0A 2.2 Ohm: +/- 0.7A GND Figure 29 Application diagram 2 of pin 33,34 3.33.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.35 Pin 35: EWDRV Type EWDRV: NMOS current output The EWDRV pin provides all the horizontal size related geometric signals. The EWDRV signal is tracking with VSIZE and VPOS but the tracking can also be disabled for separate deflection/EHT with I2C register FHMULT[7]=1. 3.35.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 L Z SAA4848 220 R 10 C EWDRV = pin 35 PHP3055E GND 1.0nF GND AGND Figure 31 Application diagram 2 of pin 35 The zener diode ensures that the maximum drain voltage of the NMOS transistor is not exceeded. Resistor R determines the gain (conversion factor) of the amplifier. 3.35.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.36 Pin 36: IREF Type IREF: reference current SAA4848 IREF = pin 36 VREF = pin 37 680nF 3.9k 1% AGND = pin 38 AGND Figure 33 Application diagram of pin 36, 37, 38 3.37 Pin 37: VREF Type VREF: voltage reference See application of Pin 36: IREF. 3.38 Pin 38: AGND Type AGND: ground pin for the analog references and current outputs See application of Pin 36: IREF.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 FBT 50V EHT GND CEHT 50V SAA4848 GND BSENSE = pin 39 GND BIN = pin 40 BDRV = pin 18 AGND Horizontal deflection BDRV buffer stage BOP = pin 41 AGND East west modulator AGND GND GND Figure 35 Application diagram 2 of pin 39, 40, 41: Boost converter and BSENSE with current sense 56
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.40 Pin 40: BIN Type BIN: high impedance inverting input of OTA FBT 185V EHT GND CEHT 50V SAA4848 GND BSENSE = pin 39 GND BIN = pin 40 BDRV = pin 18 AGND BDRV buffer stage Horizontal deflection BOP = pin 41 AGND East west modulator AGND GND Figure 36 Application diagram 3 of pin 39, 40, 41: Buck converter 3.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.42 Pin 42: VSSA Type VSSA: analog supply ground SAA4848 VDDA = pin 43 + 10uF VSSA = pin 42 Figure 37 Application diagram of pin 42, 43 3.43 Pin 43: VDDA Type VDDA: regulated analog supply See application of Pin 42: VSSA. 3.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.45 Pin 45: XTAL1 Type XTAL1: crystal oscillator 1 SAA4848 XTAL2 = pin 46 48MHz 3rd overtone XTAL1 = pin 45 Figure 39 Application diagram of pin 45, 46 3.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 3.47 Pin 47: ROT Type ROT: NMOS current sink output DAC +10V +10V 6.8k Ls 100 SAA4848 +6.1V (heater) 100 VDDA = pin 43 3.3V 100 ROT= pin 47 GND Figure 40 Application diagram 1 of pin 47: rotation amplifier +10V +10V 5.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.48 Pin 48: P2.4/ADC0 Type P2.4: open drain (application mode) Type ADC0: high impedance voltage input, input voltage range 0 ~ 3.3 volts Pin Configuration SFR setting P2.4 SFR hAE[4]=0 ADC0 SFR hAE[4]=1 Description SFR address ADC0 value SFR hEB ADC1 read back value via SFR register 3.49 Pin 49: P1.5/T1/PWM/VSOUT Type P1.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.50 Pin 50: P0.5/HSOUT Type P0.5: programmable I/O port Type HSOUT: push pull output P0.5 Configuration P0CFGA P0CFGB Open drain SFR h84[5]=0 SFR h85[5]=0 High impedance SFR h84[5]=0 SFR h85[5]=1 Quasi b-directional SFR h84[5]=1 SFR h85[5]=0 Push pull SFR h84[5]=1 SFR h85[5]=1 Pin Configuration SFR setting P0.5 SFR h8E[0]=0 HSOUT SFR h8E[0]=1 See pin 6 for more HSOUT information.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.52 Pin 52: HSYNC Type: high impedance voltage input SAA4848 100 HSYNC = pin 53 HSYNC 100 VSYNC = pin 52 VSYNC 100pF 470pF I/O GND Figure 42 Application diagram of pin 52,53: HSYNC and VSYNC 3.53 Pin 53: VSYNC Type: high impedance voltage input See pin 52 for application diagram.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 3.54 Pin 54: P1.6/DDC-CLK Type P1.6: open drain +5V 2.2k 2.2k SAA4848 DDC_SCL DDC_SDA 100 DDC_SCL = pin 54 100 DDC_SDA = pin 55 2x 100pF I/O GND Figure 43 Application diagram of pin 54,55: DDC_SCL and DDC_SDA 3.55 Pin 55: P1.7/DDC-SDA Type P1.6: open drain See pin 54 for application. 3.56 Pin 56: P1.1/T0 Type P1.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 4 ALIGNMENT 4.1 Vertical geometry Application Note AN10281 1 The registers VSHIFT and VGAIN are intended for factory alignment. They look very similar to VPOS and VSIZE, which are for interaction free user control. Possible confusion is avoided by following the step described below. 4.1.1 4.1.2 Step 1. Set the vertical deflection registers to their initial value.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 4.1.4 Application Note AN10281 1 Step 4. VPOS and VSIZE Adjust the vertical position and the height of the picture. Horizontal geometry 4.2 The value of the register HSUBR and HSR must a fixed value for all monitors with the same chassis. The register HGAIN is intended for factory alignment. HGAIN looks very similar to HSIZE, which is for interaction free user control.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 4.2.3 Application Note AN10281 1 Step 3. HSUBR for optimal picture width Alignment is only needed in monitor systems with east-west amplifier (combined deflection & EHT). Reduce the east-west offset value until there is no visible distortion (clipping to the lower output voltage of the east-west amplifier) on left and right vertical borders. 4.2.4 Step 4.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 4.2.7 Application Note AN10281 1 Step 7. HPIN and HPINBAL Adjust the pincushion and the pinbalans until the centre sections of the left and right vertical borders become straight. 4.2.8 Step 8. HCTOP and HCTOPBAL Adjust the top corners and top corner balance until the upper parts of the vertical borders become straight. 4.2.9 Step 9.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 5 I2C -BUS CONTROL 5.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 described what the slewing speed is for settings for HSLEW from h40 to hFF. Example, for slewing from 80kHz to 40kHz and HSLEW is h60 the slewing time is 60ms. The correct setting of the slewing speed depends on the horizontal deflection circuit.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Advised setting for HDUTYBASL & HDUTYCUTOFF The TDA4856 duty cycle behaviour can be described like this: 1) minimum duty cycle is 45% for frequencies < 31kHz; 2) at 31kHz the duty cycle increases from 45% @ 31kHz to 48.5% @ 58kHz and 52% @ 110kHz. Figure 44 TDA4856 HDRV duty cycle vs frequency plot.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 immediately while the line output transistor remains active to discharge the deflection circuit. The fast off option must be enabled BPLUSCTRL1[4]=1. The setting for this register, with the softstart timing as specified above is BPLUSCTRL1=h19. 5.2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 5.2.8 Application Note AN10281 1 UCXRAY This register serves multiple functions: 1) HDRV protection; 2) Undervoltage; 3) XRAY handling. • HDRV protection When this bit is set the deflection controller will not switch on the line output transistor when the flyback pulse is present. This provides the line output transistor to be damaged.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 5.2.11 Application Note AN10281 1 VOUTCONF This register has multiple functions: 1) East-west polarity; 2) reduced EWDRV; 3) Vertical booster power save mode; 4) NMOS or PMOS current outputs. • East-west polarity VOUTCONF[4] The NMOS transistor application and differential amplifier with pnp transistors requires this bit to be set to 0.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 6 Application Note AN10281 1 DEVELOPMENT TOOLS In this chapter three useful programs for monitor control are described. The first one is used to program the flash memory of the SAA4849. The second tool is a generic I2C tool that can be used to read and write I2C commands, the reading and writing is controlled in a script.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Figure 46 Screenshot of in-system programming tool. 6.1.4 SFR access program for HW debugging With the ISP software a firmware version that controls the SFR registers is included. When this firmware is programmed into the flash memory it is possible to control the SFR registers via the DDC bus. The filename of the hex file is “SFR2.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 6.1.5 Application Note AN10281 1 Hardware connection for SFR control via DDC bus Hardware needed: 1) I2C PCB, connected to the parallel port or serial port; 2) four conductor cable (SCL, GND, +5V, SDA). Connect the I2C cable from the PC to the DDC input of the monitor. When using a VGA cable it is possible to use the DDC-CLK, DDC-SDA and GND signals.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Figure 48 Screenshot of DEMIC I2C control tab “global”.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Figure 49 Screenshot of DEMIC SFR control tab “SFR1/2”.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 6.2.1 Application Note AN10281 1 Hardware connection for I2C register control via I2C bus Hardware needed: 1) I2C PCB, connected to the parallel port or serial port; 2) four conductor cable (SCL, GND, +5V, SDA). Connect the I2C cable from the PC to the I2C bus of the monitor. Do not forget to supply 5V to the I2C interface board of your PC.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 6.3 Application Note AN10281 1 I2C tools program This generic I2C program is very useful for controlling any I2C device including the SAA4848/49. It uses text-based scripts to control the write and read commands on the I2C bus. The scripts are easy to copy-paste. For example, a large series of commands can be generated by MSOffice applications like Excel.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Example 1 – writing to I2C register: // Shutdown DemicDemo #ValueFormat = HEX // blank video 60,0f,90,fe // Vblank @ Port1.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Example 3 – reading: // Read deflection status #ValueFormat = HEX 8d,e4,1 // read i2c register sy_status 8d,e0,1 // read i2c register wakeupconf 8d,e3,1 // read i2c register syncpres More information about the functionality is included with the I2C Tools software. It is accessible during run-time in the menu “Script-Commands?” 6.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 7 LIST OF ABBREVIATIONS AC ADC B CMOS CPU CPU CRC CRT CT DAC DC DDC DEMIC DPMS EHT G H HV HWMD I2C IC ISP LED NMOS NPN NVM OSD OTA PC PCB PMOS PWM R RAM ROM SCL SDA SFR SW uC or µC V VESA WOR alternating current analogue to digital converter blue complementary metal-oxide semiconductor central processing unit central processing unit cyclic redundancy check cathode ray tube colour temperature digi
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 8 Application Note AN10281 1 LIST OF FIGURES Figure 1 Block diagram deflection ------------------------------------------------------------------------------------------------------------ 10 Figure 2 Block diagram microcontroller ----------------------------------------------------------------------------------------------------- 10 Figure 3 On-chip interconnect between deflection and microcontroll
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor Application Note AN10281 1 Figure 35 Application diagram 2 of pin 39, 40, 41: Boost converter and BSENSE with current sense--------------------------- 56 Figure 36 Application diagram 3 of pin 39, 40, 41: Buck converter--------------------------------------------------------------------- 57 Figure 37 Application diagram of pin 42, 43--------------------------------------------------------------------
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor 9 REFERENCES 9.1 Datasheets Application Note AN10281 1 Device Description Date SAA4848PS/SAA4849PS/ SAA4847PS I2C -bus autosync CMOS deflection controller and microcontroller for CRT monitors sep-2003 TDA4856PS I2C -bus controlled autosync deflection controller for PC monitors 13-jul-2003 TDA4841PS I2C 21-jun-1999 TDA4867J Full bridge current driven vertical deflection booster 9.
Philips Semiconductors SAA4848/SAA4849 digital deflection controller plus microcontroller for CRT monitor APPENDIX 1 Application Note AN10281 1 Source code for the CRC calculation For the safe transfer of the Write Once Registers (WOR) a 4 byte CRC is used.