NEC EV-K0-HCD Instructions for use

Hardware User’s Manual
EV-K0-HCD Evaluation Kit
©May 2008. NEC Electronics America, Inc.
Printed in USA. All rights reserved.
Document no. 51069

EV-K0-HCD Evaluation Kit User’s Manual
Contents
1. Introduction ....................................................................................................................................1
1.1 Contents.........................................................................................................................................................1
1.2 Features.........................................................................................................................................................1
2. Hardware..........................................................................................................................................3
2.1 Power Supply...............................................................................................................................................4
2.2 LED Drivers...................................................................................................................................................4
2.3 On-board LUXEON Rebel LEDs............................................................................................................4
2.4 Future Lighting Solutions LED Board...................................................................................................5
2.5 LED Light Engine Connectors.................................................................................................................5
2.6 RS-485/DMX-512 Interface .....................................................................................................................6
2.7 RS-232 Interface.........................................................................................................................................7
2.8 Expansion IO Connector...........................................................................................................................7
2.9 USB Programming and Debugging Interface.....................................................................................7
2.10 Temperature Sensor.................................................................................................................................. 7
2.11 Ambient Light Sensor ................................................................................................................................8
2.12 DIP Switch.....................................................................................................................................................8
2.13 Reset Switch................................................................................................................................................. 8
3. Software ...........................................................................................................................................9
Appendix A. Schematics........................................................................................................... 10
Appendix B. Bill of Materials..................................................................................................... 12
Appendix C. Board Assembly .................................................................................................. 14
Appendix D. Board Layout........................................................................................................ 15
ii

EV-K0-HCD Evaluation Kit User’s Manual
1. INTRODUCTION
The EV-K0-HCD evaluation kit for NEC Electronics’ highly integrated, general-purpose µPD78F8024
microcontroller (MCU) with high-current drive allows you to demonstrate the MCU’s capabilities and
easily develop intelligent code for emerging high-power LED lighting applications. Compact yet flexible
and functionally versatile, the board can be used to drive four channels of single or multiple high-power
LEDs in any of three different configurations:
•With the on-board LUXEON®Rebel™LEDs
•Using LED boards from Future Lighting Solutions
•Using off-the-shelf LED lighting engines such as the Dialight linear engine
The board also can be used to control and dim individual LED channels by means of analog and digital
sensor inputs, such as temperature, light and color. Various serial communication protocols are
supported by this board, including I
2
C, SPI, RS-232, and RS-485/DMX-512. Users can program,
change, and debug code easily and free of charge using the on-board USB programming and
debugging interface (available June 2008).
1.1 Contents
•EV-K0-HCD board
•12 V
DC
power supply
•USB cable
•DB9 cable
•One set of plastic stands and screws
•CD-ROM with Applilet EZ software and an evaluation copy of the CA78K0 compiler/
assembler with 32 KB code size limit
1.2 Features
•NEC Electronics µPD78F8024 high-current-drive (HCD)/LED MCU
•NEC Electronics µPA2756 dual N-channel MOSFETs
•Four channels of constant high-current LED drivers
⎯Buck topology
⎯Up to 700 mA per channel
⎯Supply voltage from 10 to 24 V
DC
•On-board LUXEON Rebel LEDs (red/green/blue/white)
•Four Future Lighting Solutions LED board connectors
•Four LED light engine connectors
•USB programming and debugging interface
•RS-232 interface
•RS-485/DMX-512 interface
1

EV-K0-HCD Evaluation Kit User’s Manual
•Expansion IO connector
•On-board temperature sensor
•On-board ambient light sensor
•DIP switch for board configurations
•Reset switch for uPD78F8024 device reset
2

EV-K0-HCD Evaluation Kit User’s Manual
2. HARDWARE
The EV-K0-HCD board measures 3.15 × 3.15 inches or 80 × 80 millimeters (mm). This small form
factor is enabled by the use of components such as inductors that are small in size thanks to the
µPD78F8024 MCU’s constant-current drives with high switching frequency.
The board is designed with four layers. The top layer contains most of the components, the first middle
layer serves as the power plane, the second middle layer adds additional space for traces, and the
bottom layer serves as the ground plane and assembly for the temperature sensor and high-power
LEDs.
The heat generated by the LEDs is dissipated through the pads and vias surrounding the LEDs, and
LED temperature is sensed by the temperature sensor mounted on top of the dissipation pad.
Figure 1. EV-K0-HCD Board (Top View)
Figure 2. EV-K0-HCD Board (Bottom View)
3

EV-K0-HCD Evaluation Kit User’s Manual
2.1 Power Supply
The EV-K0-HCD board requires a 10 to 24 V
DC
power supply with output wattage of at least 5 watts
(W) to light the high-power LEDs. The barrel-type power jack mounted on the board accepts a 2.1 mm
center pole connector (center positive).
2.2 LED Drivers
The board’s four-channel LED drivers are set in buck topology for 350 milliamps (mA) of constant
output current. However, you can increase output current up to 700 mA by changing the current
sensor’s resistor values using the following formula (refer to R1, R2, R3 and R4 in the schematics).
Please note that you need to change the inductors (refer to L1, L2, L3 and L4 in the schematics)
current rating accordingly if you wish to drive at more than 350mA.
R
S
= 0.115 / I
LED
(Formula 1)
Where R
S
= current sensor’s resistor value and I
LED
= LED current. When driving the LEDs at 350 mA,
the current sensor’s resistor value should be set to 0.33 ohm (Ω).
The number of LEDs that can be used in series per channel is determined by the supply voltage and
the LED forward voltage using this formula:
N
MAX
≤V
IN
/ V
F
(Formula 2)
Where V
IN
= supply voltage, V
F
= LED forward voltage current, and N
MAX
= maximum number of LEDs
in series per channel.
Generally, the sum of LED forward voltages must be less than the supply voltage for buck mode
operation. For a 24V power supply, for example, a maximum of six LEDs with 3.5V forward voltage
may be used in series per channel.
LED driver outputs can be connected in one of three configurations:
•To the on-board
LUXEON Rebel
high-power LEDs
•To LED boards with LUXEON
K2 high-power LEDs from Future Lighting Solutions
•To LED light engines
2.3 On-board
LUXEON Rebel
LEDs
There are four LUXEON Rebel high-power LEDs mounted on the back of the EV-K0-HCD board, one
red (R), one green (G), one blue (B) and one white (W). By default, the board is set to drive the LEDs
4

EV-K0-HCD Evaluation Kit User’s Manual
with jumper wires inserted into the four Tyco six-position receptacle connectors (refer to J1, J2, J3 and
J4 in the schematics).
Figure 1. Driving the On-board LEDs
2.4 Future Lighting Solutions LED Board
The EV-K0-HCD board can connect and drive LED boards from Future Lighting Solutions. To do so,
you must first remove the jumper wires inserted into the four Tyco receptacle connectors (J1, J2, J3
and J4) before installing the LED boards. You can then cascade multiple LED boards in one channel
as long as the number of LEDs meets the requirement specified by Formula 2.
Figure 2. Driving Future Lighting Solutions LED Boards
2.5 LED Light Engine Connector
The EV-K0-HCD board has four LED light engine connectors (refer to J5, J6, J7 and J8 in the
schematics) to the 4-pin terminal block. The following table describes the function of each pin.
Table 1
Light Engine Connectors
.
LED
Pin Number 1 2 3 4
Function Analog input Ground LED anode LED cathode
5

EV-K0-HCD Evaluation Kit User’s Manual
They can be used to drive up to four off-the-shelf LED light engines, for example, the POWERWHITE™
linear light engine modules from Dialight. Before installing the modules, you must first remove the
jumper wires inserted at the four Tyco receptacle connectors (J1, J2, J3 and J4).
There are six LUXEON Rebel high-power LEDs in series in one POWERWHITE light engine module.
Therefore the power supply must be 24 V
DC
to meet the requirement specified by Formula 2.
The analog inputs (pin 1 & 2) on the connectors are mainly for connecting to off-board thermister on
the light engine module but can be used for any analog inputs, such as potentiometer, light sensors,
etc. Please not that each analog input is biased with a 10kohm resistor (refer to R11, R12, R13 and
R14).
Figure 3. Driving the Dialight Light Engines
2.6 RS-485/DMX-512 Interface
The EV-K0-HCD board supports DMX-512 protocol over RS-485 using the MCU’s UART0 port. The
RS-485/DMX-512 connector is a 3-pin terminal block connector that accepts up to 24 American Wire
Gauge (AWG) wires.
Table 2
485/DMX-512 Connectors
.
RS-
Pin Number 1 2 3
Function Ground D- D+
The µPD78F8024 MCU’s UART0 port is shared between the RS-485 and RS-232 connectors through
a Maxim level shifter (refer to U7 in the schematics). By default, the RS-485 connector is enabled and
the RS-232 one is disabled.
If required, an on-board 110Ωresistor can be inserted between D+ and D- of the RS-485/DMX-512
port as a terminating resistor. By default, the resistor is disconnected. To connect it, insert a jumper
into the JMP1 header (refer to JMP1 in the schematics).
6

