Avago HDJD-JD01 User guide

Type
User guide

This manual is also suitable for

Introduction
Thank you for purchasing the J822 Development Kit from Avago Technologies. The J822 Kit is a simple
development board, which demonstrates the capabilities of the 24-pin HDJD-J822 color management
controller device.
The development kit can be used stand-alone with a programmed system controller on-board, connect to
another controller system (using I
2
C interface) or connect direct to an IBM-PC computer (using parallel port).
Sample programs are provided to demonstrate the unique features of the device.
The J822 Development Kit comes with the following:
J822 Development Board (Figure 1-1)
Sample Device
CD-ROM, which contains:
- J822 Development Kit Hardware User Guide
- Development Kit Backlight System Design Guide
- ICM Program User Guide
- Sample System Controller Program Guide
- Application Notes
- Datasheets
- Sample System Controller Program Codes
If you are missing any part of the kit, please contact your nearest Avago Technologies sales office listed in
the back of this publication for help.
J822
Development Kit
Hardware User Guide
2
J822 DEVELOPMENT BOARD
The J822 development board has the following hardware features:
1. 24-pin SOIC packaged HDJD-J822 device
2. 28-pin DIP packaged PIC18F252 device
3. Onboard +5V switching regulator for direct input from 12V 1000mA AC/DC wall adaptor
4. 25-way parallel port and associated hardware for direct connection to a parallel port interface
5. In-Circuit Serial Programming (ICSP) connector for programming onboard system controller
6. Four push button switches for selecting 4 different set of white color temperature point or as
external stimulus
7. Two push button connected to HDJD-J822 brightness and color setting pin
8. 10-way DIP switch for setting various control pins of HDJD-J822 device
9. 6-way DIP switch for individual RGB gain control of the onboard color sensor
10. External I/O connector that port various control pins of HDJD-J822 device externally
11. PWM output connector that connects to external LED driver card
12. External I
2
C connector for interfacing to external controller board
13. 1K (128 x 8) Serial I
2
C EEPROM
14. Color RGB sensor connector
15. 3.5 inch lightguide panel with 8 RGB (Red-Green-Blue) Side-firing LED as light source
16. 10 MHz crystal oscillator for PIC18F252 system controller clock operation
17. Onboard RC oscillator for HDJD-J822 color management controller
18. LX1991 LED driver to drive the 8 RGB LEDs
19. Prototype area for user hardware
20. RGB color sensor
Figure 1. J822 Development Board Hardware
15
20
19
18
9
17
14
10
11
12
3
4
19
1
8
2
5
7
6
16
13
3
SAMPLE PROGRAMS
The J822 Development Kit includes a CD-ROM with sample demonstration system controller program.
This program can be used with the included HDJD-J822 color management controller and PIC18F252
microcontroller. Demo source code and compiled code (one Hex file) are provided.
J822 DEVELOPMENT KIT HARDWARE USER GUIDE
This guide describes the J822 Development Board, including hardware component layout and schematic.
Tutorial and demonstration software user guide may be found in the kit programming code example
document, which are included in the CD-ROM. Detailed information on HDJD-J822 color management
controller and the onboard PIC18F252 system controller can be found in the device’s respective data
sheet.
Chapter 1 : Introduction - This chapter introduces the J822 Development Kit and provides a brief
description of the hardware.
Chapter 2 : Hardware Description – This chapter decribes in detail the hardware of the
J822 Development Board.
REFERENCE DOCUMENTS
Reference documents listed below are included in the CD-ROM.
Individual Technical Data Sheets and Reference Manuals:
- Avago HDJD-J822 color management controller
- Avago HDJD-S822/S722 RGB color sensor
- Microchip PIC18Fxx2 system controller
- STMicroelectronics 1k-bit/8 Serial I
2
C EEPROM
- Microsemi LX1991 LED driver
Application Notes
Application Brief
Application Example
Development Kit Backlight System Design Guide
ICM Program User Guide
Development Kit Program Code-Example
4
Hardware Detail
The J822 Development Kit hardware is extremely simple and is intended to illustrate the ease of use of
the Color Management Controller. The development board features the following hardware elements:
COLOR MANAGEMENT CONTROLLER AND SYSTEM CONTROLLER
The board is incorporated with two processors, one is the HDJD-J822 color management controller and
the other is the Microchip PIC18F252 system controller.
DISPLAY
Eight Side-Emitting RGB Light Emitting Diodes (LED) are connected to emit colored light to a 3.5 inch
lightguide. This lightguide has micro-dot printed on the bottom side which lights up the whole lightguide,
causing it to glow in color (depending on what color setting is input to the color management controller.
One green LED is provided to determine whether there is power to the development board (LED on) or
not (LED off).
POWER SUPPLY
The development board has a switching regulator that will step-down the 12V input to provide +5V
supply needed to power up all the components onboard plus driving the eight LEDs. An external 12V,
1000mA or more unregulated DC supply can be plugged into J1.
Note: The J822 Development Kit does not include a power supply.
PARALLEL PORT
A parallel port interface is provided for easy interfacing with an IBM-PC computer. The port is used to
emulate I
2
C communication using software to perform the communication translation job. Since no
special hardware is needed on the parallel port side, hence normal 25-way to 25-way parallel port cable
can be used to hook up the board with the computer.
On the IBM-PC computer side, the BIOS -> Onboard Peripheral -> Parallel Port setting must be set to
Output-Only or Standard mode, before you can run the demonstration PC software (included in the
CD-ROM).
LED DRIVER
LX1991 LED drivers (U5-U10), from Microsemi, are included on the board to illustrate a typical LED
driving method. User can choose to use their own LED driver circuit to drive their LEDs through the use
PWM output pins on the external input-output connector.
The data sheet of this LX1991 LED driver is included in the CD-ROM for user reference.
5
SWITCHES
Seven switches provide the following functions:
PB1 – Active-high switch connected to Pin 9 (COLOR) of HDJD-J822
PB2 – Active-high switch connected to Pin 10 (BRIGHT) of HDJD-J822
PB3 – MCLR to hard reset the PIC18F252 system controller
PB4 – Active-high switch connected to Pin 4 (RA2) of PIC18F252 system controller
PB5 – Active-high switch connected to Pin 5 (RA3) of PIC18F252 system controller
PB6 – Active-high switch connected to Pin 6 (RA4) of PIC18F252 microcontroller
PB7 – Active-high switch connected to Pin 7 (RA5) of PIC18F252 microcontroller
* By default, 4 different color points will be programmed for PB4-7 for quick demonstration
purpose.
When pressed, the switches are pulled high (+5V) (except for PB3, which is grounded). When idle, they
are grounded (except for PB3, which is pulled high +5V).
SENSOR INPUT
For J822 Development Board, it supports RGB color sensor input. A 3-pin header is provided for this
purpose. Besides that, the development board also included a RGB color sensor module, located on top of
the display panel, for feedback color management demonstration. HDJD-S822 color sensor is used on the
development board.
The S2 DIP switch is used to set the gain of the individual R,G and B channel of the color sensor used on
the development board. Each channel gain is selectable through a 2-bit gain selector.
S2-1 – Green Gain-1
S2-2 – Red Gain-1
S2-3 – Green Gain-0
S2-4 – Red Gain-0
S2-5 – Blue Gain-1
S2-6 – Blue Gain-0
For user information, this S2 gain switch is sensor dependent. Different sensor has different gain setup.
The data sheet for this sensor is included in the CD-ROM for your reference.
SERIAL EEPROM
A M24C01 1K (128 x 8) serial EEPROM, from STMicroelectronics, is included on the board to illustrate
I
2
C bus concepts and to store HDJD-J822 calibration data.
6
IN-CIRCUIT SERIAL PROGRAMMING (ICSP) CONNECTOR
By way of the header connector (CON1), the PIC18F252 system controller can be connected for onboard
reprogramming. The ICSP connector utilizes RB6 and RB7 of the system controller for in-circuit serial
programming. This connector is compatible with Microchip Promate 2 programmer, which support ICSP
interface.
ADC INPUT LOW-PASS FILTER
Since the LEDs are controlled by pulse width modulation output from the HDJD-J822, the sensor output
will also be pulse width modulated. Each sensor channel needs to be averaged by passing the sensor
output voltage through a low pass filter. On the board, this low pass filter is realized through a RC low-
pass filter (R11/C5, R12/C7 and R13/C8).
Further explanation on the resistor and capacitor selection is documented in the application note, which
is included in the CD-ROM.
OSCILLATOR OPTIONS
There are two oscillator onboard the development kit. One is for the HDJD-J822 color management
controller and the other is for the PIC18F252 system controller. For HDJD-J822, an RC oscillator
(2.5 MHz approximately) is supplied. The operating frequency of HDJD-J822 can be changed by changing
the ROSC resistor value (R2).
For PIC18F252 system controller, a crystal oscillator (10 MHz) is supplied. If user would like to operate
the onboard system controller at different frequency, this crystal oscillator (Y1) can be changed to other
value.
EXTERNAL INPUT-OUTPUT CONNECTOR
Most of the HDJD-J822 color management controller and HDJD-S722 color sensor pins are mappable on
the external input-output connector. These pins include:
•PWM output R/G/B (PWM R/G/B)
•I
2
C SDA (SDA)
•I
2
C SCL (SCL)
Error flag (ERR-FLAG)
Bright control (BRIGHT)
Color control (COLOR)
Clock selector (CLK_SEL)
•I
2
C address A0 (A0)
•I
2
C address A1 (A1)
Sleep trigger (SLEEP)
Clock reference (CLKREF)
External ADC voltage reference (VREF)
Color sensor input R/G/B (BLUE/GREEN/RED)
5V/+5V supply pin (5V/+5V)
AGND/DGND ground pin (AGND/DGND)
7
BOARD LAYOUT AND SCHEMATICS
The following figures show the parts layout (silkscreen) and schematics for the J822 Development board.
Figure 2. J822 Development Board Parts Layout
GREEN
RED
GSGRN1
GSRED1
VDD3
GSGRN0
AGND
+5V
GSRED0
GSBLUE1
BLUE
GSBLUE0
LED1 LED2 LED3 LED4 LED5 LED6 LED7 LED8
R2
68k
S2
GSGRN1
GSRED1
GSGRN0
GSRED0
GSBLUE1
GSBLUE0
U5 U6
R22
U7 U8
U9 U10
R24
R23
R26
R27
1991 1991
1991
1991
1991
1991
R25
C13
5V+5VAGNDDGND
RED
GREEN
BLUE
VREF
CLKREF
SLEEP
A1
A0
CLK_SEL
COLOR
BRIGHT
ERR_FLAG
SCL
SDA
PWM B
PWM G
PWM R
A1
D2
C2 P1
L1
D1
U2
C1
T1
PWR
D4
C8 C7 C6
+++
+
C3
C5
U3
U4
C9
PB3
R14
R15
D3
CON2
R1
R11
R12
R13
R3 R4 R5 R6 R7 R8 R9R10
S1
C10
Y1C11C12
C4
U1
CON1
PGD
5V
PGC
DGND
VPP
PB1 PB2 PB4 PB5 PB6 PB7
R16
R17
COLOR BRIGHT
R18
R19
R20
R21
SLEEP
A1
A0
CLK_SEL
COLOR
BRIGHT
CLK_EXT
VREF_EXT
ROSC
NC
Agilent Technologies
J822 DEVELOPMENT KIT
Figure 3. J822 Development Board Schematic
A0
A1
U1
1
2
3
4
8
5 V
C4
0.1 µF
SCL
SDA
7
6
5
A2
VSS
VDD
WP
SCL
SDA
M24C01
PWM_R
PWMR
5 V
5 V
5 V
+5 V
5 V
5 V
5 V
+5 V
4
3
2
1
D4
GRN
C2
330 µF
C6
1µF 10V
+
+
+
C3
0.1 µF
C7
1µF 10V
C8
1µF 10V
R3
10k
L1
330 µH
D2
1N5819M/CYL
R1
680R
2
4121
1
2
TB
9V - 12 V
D1 U2 LM2575
Adaptor PCB Header
1N4001
35
FB
OUTPUT
ON/OFF
GND
VSS
VSS
19
VDD
20
8
V IN
2
C1
100 µF
T1
DC_FILTER
D3
1N4001
C9
0.1 µF
R15
33 K
5 V
C10
0.1 µF
5 V
5 V
1
2
CON1
5 V
3
4
5
PGD
VCC
PGC
GND
VPP
PGD
ICSPCON
PGC
VPP
PWM_B
PWMB
PWM_G
PWMG
BLUE
BLUE
RED
RED
GREEN
GREEN
SDA
SDA
SCL
SCL
+5 V
+5 V
+5 V
5 V
5 V
5 V
AGND
AGND
AGND
DGND
DGND
DGND
ERROR
ER_FLAG
COLOR
COLOR
BRIGHT
BRIGHT
SLEEP
SLEEP
VREF
VREF
CLKREF
CLKREF
A0
A0
A0
A1
CLK_SEL
CLK_SEL
VDD
16
13
R22
1.5 k
11
ENABLE
1
DIG_DIM
15
CSLOPE
ISET+
ISET–
3 LED1-R
SINK1
4 LED2-R
SINK2
6 LED3-R
SINK3
7 LED4-R
SINK4
8
SINK5
10
SINK6
5
GND
9
GND
U5
LX1991
2
VDD
16
13
R23
1.5 k
11
ENABLE
1
DIG_DIM
15
CSLOPE
ISET+
ISET–
3 LED5-R
SINK1
4 LED6-R
SINK2
6 LED7-R
SINK3
7 LED8-R
SINK4
8
SINK5
10
SINK6
5
GND
9
GND
U6
LX1991
2
VDD
16
13
R24
1.5 k
11
ENABLE
1
DIG_DIM
15
CSLOPE
ISET+
ISET–
3 LED1-G
SINK1
4 LED2-G
SINK2
6 LED3-G
SINK3
7 LED4-G
SINK4
8
SINK5
10
SINK6
5
GND
9
GND
U7
LX1991
1
XRST
24
AVDD PMW_B
6
SDA
7
SCL
17
ERR_FLAG
2
SLEEP
SDA
SCL
ERROR
SLEEP
4
A1
5
A0
3
CLK_SEL
9
COLOR
10
BRIGHT
11
CLK_EXT
20
VREF_EXT
19
ROSC
DVDD
12
PMW_G
16
15
14
SENSE_Z
21
SENSE_Y
22
GREEN
R12
68k 1%
SENSE_X
AVSS
TEST
DVSS
23
8
13
PMW_R
PWM_R
PWM_G
PWM_B
11
12
13
14
15
16
17
18
19
20
9
10
8
7
6
5
VREF
CLKREF
COLOR
BRIGHT
PB2 PB1
4
3
2
1
1
18
U3
HDSM-J822 (JAZZ)
U4
PIC18F252 (PDIP)
RC4/SDI/SDA
RC5/SDO
S1
SW DIP-10
13
16
15 SDA
RC6/TX/CK
17
RC7/RX/DT
18
RC3/SCK/SCL
14
RC2/CCP1
13
RC1/T1OSI/CCP2
12
RC0/T1OSO/T1CKI
11
CON2
PARALLEL PORT
2
VDD
16
13
R25
1.5 k
11
ENABLE
1
DIG_DIM
15
CSLOPE
ISET+
ISET–
3 LED5-G
SINK1
4 LED6-G
SINK2
6 LED7-G
SINK3
7 LED8-G
SINK4
8
SINK5
10
SINK6
5
GND
9
GND
U8
LX1991
2
VDD
16
13
R26
1.5 k
11
ENABLE
1
DIG_DIM
15
CSLOPE
ISET+
ISET–
3 LED1-B
SINK1
4 LED2-B
SINK2
6 LED3-B
SINK3
7 LED4-B
SINK4
8
SINK5
10
SINK6
5
GND
9
GND
U9
LX1991
2
VDD
16
13
R27
1.5 k
11
ENABLE
1
DIG_DIM
15
CSLOPE
ISET+
ISET–
3 LED5-B
SINK1
4 LED6-B
SINK2
6 LED7-B
SINK3
7 LED8-B
SINK4
8
SINK5
10
SINK6
5
GND
9
GND
U10
LX1991
LED1
A
LED1-R RK
LED1-G GK
RAT-2
LED1-B BK
LED2
A
LED2-R RK
LED2-G GK
RAT-2
LED2-B BK
LED3
A
LED3-R RK
LED3-G GK
RAT-2
LED3-B BK
LED4
A
LED4-R RK
LED4-G GK
RAT-2
LED4-B BK
LED5
A
LED5-R RK
LED5-G GK
RAT-2
LED5-B BK
LED6
A
LED6-R RK
LED6-G GK
RAT-2
LED6-B BK
LED7
A
LED7-R RK
LED7-G GK
RAT-2
LED7-B BK
LED8
A
LED8-R RK
LED8-G GK
RAT-2
LED8-B BK
BLUE
R11
68k 1%
C5
0.1 µF
RED
VPP
SDA
MCLR/VPP
1
OSC1/CLKI
9
10 MHz Y1
OSC2/CLKO/RA6
10
R14
10k
R13
68k 1%
R17
3k3
SCL
PGD
PGC
SLEEP
R16
3k3
C13
2.2 µF
7
8
9
10
11
12
VDD3
6
5
4
3
2
1
1
S2
SW-DIP6
PB7
GSBLUE0
GSBLUE0
BLUE
GSBLUE1
GSRED0
VDD3
GSGRN1
+5 V
BLUE
*THIS IS FOR SENSOR BOARD FITTING
GSBLUE1
GSRED0
+5 V
12
25
11
24
10
23
9
22
8
21
7
20
6
19
5
18
4
17
SCL
3
16
2
15
1
14
AGND
AGND
GSGRN0
GSRED1
GSGRN0
RED
GREEN
GREEN
RED
GSRED1
GSGRN1
PB6
PB5
PB4
R2
68k
R4
10k
R5
10k
R6
10k
R7
10k
R8
10k
R9
10k
R10
10k
P1
PDA FRAME
R18
10k
R19
10k
R20
10k
R21
10k
C11
22 pF
C12
22 pF
RB7/PGD
RB6/PGC
27
28
RB5/PGM
26
RB4
25
RB3/CCP2
24
RB2/INT2
23
RB1/INT1
22
RB0/INT0
21
RA5/AN4/SS/LVDIN
7
RA4/T0CKI
6
RA3/AN3/VREF+
5
RA2/AN2/VREF-
4
RA1/AN1
3
RA0/AN0
2
8
For product information and a complete list of distributors, please go to our website: www.avagotech.com
Avago, Avago Technologies, and the A logo are trademarks of Avago Technologies Limited in the United States and other countries.
Data subject to change. Copyright © 2006 Avago Technologies Pte. All rights reserved.
5989-1598EN July 8, 2006
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9

Avago HDJD-JD01 User guide

Type
User guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI