Novatek NT6862-5 Series Скачать руководство пользователя страница 44

NT6862-5xxxx

44

DDC2BR2

DDC2BR1

DDC2BR0

Baud Rate

0.00

0.00

0.00

400K

0.00

0.00

1.00

200K

0.00

1.00

0.00

100K

0.00

1.00

1.00

50K

1.00

0.00

0.00

25K

1.00

0.00

1.00

12.5K

1.00

1.00

0.00

6.25K

1.00

1.00

1.00

3.125K

SCL

SDA
(external device
 putting data)

DATA

DATA

STOP

INTRX

SDA
(NT6862)

A

A

R/W

Figure 15.7.  DDC2B+ MASTER READ Mode Timiing

wait

DATA

1  2   3   4   5   6   7  8

A

If user read out first byte data from RXDAT buffer,

system will respond ACK, NAK or REPeat START

Before user reads out this byte data from RXDAT buffer,
he can set TXACK = 1 to terminate communication

ADDRESS

A

9

1  2   3   4   5   6   7  8

9

1  2   3   4   5   6   7  8

9

MODE = 0
Wait for user to put calling address into TXDAT buffer

START

If user does not read out this byte data from RXDAT buffer,
the shift register will wait after receiving next byte data

wait

wait

Содержание NT6862-5 Series

Страница 1: ...1 Shift Register INT INTRX0 1 Shift Register INT INTNAK0 1 No Acknowledge INTSTOP0 1 Stop Condition Occurred INT INTE1 External INT with Selectable Edge Trigger INTV VSYNC INT INTMR Base Timer INT IN...

Страница 2: ...HALFI A9 P11 ADC1 A8 P10 ADC0 P00 DAC7 A0 P16 INTE1 P01 DAC8 A1 P02 DAC9 A2 P03 DAC10 A3 P04 DAC11 A4 P06 VSYNCO A6 P07 HSYNCO A7 DAC6 RESET P41 DAC5 SDA1 MODE2 DAC4 SCL1 MODE1 DAC3 MODE0 HSYNCI VSYN...

Страница 3: ...ister 10 11 P14 PATTERN A15 CE I O I Bi directional I O pin with internally pulled up 22K register shared with the output of self test pattern OTP ROM program address buffer chip enable 11 12 P13 HALF...

Страница 4: ...I O I Bi directional I O pin with internally pulled up 22K register shared with open drain 5V D A converter output 10 OTP ROM program address buffer 29 30 P03 DAC10 A3 P03 I O I Bi directional I O pi...

Страница 5: ...ith composite sync input A jitter filter is added at the front end it could effectually reduce the jitter interference of external noisy Hsync input 40 42 VSYNCI INTV A14 VSYNCI I I Debouncing Schmitt...

Страница 6: ...ges and interrupt input options The CPU clock cycle is 4MHz 8MHz system clock divided by 2 Please refer to the 6502 data sheet for more detailed information Accumulator A Index Register Y 0 7 7 Index...

Страница 7: ...plus Branch on N 0 BRK Break Forced Interrupt PC 2 PC BVC Branch if overflow clears Branch on V 0 BVS Branch if overflow sets Branch on V 1 CLC Clear carry 0 C CLD Clear decimal mode 0 D CLI Clear in...

Страница 8: ...register from stack P ROL Rotate left through carry C M7 M0 C ROR Rotate right through carry C M7 M0 C RTI Return from interrupt P PC RTS Return from subroutine PC PC 1 PC SBC Subtract with borrow A...

Страница 9: ...2 default stack pointer is 01FF programmers must set S register to FFH when starting the program as LDX FF TXS RAM Unused ROM 0000 0080 8000 FFFF stack pointer FFFE FFFD FFFC RST L RST H IRQ L IRQ H R...

Страница 10: ...OLO VPOLO R 0007 HV CON FFH ENHOUT ENHOUT HPOLO VPOLO W 0008 HCNT L 00H HCL7 HCL6 HCL5 HCL4 HCL3 HCL2 HCL1 HCL0 R HCNTOV HCH3 HCH2 HCH1 HCH0 R 0009 HCNT H 00H CLRHOV W 000A VCNT L 00H VCL7 VCL6 VCL5 V...