EV-K0-HCD Evaluation Kit User’s Manual
2.7 RS-232 Interface
A DB9 male connector is used for the RS-232 interface. By default, RS-232 function is disabled. To
enable it, place DIP switch (refer to SW1 in the schematics) position 4 in the “ON” position.
Table 3
232 Connector
.
RS-
Pin Number(s) 2 3 5 1, 4, 6, 7, 8, 9
Function TX RX Ground Not Connected
2.8 Expansion IO Connector
A dual-row 10-pin header footprint in 2mm-pitch is available on the EV-K0-HCD board (refer to CN3 in
the schematics), the uPD78F8024 device’s UART0/CSI and I2C signals are pulled out on this
connector. The following table shows the pin out connections.
Table 4. Expansion IO Connector
Pin Number Pin Name Description
1 GND Ground
2 VDD Logic power supply
3 RX/SI UART0 RX signal / CSI data input signal
4 TX/SCK UART0 TX signal / CSI clock signal
5 SO CSI data output signal
6 IO P0.0 / Timer TM00 capture input
7 SCL I2C clock signal
8 SDA I2C data signal
9 GND Ground
10 VDD Analog voltage reference
The expansion IO connector pin outs are compatible with the NEC Electronics ZigBee sticks interface,
users can add ZigBee / 802.15.4 wireless capability to LED lighting applications.
2.9 USB Programming and Debugging Interface
The EV-K0-HCD evaluation board implements an on-board USB programming and debugging
interface using the NEC Electronics µPD78F0730 USB MCU. You can download code to the
µPD78F8024 HCD/LED MCU from a host computer via a mini-USB cable, and then proceed to debug
that code (the debug software will be available by June 2008).
2.10 Temperature Sensor
The EV-K0-HCD board populates a negative temperature coefficient (NTC) 10 kΩthermistor to sense
the temperature of the on-board LEDs. By default, the thermistor is disconnected from the
µPD78F8024 MCU’s A/D converter input. To connect to it, place DIP switch position 5 in the “ON”
position.
7

EV-K0-HCD Evaluation Kit User’s Manual
2.11 Ambient Light Sensor
The EV-K0-HCD board also populates a miniature surface-mount light sensor, part number APDS-
9005 from Avago Technologies, to sense the intensity of ambient light. By default, this sensor is
disconnected from the µPD78F8024 MCU’s A/D converter input. To connect to it, place DIP switch
(SW1) position 6 in the “ON” position.
2.12 DIP Switch
The EV-K0-HCD board uses a 6-position DIP switch (SW1) for configuration purposes. The following
table shows the various configuration options.
Table 5
rd Configuration Options
.
Boa
Setting
Switch No. OFF ON
SW1-1 USB programming mode Normal operation
SW1-2 Don't Care Self-flash programming mode
SW1-3 User-defined User-defined
SW1-4 RS-485 enabled / RS-232 disabled RS-232 enabled / RS-485 disabled
SW1-5 Temperature sensor disabled Temperature sensor enabled
SW1-6 Ambient light sensor disabled Ambient light sensor enabled
2.13 Reset Switch
The on-board reset switch (refer to SW2 in the schematics) can be used to reset the
µPD78F8024 MCU.
8

EV-K0-HCD Evaluation Kit User’s Manual
3. SOFTWARE
The EV-K0-HCD board is preprogrammed with a demonstration code that cyclically dims the
four on-board high-power LEDs.
You can also use the Applilet EZ software tool generate demonstration programs with
different dimming control patterns. Refer to the Applilet EZ Software User’s Manual and EV-
K0-HCD Hands-on Tutorial for more information.
9

EV-K0-HCD Evaluation Kit User’s Manual
Appendix A. Schematics
10

EV-K0-HCD Evaluation Kit User’s Manual
11

