Page 2
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 NEC Electronics products listed in this document or any other liability arising from the use of such products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others.
Page 3
European Union only: This equipment (including all accessories) is not intended for household use. After use the equipment cannot be disposed of as household waste. NEC Electronics (Europe) GmbH offers to take back the equipment. All you need to do is register at http://www.eu.necel.com/weee...
Page 4
Some information contained in this document may vary from country to country. Before using any NEC product in your application, please contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: •...
Page 5
78K0R/Lx3 – Sense it! Revision History Date Revision Chapter Description 2009-12-12 V1.00 First release _______________________________________________________________________________________________ U20191EE1V0UM00 User’s Manual...
IAR Systems Embedded Workbench and IAR Systems C-SPY debugger / simulator. The 78K0R/Lx3 – Sense it! is not intended for code development. NEC does not allow and does not support in any way any attempt to use 78K0R/Lx3 – Sense It! in a commercial or technical product.
Host interface Note: Updates of the IAR Embedded Workbench for 78K, documentation and/or utilities for 78K0RLX3-SENSEIT, if available, may be downloaded from the NEC WEB page(s) at http://www.eu.necel.com/78K0RLX3-SENSEIT 1.4 Trademarks IAR Embedded Workbench and C-SPY are registered trademarks of IAR Systems AB. Microsoft and Windows are registered trademarks of Microsoft Corporation.
78K0R/Lx3 – Sense it! 2. 78K0R/Lx3 – Sense It! Components The TK-78K0R/LH3+LCD board is equipped with USB-connector and with several connectors in order to be connected to host computers, FLASH programmer, MiniCube2 or any external target hardware. Figure 1: 78K0R/LH3+LCD board top view 2.1 Operation mode settings The 78K0R/Lx3 –...
78K0R/Lx3 – Sense it! 2.2.1 SW1 SW1 can set the signal that is connected to "- side" of microcontroller built-in operational amplifier 0 (AMP0 - terminal). Mode Connect D/A converter (ANO0) to "- side" of microcontroller built-in operational amplifier 0 (AMP0 - terminal). Connect "- side"...
78K0R/Lx3 – Sense it! 2.3 Jumper settings 2.3.1 JP1 JP1 is a switch jumper to select the power supply. Position Function USB power supply connected (USB1) Power supply via J2 (VDD) or J3 (GND) Table 6: JP1 settings 2.3.2 JP2 JP2 is the point to measure consumption current of microcontroller AVREFP terminal.
78K0R/Lx3 – Sense it! 2.6 Other Functions 2.6.1 VR1 This is the volume control for J1. 2.6.2 J1 J1 is the stereo mini-jack for audio output. Audio is output on left side only. 2.6.3 J2, J3 External power supply connectors. For further information refer to the “External Power Supply”...
78K0R/Lx3 – Sense it! 2.8 LCD Drive Voltage The allowed LCD drive voltages can be selected by switches mounted to the TK-78K0R/LH3+LCD board. 2.8.1 Booster Type, Capacitor Split Set the switches as shown below. All OFF Table 7: Switch settings Booster Type mode A 0.47µF capacitor is connected to each terminal, following methods can be selected.
78K0R/Lx3 – Sense it! 2.8.3 External Resistor Split-1/3 Bias Method (3, 4 Time-Sharing) Set the switches as shown below. It is connected with 100KΩ of resistance (diagram below). All ON Other Mode Other Mode Table 9: Switch settings External Resistor Split mode 1/3 BIAS _______________________________________________________________________________________________ U20191EE1V0UM00 User’s Manual...
78K0R/Lx3 – Sense it! 2.8.4 External Resistor Split-1/4 Bias Method (8 Time-Sharing) Set the switches as shown below. It is connected with 100KΩ of resistance (diagram below). All ON Other Mode 1/4 bias Mode Table 10: Switch settings External Resistor Split mode 1/4 BIAS 2.9 Solder-Short Pads With using the solder-short pad to cut/connect the circuit, users can customize the circuit.
78K0R/Lx3 – Sense it! Open Use port110 for other purpose P111 Short Short Connect port111 to SW1 Open Use port111 for other purpose P150 Short Short Connect port150 to analog circuit Open Use port150 for other purpose P157 Short Short Connect port157 to GND Open Use port157 for other purpose...
µPD78F1508 device in the same way as it would access a standard RS232 interface. The NEC virtual UART driver appears to the windows system as an extra Com Port, in addition to any existing hardware Com Ports.
78K0R/Lx3 – Sense it! 4. 78K0R/Lx3 – Sense It! installation and operation 4.1 Getting started The 78K0R/Lx3 – Sense It! is delivered with a pre-programmed sample application, that makes use of the available peripherals of the TK-78K0R/LH3+LCD board. The CD comes with a 16KB code size limited version of the IAR Embedded Workbench and a software tool to generate a .c file out of a .wav audio file.
78K0R/Lx3 – Sense it! 5. Hardware installation After unpacking the 78K0R/Lx3 – Sense It! demonstration kit, connect the board via connector USB1 to your host computer using the provided USB interface cable. When TK-78K0R/LH3+LCD board is connected, the USB driver needs to be installed on the host machine. Please refer to the following USB Driver Installation.
78K0R/Lx3 – Sense it! 6. Software installation The 78K0R/Lx3 – Sense It! package comes with the following software packages: • IAR Systems Embedded Workbench for 78K 16KB code size limited, including C compiler, assembler, linker, librarian and IAR C-SPY debugger / simulator •...
78K0R/Lx3 – Sense it! Figure 6: IAR Systems Installation screen Note: Before installing the IAR Embedded Workbench for 78K 16KB code size limited version a license number and key has to be requested from IAR Systems. Therefore please follow the IAR online registration.
78K0R/Lx3 – Sense it! 6.4 WriteEZ5 installation To install the WriteEZ5 just press the regarding button from the Autorun of the CD-ROM provided within the 78K0R/Lx3 – Sense It! package. The setup dialogues will guide you through the installation process. The installation can also be started by executing the WriteEZ5_v100_EE.exe in the directory ”\WRITEEZ5”...
78K0R/Lx3 – Sense it! Check that "Search for a suitable driver ..." is selected. Click. Figure 8: Search Method (Windows 2000) Check the "Specify a location" check box only, then click Next>. Check that "Specify location" only is checked. Click. Figure 9: Driver File Location (Windows 2000) Locate to the folder "CDROM:\Driver”.
78K0R/Lx3 – Sense it! Locate to “CDROM:\Driver” Figure 10: Address Specification 1 (Windows 2000) The setup information file “MQB2ALL.inf” is automatic selected, then click Open to proceed within driver installation. Click. Figure 11: Address Specification 2 (Windows 2000) After the location of the USB driver has been specified click OK to proceed. _______________________________________________________________________________________________ U20191EE1V0UM00 User’s Manual...
78K0R/Lx3 – Sense it! Figure 14: USB Driver Installation Completion (Windows 2000) 6.5.2 Installation on Windows XP When the TK-78K0R/LH3+LCD board is connected with the host machine, the board is recognized by Plug and Play, and the wizard for finding new hardware is started. At first the hardware wizard will ask if windows should search on the windows update web, check "No, not this time"...
Locate the folder "C CDROM:\Driver” and click OK. Figure 18: Search Location Specification 2 (Windows XP) As shown below, "NEC Electronics Starter Kit Virtual UART has not passed Windows Logo testing to verify its compatibility with Windows XP." is displayed. Click Continue Anyway.
6.6 Confirmation of USB Driver Installation After installing the USB driver, check that the driver has been installed normally, according to the procedure below. When using the TK-78K0R/LH3+LCD board the “NEC Electronics Starter Kit Virtual UART” should be present like in the figure below.
78K0R/Lx3 – Sense it! 7. Flash Programmer WriteEZ5 WriteEZ5 is flash programming software to flash hex files to the related device. For installation information refer to the chapter WriteEZ5 installation. Figure 22: WriteEZ5 Startup 7.1 Device Setup To provide all necessary information about the device to be programmed, only the corresponding flash parameter file must be loaded.
78K0R/Lx3 – Sense it! Figure 23: WriteEZ5 Device Setup Dialogue Please check that the correct host communication port is selected. The used communication port can be seen in the Windows Device Manager. 7.2 Using WriteEZ5 After a successful device selection the internal flash memory can be blank-checked, erased, programmed or verified.
• CCITT Recommendation G.726 (40 kbps, 32 kbps, 24 kbps, 16 kbps) • NEC Electronics’ ADPCM-SP (32 kbps, 24 kbps, 16 kbps) • NEC Electronics’ ADPCM-SP2 (32 kbps, 16 kbps) Note: CvADPCM can be used on a PC on which Windows XPTM or Windows VistaTM correctly runs.
78K0R/Lx3 – Sense it! 9. 78K0R/Lx3 – Sense it! Sample Project The 78K0R/Lx3 – Sense it! Demonstration kit sample project which is already programmed into the device is written to make use of the available peripherals of the TK-78K0R/LH3+LCD board. The startup sample makes use of a lot of different on chip peripherals of the 78K0R/Lx3 microcontroller 78F1508, so the real time clock, A/D- and D/A converter, Key interrupt, Timer Array Unit and LCD controller are used.
78K0R/Lx3 – Sense it! For information how to navigate through the program please refer to Sample_project_operation_manual.pdf available on the CDROM in the directory “\Doc\TK78K0R”. 9.2 Initialization message When the board is connect to a power supply the LCD will show up a welcome message “ALL FLASH MICROCONTROLLER 78K0R/LH3 STARTER KIT”...
78K0R/Lx3 – Sense it! 9.9 Current consumption measurement mode The Current consumption measurement mode gives the user the possibility to measure the actual current consumption. Therefore the microcontroller can be set in different operating modes. • Main Run: The microcontroller runs in normal operation but kitchen timer and other functions are stopped. LCD does not display anything while it is functioning.
78K0R/Lx3 – Sense it! 10. IAR Embedded Workbench debug session The pre-programmed sample application is also provided as an IAR Embedded Workbench project on the starter kit CDROM. 10.1 Setting up the Hardware for a debug session To be able to perform a C-SPY debug session on the 78K0R/Lx3 Sense it! demonstration kit board please make sure that the hardware is set up correctly.
78K0R/Lx3 – Sense it! Figure 27: IAR Embedded Workbench IDE view 10.3 Build and Debug Before build the project please check that MINICUBE is selected as Debugger Driver. Therefore open the Debugger settings by clicking Project Options and select the Category Debugger. Figure 28: IAR Embedded Workbench Debugger Settings _______________________________________________________________________________________________ U20191EE1V0UM00...
78K0R/Lx3 – Sense it! When the TK-78K0R/LH3+LCD evaluation board is connected correctly to the Host PC and MINICUBE is selected as Debugger driver you shall be able to build, download and debug the sample project. Therefore just press the Download and Debug button ( ) or click Project Download and Debug.
Page 48
78K0R/Lx3 – Sense it! 13. Schematics Please find the schematics attached to this document. To open the attachments view in the Adobe Reader press the paper clip in the lower left corner of the program window. To open the attachment, double click the 78K0RLH3_LCD.pdf.