Страница 11: ...NAK0 CLRSTOP0 W INTS1 INTA1 INTTX1 INTRX1 INTNAK1 INTSTOP1 R 001D IRQ1 00H CLRS1 CLRA1 CLRTX1 CLRRX1 CLRNAK1 CLRSTOP1 W INTADC INTV INTE1 INTMR R 001E IRQ2 00H CLRADC CLRV CLRE1 CLRMR W Selection of E...

Страница 12: ...DKVL7 DKVL6 DKVL5 DKVL4 DKVL3 DKVL2 DKVL1 DKVL0 RW 0033 DACH3 80H DKVL7 DKVL6 DKVL5 DKVL4 DKVL3 DKVL2 DKVL1 DKVL0 RW 0034 DACH4 80H DKVL7 DKVL6 DKVL5 DKVL4 DKVL3 DKVL2 DKVL1 DKVL0 RW 0035 DACH5 80H D...

Страница 13: ...er from a POWER DOWN condition During the time that this reset pin is held LOW writing to or from the C is inhibited The reset line must be held LOW for at least two CPU clock cycles When a positive e...

Страница 14: ...vailable at the activated A D channel The analog voltage to be measured should be stabled during the conversion operation and the variation will not exceed LSB for the best accuracy in measurement Add...

Страница 15: ...respondent I O pin will be switched to PWM output pin The PWM refresh rate is 62 5KHz operating on 8MHz system clock There are 13 readable DACH registers corresponding to 13 PWM channels 0030 003D Eac...

Страница 16: ...K9 ENDK8 ENDK7 W 0010 ENADC FFH CSTA ENADC3 ENADC2 ENADC1 ENADC0 W 0030 DACH0 80H DKVL7 DKVL6 DKVL5 DKVL4 DKVL3 DKVL2 DKVL1 DKVL0 RW 0031 DACH1 80H DKVL7 DKVL6 DKVL5 DKVL4 DKVL3 DKVL2 DKVL1 DKVL0 RW 0...

Страница 17: ...ddresses FFFE FFFF then transferring program control to the memory vector located at these addresses For NMI interrupt C will transfer execution sequence to the memory vector located at addresses FFFA...

Страница 18: ...y INT It will be activated at DDC2 mode when transmission buffer IIC_TXDAT is empty at TRAMISSION mode INTRX INT Receiving Buffer Overflow INT It will be activated at DDC2 mode when new data have stor...

Страница 19: ...system The NMI group is also oprating the same procedure as IRQ groups Polling Interrupts When NMI interrupt occurrs at NMI interrupt service routine users must poll the INTE0 INTMUTE bit in the NMIPO...

Страница 20: ...0 INTRX0 INTNAK0 INTSTOP0 RW 001A IEIRQ1 00H INTS1 INTA1 INTTX1 INTRX1 INTNAK1 INTSTOP1 RW 001B IEIRQ2 00H INTADC INTV INTE1 INTMR RW Control Registers for Polling Read Clearing Write Interrupt Reques...

Страница 21: ...AC12 respectively If ENDK7 ENDK12 is set to LOW in ENDAC register P00 P05 will act as DAC7 DAC12 respectively Figure 12 2 After the chip is reset ENDK7 ENDK12 will be in the HIGH state and P00 P05s wi...

Страница 22: ...unction in the H V sync processor paragraph After the chip is reset the ENHALF bits will be in HIGH state and P12 P13 will act as I O pins P14 is shared with output pin of self test pattern If users c...

Страница 23: ...4 PORT3 P30 P31 PORT3 is an 2 bit bi directional open drain I O port Figure 12 6 Each pin of PORT3 may be bit programmed as an input or output port with open drain structure When PORT3 works as output...

Страница 24: ...3 sets of free running signals and special output of test pattern at burn in process when activating the free running output function The NT6862 can properly handle either composite or separate sync...

Страница 25: ...H Sync Output Control FREE_RUN Control VSYNC INPUT HSYNC INPUT HSYNCO 0 1 1 0 VSYNCO HCNTL HCNTH Digital Filter VCNTL VCNTH S C V 0 1 V Jitter Filter Schmitt Trigger Digital Filter Schmitt Trigger H s...

Страница 26: ...wo other options of interval for user counting the frequency of Hsync pulses If users clear the ENHSEL and set the HSEL bits properly this internal counter counts the Hsync pulses during this system d...