EV-K0-HCD Evaluation Kit User’s Manual
Appendix B. Bill of Materials
Name Manufacturer / Part # Qty. Description
U1 HCD/LED MCU NEC Electronics / µPD78F8024GK 1 64-pin LQFP
U2, U3 MOSFETs NEC Electronics / µPA2756GR 2 8-pin SOP, dual-N FET
U4 Voltage regulator TI / UA78M05CDCYR 1 SOT-223, 5V, 500 mA
U5 Light sensor Avago / APDS-9005-020 1 6-pin miniature SMD
U6 USB MCU NEC Electronics / µPD78F0730MC 1 30-pin SSOP
U7 RS-232/485 tcrv Maxim / MAX3161EAG+ 1 24-pin SSOP
Q1, Q2 MOSFETs NEC / 2SJ461 2 SC-59, PFET
D1, D2, D3, D4 Schottky diode ST / STPS140A 4 1A/40V, SMA footprint
D5 Schottky diode Diodes / B0520LW-7-F 1 500 mA, 0.385 Vf, SOD-123
R1, R2, R3, R4 Current sensor KOA / SR732BTTER332F 4 0.332Ω, 1/4W, 1206 SMD, 1%, 100 PPM
HP-LED1 High power LED Lumileds/ LXML-PD01-0040 1 LUXEON Rebel Red
HP-LED2 High power LED Lumileds / LXML-PM01-0050 1 LUXEON Rebel Green
HP-LED3 High power LED Lumileds / LXML-PB01-0023 1 LUXEON Rebel Blue
HP-LED4 High power LED Limileds / LXML-PWC1-0070 1 LUXEON Rebel White
L1, L2, L3, L4 Inductor TDK / SLF6028T-470MR59-PF 4 47 µH ±20%, 590 mA, 210mΩ, 6028 SMD
J1, J2, J3, J4 LED board connector Tyco / 5535676-5 4 6-position receptacle, 0.1" pitch dual dip
J5, J6, J7, J8 Light engine connector Phoenix Contact / 1727036 4 4 POS 3.8 1 MM PCB GRN
J9 Power Jack CUI / PJ-102A 1 2.1 mm barrel, internal switch
CN1 USB connector Hirose / UX60A-MB-5ST 1 Mini-USB, type B, 5-position SMD
CN2 RS-232 connector Tyco / 1734352-1 1 DB9-M, through-hole right angle
CN3 Expansion IO Hirose / DF11-10DS-2DSA(05) 1 2 × 5 , 2 mm pitch
CN4 RS-485 connector Phoenix Contact / 1727023 1 3POS 3.81MM PCB GRN
JMP1 Jumper 1 2POS 0.1" pitch
SW1 Tactile switch Omron / B3FS-1012 1 SMD
SW2 DIP switch Omron / A6H-6101 1 6-position, SMD, 1.27 mm pitch
Y1 Ceramic resonator Murata / CSTLS8M00G53-B0 1 8 MHz, radial
Y2 Crystal Citizen / HCM49 16.000MABJ-UT 1 HC-49 SMD, 16 MHz, ± 50 ppm, 18 pF
LED1 Indicator LED Dialight / 598-8070-107F 1 0603 SMD, green
SB0 Solder bridge 1 0805 footprint
12

EV-K0-HCD Evaluation Kit User’s Manual
Name Manufacturer / Part # Qty. Description
SB1, SB2, SB3 Solder bridge 3 0603 footprint
C21, C22 Capacitor Kemet / C0603C180J5GACTU 2 18 pF, 0603
C3, C24, C25 Capacitor Kemet / C0603C105K8PACTU 3 1 µF, 10V, 0603
C4, C5, C6, C7 Capacitor Kemet / C0603C221K5RACTU 4 220 pF, 50V, 0603
C8 Capacitor Kemet / C0603C101J5GACTU 1 100 pF, 0603
C9, C11, C12,
C13, C14, C15,
C17, C19, C20,
C23 Capacitor Kemet / C0603C104K5RACTU 10 0.1 µF, 50V, 0603
C10, C16, C18,
C31, C32 Capacitor Kemet / C0805C475K8PACTU 5 4.7 µF, 10V, 0805
C26 Capacitor TDK / C1608X7R1E473K 1 0.047 µF, 0603
C27, C28, C29,
C30 Capacitor Kemet / C0603C334K8PACTU 4 0.33 µF, 0603
R5, R6, R7, R8 Resistor Bourns / CR0603-J/-000ELF 4 0Ω, 0603
R9 Resistor Vishay / CRCW060311K0FKEA 1
11 kΩ, 0603
R10, R11, R12,
R13, R14, R22,
R23, R27 Resistor Vishay / CRCW060310K0FKEA 8 10 kΩ, 1%, 0603
R15, R26, R28 Resistor Vishay / CRCW06031K00FKEB 3 1 kΩ, 1%, 0603
R16, R17, R24,
R25, R30 Resistor Vishay / CRCW0603100KFKEB 5 100 kΩ, 0603
R18 Resistor Vishay / CRCW0603470RJNEA 1
470Ω, 0603
R19 Resistor Vishay / CRCW06031K50FKEA 1
1.5 kΩ, 0603
R20, R21 Resistor Vishay / CRCW060333R0FKEA 2 33Ω, 0603
R31 Resistor KOA / RK73B2ETTD111J 1
110Ω, 1210, 1/2 watt
RT1 Thermistor Murata / NCP21XV103J03RA 1 NTC, 10 kΩ, 0805
13

EV-K0-HCD Evaluation Kit User’s Manual
Appendix C. Board Assembly
Figure 4. Top Assembly
Figure 5. Bottom Assembly
14

EV-K0-HCD Evaluation Kit User’s Manual
Appendix D. Board Layout
Figure 6. Top Layer
Figure 7. Layer 1
15

EV-K0-HCD Evaluation Kit User’s Manual
Figure 8. Layer 2
Figure 9. Bottom Layer
16

EV-K0-HCD Evaluation Kit User’s Manual
These commodities, technology or software, must be exported from the U.S. in accordance with the export administration
regulations. Diversion contrary to U.S. law prohibited.
The information in this document is current as of May 2008. The information is subject to change without notice. For
actual design-in, refer to the latest publications of NEC Electronics data sheets or data books, etc., for the most up-to-date
specifications of NEC Electronics products. Not all products and/or types are available in every country. Please check with an NEC
sales representative for availability and additional information.
No part of this document may be copied or reproduced in any form or by any means without prior written consent of NEC
Electronics. NEC Electronics assumes no responsibility for any errors that may appear in this document.
NEC Electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of
third parties by or arising from the use of any information in this document, or any other liability arising from the use of such
information. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of
NEC Electronics or others.
Descriptions of circuits, software and other related information in this document are provided for illustrative purposes in
semiconductor product operation and application examples. The incorporation of these circuits, software and information in the
design of customer's equipment shall be done under the full responsibility of customer. NEC Electronics no responsibility for any
losses incurred by customers or third parties arising from the use of these circuits, software and information.
While NEC Electronics endeavors to enhance the quality, reliability and safety of NEC Electronics products, customers
agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. To minimize risks of damage to property
or injury (including death) to persons arising from defects in NEC Electronics products, customers must incorporate sufficient safety
measures in their design, such as redundancy, fire-containment and anti-failure features.
NEC Electronics products are classified into the following three quality grades: “Standard”, “Special” and “Specific”.
The "Specific" quality grade applies only to NEC Electronics products developed based on a customer-designated “quality
assurance program” for a specific application. The recommended applications of NEC Electronics product depend on its quality
grade, as indicated below. Customers must check the quality grade of each NEC Electronics product before using it in a particular
application.
"Standard": Computers, office equipment, communications equipment, test and measurement equipment, audio and visual
equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots.
"Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-
crime systems, safety equipment and medical equipment (not specifically designed for life support).
"Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems
and medical equipment for life support, etc.
The quality grade of NEC Electronics products is “Standard” unless otherwise expressly specified in NEC Electronics data
sheets or data books, etc. If customers wish to use NEC Electronics products in applications not intended by NEC Electronics, they
must contact NEC Electronics sales representative in advance to determine NEC Electronics 's willingness to support a given
application.
(Notes)
(1) " NEC Electronics" as used in this statement means NEC Electronics Corporation and also includes its majority-owned
subsidiaries.
(2) " NEC Electronics products" means any product developed or manufactured by or for NEC Electronics (as defined above).
17
Table of contents
Other NEC Motherboard manuals

NEC
NEC POWERMATE ES Series User manual

NEC
NEC K0RE81 User manual

NEC
NEC 78K0R - Save It! User manual

NEC
NEC PG-FPL User manual

NEC
NEC MultiSync X462HB User manual

NEC
NEC 78K0R/L 3 Sense it! Series User manual

NEC
NEC MultiSync P521 User manual

NEC
NEC PG-FPL2 User manual

NEC
NEC IE-703081-MC-EM1 User manual

NEC
NEC PG-FPL3 User manual