Страница 27: ...HSYNCI 2 HSYNCI Composite H sync waveform H OR V 2 s Hsync pulse or no pulse the output signal of Hsync will be inserted HSYNCO Inserted Hsync Pulse VSYNCO Original Hsync Pulse Original Hsync Pulse W...

Страница 28: ...q or 12 bits data time interval 16 382 or 32 968 ms 3 Its reciprocal is Hsync time duration 1 Extract VCNTL H 14 bit data 2 14 bits data 8 us Vsync time duration 3 Its reciprocal is Vsync freq Set S C...

Страница 29: ...SEN bit in the SYNCON control register to activate this function After reset S C INSEN bits default value is HIGH and clear the VCNT HCNT counter latches to zero Sync output In pin assignment VSYNCO H...

Страница 30: ...Hsync counter Users can enable HDIFF comparison by clearing ENHDIFF bit and then preload an difference value to HDIFF0 3 bits in the AUTOMUTE control register 000E The system will latch the new value...

Страница 31: ...NT6862 5xxxx 31 1 2 Figure 13 8 Two Types of Testing Pattern Back Porch Back Porch Front Porch Front Porch 64 s VSYNC HSYNC 1 s Video Video Figure 13 9 The Porch of Free Running Self Test Pattern...

Страница 32: ...3 Bit2 Bit1 Bit0 R W Control Registers for Synprocessor FFH INSEN HSEL S C R 0006 SYNCON FFH INSEN ENHSEL HSEL S C W FFH HSYNCI VSYNCI HPOLI VPOLI HPOLO VPOLO R 0007 HV CON FFH ENHOUT ENVOUT HPOLO VPO...

Страница 33: ...it can be preloaded with a value by writing a value to the BT register write only at any time and then the BT will start to count up from this preloaded value When the BT s value reaches FFH it will...

Страница 34: ...ne which users can not access directly These two data buffer cooperate properly For the timing diagram please refer to Figure 15 1 After system resets the I2 C bus interface is in DDC1 mode Data trans...

Страница 35: ...RTX1 CLRRX1 CLRNAK1 CLRSTOP1 W Control Register for DDC1 2B of Channel 0 0021 CH0ADDR A0H ADR7 ADR6 ADR5 ADR4 ADR3 ADR2 ADR1 W 0022 CH0TXDAT 00H TX7 TX6 TX5 TX4 TX3 TX2 TX1 TX0 W 0023 CH0RXDAT 00H RX7...

Страница 36: ...le address Automatic wait state insertion Interrupt generation for status control Detection of START and STOP signals The DDC2B will be activated as SLAVE mode initially Users can switch to MASTER mod...

Страница 37: ...37 8 7 6 5 1 8 7 ACK 5 4 3 1 8 6 2 7 1 7 SCL 8 9 1 7 8 9 1 7 8 9 SDA START CONDITION STOP CONDITION ADDRESS R W ACK DATA ACK DATA ACK 4 IIDAT Reg bit stream MSB MSB MSB LSB LSB ACK Figure 15 2 DDC2B D...

Страница 38: ...R W b WRITE Mode Timing Diagram a WRITE Mode Data Format DATA 0 A Data transferred from external device From external device to NT6862 From NT6862 to external device A Acknowledge S START P STOP Addre...

Страница 39: ...m a Read Mode Data Format From external device to NT6862 From NT6862 to external device A Acknowledge A No acknowledge S START P STOP A A 1 wait DATA A Data transferred from NT6862 NT68P62 Address S R...

Страница 40: ...th bit R W that indicates data transfer direction When the NT6862 system receives an address data from an external device it will store it in the CH0RXDAT register The system supports A0 default addre...

Страница 41: ...n of SCL transmission clock External device can continue sending next byte data to NT6862 The timing diagram refers to Figure 15 3 User must responde a NAK signal in advance to stop the transmission T...

Страница 42: ...1 Mode MD_CON 1 Other INT Service yes No Need Polling INTV No INTRX yes yes Read One Byte Data From CH0RXDAT Reg No Put FF Into CH0TXDAT Reg release SDA line yes No Need Polling INTRX Open INTTX INTNA...

Страница 43: ...is one byte data received and user can read out by accessing CH0RXDAT control register At the same time if the user responded an ACK signal beforehand the shift register will send out an ACK bit low...

Страница 44: ...DDC2B MASTER READ Mode Timiing wait DATA 1 2 3 4 5 6 7 8 A If user read out first byte data from RXDAT buffer system will respond ACK NAK or REPeat START Before user reads out this byte data from RXD...

Страница 45: ...inate this communication he can set MODE 1 to send out STOP condition or clear RSTART 0 to send out REPEAT START System will wait if user didn t send out the first byte data As user loaded one byte da...

Страница 46: ...1 INTA1 INTTX1 INTRX1 INTNAK1 INTSTOP1 R 001D IRQ1 00H CLRS1 CLRA1 CLRTX1 CLRRX1 CLRNAK1 CLRSTOP1 W INTADC INTV INTE1 INTMR R 001E IRQ2 00H CLRADC CLRV CLRE1 CLRMR W Control Register for DDC1 2B of Ch...

Страница 47: ...Flag No Yes No Yes ENDDC 0 Send NO_ACK Set Last Byte Flag MODE 0 Send Address Open INTTX INTNAK ENDDC 0 Send Address Send Repeat Start Set Last Byte Flag Open INTTX INTNAK ENDDC 0 No Just Recv One By...

Страница 48: ...TOP yes No Need Polling INTNAK No INTTX Yes Yes No Yes No Need Polling INTTX Last byte Trans Send repeat start Trans over close INT interrupt send repeat start Yes No Figure 15 11 Master Mode INT Oper...

Страница 49: ...2 5 KHz A D Converter Channel 2 channels 4 channels 6 bit resolution V Counter Bit No 12 Bits handle Vsync freq down to 30 5Hz 14 Bits handle Vsync freq down to 7 6Hz H Interval 8 192 ms 16 384 32 768...

Страница 50: ...1 P30 P31 pins VjitterH Input Jitter Low Voltage 1 6 2 0 V HSYNCI VjitterL Input Jitter High Voltage 1 0 1 4 V HSYNCI IIH Input High Current 200 350 A P00 P07 P10 P16 P20 P27 P40 P41 VSYNCI HSYNCI HAL...

Страница 51: ...NT6862 5xxxx 51 HSYNCI VSYNCI HALFI VjitterH 1 8V VjitterL 1 2V VIL 0 8V VIH 2 2V t V HSI HSO...

Страница 52: ...ay Refer Figure 13 5 tRESET Reset Pulse Width Low 2 tCYCLE tCYCLE 2 Fsys Fvsync Vsync Input Frequency 25K Hz tVSYNC 1 Fvsync tVPW Vsync Input Pulse Width 8 2000 s Fhsync Hsync Input Frequency 120 KHz...

Страница 53: ...Vsync High Time 0 50 2000 s Fvsync Vsync Input Frequency 32 25K Hz tVSYNC 1 Fvsync tDD Data Valid 200 500 ns tMODE Time for Transition to DDC2B Mode 500 ns Bit 0 Null Bit Bit 7 Bit 6 SCL SDA VSYNC tMO...

Страница 54: ...SCL Clock 1 3 s tHIGH HIGH Period of The SCL Clock 0 8 s tSU STA Set up Time for a Repeated START Condition 1 3 s tHD DAT Data Hold Time 200 ns tSU DAT Data Set up Time 300 ns tR Rise Time of Both SD...

Страница 55: ...NT6862 5xxxx 55 Ordering Information Part No Packages NT6862 40L P DIP NT6862U 42L S DIP...

Страница 56: ...25 B 0 018 0 004 0 46 0 10 0 002 0 05 B1 0 050 0 004 1 27 0 10 0 002 0 05 C 0 010 0 004 0 25 0 10 0 002 0 05 D 2 055 Typ 2 075 Max 52 20 Typ 52 71 Max E 0 600 0 010 15 24 0 25 E1 0 550 Typ 0 562 Max...

Страница 57: ...b 0 051 Max 1 3 Max 0 031 Min 0 8 Min b1 0 021 Max 0 53 Max 0 016 Min 0 40 Min c 0 013 Max 0 32 Max 0 010 Min 0 23 Min D 1 1 531 Max 38 9 Max 1 512 Min 38 4 Min E 1 0 551 Max 14 0 Max 0 539 Min 13 7 M...

Отзывы: