Home

User`s Manual 78K0R/Lx3

image

Contents

1. 15 254 15 2520 ee ee eee 15 23 0 JP ien uin dc E M eM MU 15 24 p 15 2 15 229 de 15 a ae ee 15 15 20 Other FUNCIONS t 16 16 PORE ae ented 16 RE NY 16 cr 16 265 rr det mae eae eee 16 PX ORAE pic 16 PORT ce TN 16 20 ER 16 20 9 ue tele 16 2 MCT etoile de nn cn 16 2 8 LCD DrIVe 18 2 0 1 Type Capacitor SDIIL uiii nn SMS A MN a 18 2 8 2 External Resistor Split 1 2 Bias Method 2 3 18 2 8 3 External Resistor Split 1 3 Bias Method 3 4 19 2 8 4 External Resistor Split 1 4 Bias Method 8 5 20 219 Sold r Short
2. 20 2 10 External Power SUDD V us 21 3 86KO0H Lx3 Sense It system configuration 22 221 Sense HT ioo 22 2 2 HOSECODIDUIGD SR SR e EI M IV ela DUE 22 3 Powersupply USBnlerface nie ccn cere cue Cebu eee 22 User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it NEC 4 78KO0HR Lx3 Sense It installation and operation esee eese 23 GEMO ee 23 42 CD ROM 23 5 entends an 24 6 Software Installation tei esci d peces cd ne sc 25 61 Systems Embedded Workbench for 78K installation 25 5 2 Qvi acts uas fedis ise Ca ra or uu a cet 26 6 3 Voice Data Conversion Tool installation 26 WrieEZS INStTANAtIONS iva a tan etate dr au da ocv a tan lace x 27 65 USB Driver instalation uoces Sess eoe ete D
3. 42 10 1 up the Hardware for a debug 42 10 2 Load the IAR Embedded Workbench sample 42 10 35 DED UG e tet 43 RENE 45 11 1 USB interface cable Mini B stresse under sante 45 12 Bilkof materials EAA ea 46 User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it NEC LEES earliest User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it NEC List of Figures Figure 1 78KOR LH3 LCD board top view 13 Figure 2 LCD Panel CirGull tn 17 Figure 3 78KOR Lx3 Sense It system configuration 22 Figure 4 78KOR Lx3 Sense It CD ROM contents sisi 23 Figure 5 78KOR Lx3 Sense It CRROM autorun exe iii 25 Figure 6 IAR Systems Installation screen 26 Figure 7 Found New Hardware Wizard Windows 2000 27 Figure 8 Search Method Windows 2000 sn 28 Figure 9 Driver File Location Windows 2000 28 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Address Specification 1 Wi
4. Tib La src fsmbcd_correction_func asm s26 clock c c displayl c E key c kitchentimer c Icdtest c main c playback c powersave c E sensor c voltmeter c C3 Output TSK RLx3 SENSEIT sample Messages 1006 parameter 1009 void 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 4 fn DisplayInit fn ClockInit fn TimerlInit fn VoltMeterInit fn SensorInit fn LcdTestlInit fn PlayBackInit fn PowerSaveinit ucMenuLevel CLEVEL ucTopMenu OPENING ucl msec 100 5 initialize Vdd Mode if LVIF bVddMode CVDD BATTERY Initialization Initialization Initialization Initialization Initialization Initialization Initialization Initialization Initialization of key module of Display mo of Clock modu of Kitchen Ti of Volt Meter of Sensor mod of LCD Test m of Play Back of Power Save initialize menu level initialize top menu initialize 100msec counter unl VDD lt YLVI the power supply from ol ud gt cli Ready 10 3 Build and Debug Before build the project please check that MINICUBE is selected as Debugger Driver Therefore open the Figure 27
5. a D Ue ons 27 6 5 1 Installation on Windows 2000 88888 27 6 5 2 Installation on Windows 8 8 8 31 6 6 Confirmation of USB Driver Installation 33 7 Flash Programmer WIMNOEZOS ces eua sS ada tesa ce Euge v one dense rime EE 35 DEVICE 35 USMO VIG 272 SE 36 8 Voice Data Conversion Tool CVADPCM 2 38 9 78KOR Lx3 Sense it Sample 39 9 1 Application Overview Flowchart diagram 1 39 9 2 Initialization message ce eve ede te owe veu 40 c Ee 40 9 4 40 9 5 Voltmeter mode mem RETE 40 96 EE 40 97 LCD Evaluation mode A diu eue bo co veu pie oue pie aen iris 40 9 6 Voice reproduction mode en nee nec ie 40 9 9 Current consumption measurement mode 41 10 Embedded Workbench debug 5
6. 1 17 15 C25 C26 C27 C28 C29 C33 0 47uF C39 C41 16 1 0 EV 17 0 FP1 HIF3FC 16PA 2 54DSA HIROSE FFC 8AMEP1 HONDA 19 6 JP2 JP3 JP4 JP5 J5 JP6 FFC 2AMEP1 HONDA 20 1 J1 1 LGVY6502 0900FC SMK 111711211464 SATOPARTS 22 J3 1 T 16 Black _______ SATO PARTS 23 0 1060 7 2410 66 FFC4 4AMEP1 HOND 225 1 1 5 005 SC 26 1 LED SLRSEU 27 1 LED 28 1 L 1 _ MPZ1608R8944 29 1 12 41 0708 _____ Murata MR 1 JO ONtE4K105 31 6 R1 R2 R6 R7 R8 R15 1 AK Hoo JR CCCs 12 R4 R11 R14 R18 R20 R21 100K MN C c 34 1 5 J 220K 25 151 1 9 17 36 1 1 2 711 2 50 1 38 1 4 4 39 2 RIGR 0 1 R9 1150 41 6 R24 R25 R27 R33 R37 R39 7 42 4 R26R90R31R386 71 43 1 R 1 412 R34R85 1 22244 145 5 SW1 SW2 SW3 SW6 SW8 SSSS213000 8 1461 SWAY SKRHABE010 ALPS 147 3 swssw7swo 7 CHS 04B 48 1 5 0 SKQMBB ALPS 4941171 5 1 7 SSSS223600 ALPS 50 1 55 _ HIROSE 51 1 U1 LM489OM 5 52 1 U2 S 8120CNB SH 5312 1306 SN7ALVC2GO7DCK S 94
7. User s Manual 78KOR Lx3 Sense It Demonstration Kit Document U20191EE1VOUMOO Date Published November 2009 O NEC Electronics Europe GmbH 78KOR Lx3 Sense it NEC information in this document is current as of June 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 Electronics 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 the 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 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 e Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operati
8. Address Specification 1 Windows 2000 5 The setup information MQB2ALL inf is automatic selected then click to proceed within driver installation Look in Driver amp t History Documents Computer File name MOB2SALL Files of type Setup Information inf Cancel My Network Figure 11 Address Specification 2 Windows 2000 6 After the location of the USB driver has been specified click to proceed User s Manual U20191EE1VOUMOO 29 78KOR Lx3 Sense it NEC x Insert the manufacturer s installation disk inta the drive selected and then click Cancel Copy manufacturer s files from I Driver Figure 12 Address Specification 3 Windows 2000 T Click Next Driver Files Search Results Fin tage The wizard has finished searching for driver files for your hardware device S The wizard found a driver for the following device 7 USB Device Windows found a driver for this device Ta install the driver Windows found click i divenmgb sallint Cancel Figure 13 Driver File Search Windows 2000 8 Click to complete the installation of the USB driver Found New Hardware Wizard Completing the Found New Hardware Wizard gt MEL Electronics Starter Kit irtual UAA T Windows has finished installing the software Far this device To close
9. 1 U4 uPD78F1508GF 511 5 1 SN7ALVC2G126DCU ___ 5611 U7 UPDY78F0730MC ____ NECEL gt User s Manual U20191EE1VOUMOO A 6 78KOR Lx3 Sense it NEC 57171 18 SN7ALVC1G126DCK 58 1 59 57452145069 59171 VR 1 6 20 203 COPAL 60 1 Y1 CSTLS20MOX51 B0 61117 Y2 __ SSP T7 FL 3 7pF 1621 Y3 16 0 53 User s Manual U20191EE1VOUMOO 47 78KOR Lx3 Sense it NEC 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 78KORLH3_LCD pdf User s Manual U20191EE1VOUMOO 48 78KOR Lx3 Sense it User s Manual U20191EE1VOUMOO 49
10. 6 1 IAR Systems Embedded Workbench for 78K installation To install the IAR Systems Embedded Workbench for 78K including C SPY debugger simulator press the regarding button from the Autorun of the CDROM provided within 78KOR Lx3 Sense It package The installation can also be started by executing Autorun exe program in the directory NK IAR Embedded Workbench of the CDROM When running the autorun exe the following screen appears User s Manual U20191EE1VOUMOO 25 78KOR Lx3 Sense it NEC gt HAS Japanese Welcome to IAR Systems IAR Embedded Workbench 16K Kickstart for NEC 78K QuickStart installation information A E Install Embedded Workbench Install visualS Release notes View the product documentation Install Adobe Acrobat Reader Explore the CD O E SIAR SYSTEMS Werte 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 The license number and key shall be provide within a view minutes after the request is submitted To install the IAR Embedded Workbench for 78K just press the regarding button Install IAR Embedded Workbench 6 The setup dialogues will guide you through the installation process For further information about the I
11. It supports different operation modes that have to be selected by switches and jumpers are available on the board SW11 Debug Writer KOR KO USB SW9 All ON All OFF Table 1 78KOR Lx3 Sense It Switch and Jumper settings Debugging Writing Mode Set Debugging Mode when you use ID78KOR QB EZ Set Writing Mode when you use WriteEZ5 PC Communication Mode Connect UARTO of 78KOR LH3 and UART6 of KO USB uPD78F0730 which is mounted on the board This enables the communication with PC by Pseudo connect the UARTO and COM port of PC 2 2 Switch settings User s Manual U20191EE1VOUMOO 13 78KOR Lx3 Sense it NEC 2 2 1 SW1 SW 1 can set the signal that is connected to side of microcontroller built in operational amplifier 0 AMPO terminal Connect D A converter ANOO to side of microcontroller built in operational amplifier 0 AMPO terminal Connect side of microcontroller built in operational amplifier 0 terminal to GND Table 2 SW1 modes 2 2 2 SW2 SW2 can set the input voltage for A D converter ANI 1 TEMP Connect the output of temperature sensor to A D converter ANI 1 terminal Ext Volt Connect the voltage of J5 connector to A D converter ANI 1 terminal Table 3 SW2 modes 2 2 3 SW3 SW3 can select if it uses microcontroller built in operational amplifier 0 or not ON Use Amplify 10 fold the voltage input to J5 connector by using operational amplifier O
12. Set SW2 to Ext Volt side Not to use operational amplifier O Table 4 SW3 modes 2 2 4 SW4 Cursor SW4 is 4 Ways Center push Switch It becomes Low when it is pushed or shifted to the side It becomes Open when it is released You need to set microcontroller built in pull up option resistor PU7 to ON For details about settings of microcontroller built in pull up option resistor refer to the User s manual of T8KOR Lx3 P70 KRO CENTER PUSH P71 KR1 CENTER PUSH 72 2 LEFT P74 KR3 RIGHT GND P73 KR3 DOWN Table 5 SW4 modes 2 2 5 SW5 SW5 can select the time sharing of LCD ALL OFF 4 3 2 Static ALL ON User s Manual U20191EE1VOUMOO 14 78KOR Lx3 Sense it NEC 2 3 Jumper settings 2 3 1 JP1 JP1 is a switch jumper to select the power supply 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 Take off short pin and connect an ampere meter to measure the current As the sample software uses VREFOUT take off the short pin It is opened as default 2 3 3 JP3 is the point to measure consumption current of microcontroller AVDDO terminal Take off short pin and connect an ampere meter to measure the current It is shorted as default 2 3 4 JP4 JP4 is the point to measure consumption current of microcontroller AVDD1 terminal Tak
13. following procedure Installation on Windows 2000 Page 27 Installation on Windows XP Page 31 6 5 1 Installation on Windows 2000 When the TK 78KOR LH3 LCD board is connected with the host machine board is recognized by lt Plug and Play gt and the wizard for finding new hardware is started Click Next gt Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps vau install device driver For hardware device To continue click E Cancel Figure 7 Found New Hardware Wizard Windows 2000 2 Following the window below is displayed So check that Search for a suitable driver is selected then click Next gt User s Manual U20191EE1VOUMOO 27 78KOR Lx3 Sense it NEC Found New Hardware Wizard Install Hardware Device Drivers device driver is software program that enables a hardware device to work with ey an operating system This wizard will complete the installation Far this device Check that Search for a USB Device suitable driver is selected A device driver is software program that makes a hardware device work Windows eeds driver files for your new device To locate driver and complete the Installation click What do vou want the wizard to do Search for a suitable driver for my device recommended Display a list of the known drivers for this device that can choose a spec
14. 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 an NEC Electronics sales representative in advance to determine NEC Electronics willingness to support a given application Note 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 02 11 1 User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it NEC CAUTION This is a Test and Measurement equipment with possibility to be significantly altered by user through hardware enhancements modifications and or test or application software Thus with respect to Council Directive 89 336 EEC Directive
15. on compliance with the EMC protection requirements this equipment has no autonomous function Consequently this equipment is not marked by the CE symbol EEDT ST 005 10 CAUTION This equipment should be handled like a CMOS semiconductor device The user must take all precautions to avoid build up of static electricity while working with this equipment All test and measurement tool including the workbench must be grounded The user operator must be grounded using the wrist strap The connectors and or device pins should not be touched with bare hands EEDT ST 004 10 For customers in the European Union only Redemption of Waste Electrical and Electronic Equipment WEEE in accordance with legal regulations applicable in the 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 do is register http www eu necel com weee User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it Regional Information NEC 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 Device availability Ordering information Product release schedule Availabi
16. the countdown The LCD is updated by using the interval interrupt of the real time counter After the countdown has expired a short sound is played through the audio output of the demonstration kit 9 5 Voltmeter mode The Voltmeter mode gives the user 2 possibilities of shown measurement results In both cases the 12bit A D converter is used The 15 mode only shows the voltage measured on the A D converter input The 274 mode displays A D converter result added with the inverted offset input voltage 200mV amplified 10 times The measurable voltage range is 0 02V 0 22V with used operational amplifier and OV 2V without used operational amplifier 9 6 Sensor mode When the Sensor mode is selected the LCD shows up the measured temperature The temperature is measured by a temperature sensor that is connected to an A D converter input of the 78F 1508 microcontroller The result of the 12 bit A D conversion is used as PWM duty cycle to control the brightness of LED1 The temperature can be displayed on the LCD in Celsius as well as in Fahrenheit The temperature range that can be measured is between 35 C 30 F and 100 C 212 F 9 7 LCD Evaluation mode First of all you can change the contrast of the LCD within this mode Beside this a display test can be performed The selected contrast is hold even if the LCD Evaluation mode is left The 2 part of the LCD Evaluation mode is display test where the different LCD driver modes
17. this wizard click Finish lt Back User s Manual U20191EE1VOUMOO 30 78KOR Lx3 Sense it NEC Figure 14 USB Driver Installation Completion Windows 2000 6 5 2 Installation on Windows XP 1 When the TK 78KOR 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 and then click Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on Your computer the hardware installation CD or on the Windows Update Web site with your permission Head our privacy policy Check that No not this time is selected Can Windows connect to Windows Update to search for software CO Yes this time only Nes now and every time connect a device Click to continue Figure 15 Found New Hardware Wizard 1 Windows XP 2 Check that Install from a list or specific location Advanced is selected then click Found New Hardware Wizard This wizard helps vou install software Far USB Device 9 If your hardware came with an installation CD 9 or floppy disk insert it now What do vou want the wizard to do CO Install the software automatically Recommend
18. 07 15 2009 78KOR MINICUBE Executor 1 08 OCD Control Code V2 00 Device chipname 8 1508 8 1508 8 file version 1 00 Boardinfo 00008004 product id 4100 version A firmware version 04 06 i Ready Ln 1009 Col 1 Figure 29 IAR C SPY debugger window To run the application press the Run button 27 Now you can control the application as described in the chapter above Furthermore all standard IAR C SPY debugger functionalities for a MINICUBE debug session are available For further information about the IAR tools please refer to the regarding User s manuals available in the Embedded Workbench Help User s Manual U20191EE1VOUMOO Debug Log Build x 44 78KOR Lx3 Sense it 11 Cables 11 1 USB interface cable Mini B type Series Plug Series Plug Series Mini B Plug Figure 30 USB interface cable Mini B type User s Manual U20191EE1VOUMOO Series Plug 45 78KOR Lx3 Sense it NEC 12 Bill of materials Reference Reference not mounted Manufacturer Part No Manufacturer BUZ1 PS1240P02BT TDK C1 2 F930J476MAA nichicon C17 C22 C32 C36 C37 C38 C42 C43 C44 C45 C46 C47 6 1 62 _ 1 58 OOBE 8 1 Ctl 1 Oooo 911 2 4 933p 1 10 1 055 1104 16 19 24 30 4 12 4 18 23 31035 7 31 fez 14 1
19. AR Embedded Workbench installation refer to the InstallationGuide EWB ENU pdf the directory NK IAR Systems of the CDROM 6 2 IAR Sample project To copy the IAR sample project just press the regarding button IAR sample project The setup dialogues will guide you through the copying process The installation can also be started by executing the IAR sample project exe directory sample program of the CDROM 6 3 Voice Data Conversion Tool installation To install the CaADPCM Voice Data Conversion Tool just press the regarding button from the Autorun of the CD ROM provided within the 78KOH Lx3 Sense It package The setup dialogues will guide you through the installation process The installation can also be started by executing the CvADPCM Voice Data Conversion Tool vi140 exe the directory Voice Data Conversion Tool ofthe CDROM User s Manual U20191EE1VOUMOO 26 78KOR Lx3 Sense it NEC 6 4 WriteEZ5 installation To install the WriteEZ5 just press the regarding button from the Autorun of the CD ROM provided within the 78KOR 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 the directory NW WRITEEZ5 of the CDROM 6 5 USB Driver Installation In order to use the TK 78KORKE3L board the USB driver needs to be installed the host machine Install the driver according to the
20. IAR Embedded Workbench IDE view Debugger settings by clicking Project Options and select the Category Debugger Options for node 78KORLx3 SEHSEIT sample Category General Options Compiler Assembler Custom Build Build Actions Linker setup Extra Options Images Plugins Driver Factory Settings MINICUBE 8 5 MINT 2 IE 78 IECLIBE Simulator 78 Aun to main Setup macros Use macro file Ps Device descriptions Override default DIRS amp COMFIGSDDF ia 8 ddf Figure 28 IAR Embedded Workbench Debugger Settings User s Manual U20191EE1VOUMOO Build Debug Log x Errors 0 WarningsO Ln 15 Col 65 43 78KOR Lx3 Sense it NEC When the TK 78KOR 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 gt Download and Debug After downloading the sample project to the target device the IAR C SPY debugger shows up and the program shall be stopped at the beginning of the main function 24 IAR Embedded Workbench File Edit View Project Debug Emulator Tools Window Help gt 1005 Description Main process 1006 parameter retur
21. U20191EE1VOUMOO 20 78KOR Lx3 Sense it NEC P111 P150 Table 11 TK78KOR LH3 LCD Solder Short Pads 2 10 External Power Supply A Power supply other than USB is available by using the terminal J2 VDD J3 GND or button battery socket not mounted on the back side of substrate Set the JP1 to 2 3 short and connect a stabilized power supply to the terminal pins J2 VDD and J3 GND Also you can mount battery socket on J4 to supply power from battery Support battery socket KEYSTONE 1060 Caution Do not supply power from terminal while using a battery If the terminal J2 VDD and the anode of the battery is connected the battery will be destroyed User s Manual U20191EE1VOUMOO 21 78KOR Lx3 Sense it NEC 3 8KOR Lx3 Sense It system configuration The 78KOHR Lx3 Sense It starter kit system configuration is given in the diagram below Figure 3 78KOR Lx3 Sense It system configuration 3 1 78KOHR Lx3 Sense it The 78KOR Lx3 Sense It is a demonstration kit for the 78F1508 16 bit microcontroller of the 78KOR family The demonstration board is connected to the host system via USB interface cable The host system may be used for On Chip debugging by using the IAR C SPY debugger and to allow execution of application programs on 78KOR Lx3 Sense starter kit 78KOR Lx3 Sense runs the microcontroller at 20 MHz operating speed in normal operation mode 3 2 Host computer T
22. ation Please verify that you have received all parts listed in the package contents list attached to the 78KOR LX3 Sense it demonstration kit package If any part is missing or seems to be damaged please contact the dealer from whom you received your 78KOH Lx3 Sense 1 2 Features NEC Electronics all flash 16 bit 78KOR LH3 MCU pyPD78F 1508 NEC Electronics uPD78F0730 MCU with on chip USB interface e 50x 8 LCD display e Temperature sensor e Audio Plug e Voice data conversion tool wav gt c file for ADPCM 78KOR audio library The IAR Embedded Workbench for 78K and the IAR C SPY debugger simulator are included These packages are restricted in such that maximum program code size is limited to 16 Kbyte Full documentation is included for the NEC 78K078F1508 microcontroller NEC 78K0 78F0730 microcontroller I AR Systems Embedded Workbench and IAR Systems C SPY debugger simulator 1 3 System requirements HOST PC A PC supporting Windows 2000 Windows XP or Windows Vista is required for the IAR Systems Embedded Workbench demo version A Pentium processor with at least 1 GHz CPU performance with at least 256 Mbytes of RAM allowing you to fully utilize and take advantage of the product features 500 Mbytes of free disk space and an additional 10 Mbytes of free disk space on the Windows system drive User s Manual U20191EE1VOUMOO 11 78KOR Lx3 Sense it NEC A web browser and Adobe Acrobat Reader t
23. bedded Workbench for 78K ADPCM stands for adaptive differential PCM and it supports the following algorithms e CCITT Recommendation G 726 40 kbps 32 kbps 24 kbps 16 kbps e 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 This tool may not run on Windows 2000 because it uses the functions of DirectX ADPCM Converter Figure 25 Voice Data Conversion Tool CVADPCM For further information regarding the CvADPCM tool please refer to the Application note CVADPCM U19015EJ2VOANOO pdf available on CDROM in the directory DocNCvADPCM User s Manual U20191EE1VOUMOO 38 78KOR Lx3 Sense it NEC 9 78KOR Lx3 Sense it Sample Project The 78KOHR 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 78KOR LH3 LCD board The startup sample makes use of a lot of different on chip peripherals of the 78KOR Lx3 microcontroller 78F 15068 so the real time clock A D and D A converter Key interrupt Timer Array Unit and LCD controller are used The user can use sample functions for these peripherals like Clock display Kitchen timer Voltmeter Temperature measuring Sound reproduction or current measuring of the different operation modes of the target device Furthermore the LCD mo
24. can be tested When performing the display tests please make sure that the right hardware setup is selected for the tested mode To check the hardware setup please refer to chapter 2 8 LCD driver voltage Note The Capacitance display test can not be performed if the board is battery driven 9 8 Voice reproduction mode In the Voice reproduction mode a pre programmed sound sequence can be played via the 12 or 10 bit D A converter of the microcontroller To be able to hear the sound an audio device has to be plugged in the Jack connector J1 on the TK 78KOR LH3 LCD board If the kitchen timer countdown is elapsed during the sound reproduction the alarm sound is skipped and is played after the sound sequence is finished The ADPCM library which is included in the sample project is used to extend the sound data For further information regarding the ADPCM library please refer to the regarding Application Note U19000EJ2VOANDOO pdf available on the CDROM in the directory DocNCvADPCM User s Manual U20191EE1VOUMOO 40 78KOR Lx3 Sense it NEC 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 Make a key i
25. e off short pin and connect an ampere meter to measure the current It is shorted as default 2 3 5 JP5 JP5 is the point to measure consumption current of microcontroller VDD terminal Take off short pin and connect an ampere meter to measure the current It is shorted as default 2 3 6 JP6 JP6 is the point to measure consumption current of microcontroller EVDD terminal Take off short pin and connect an ampere meter to measure the current It is shorted as default 2 4 Connector 2 4 1 FP1 This is the interface to connect MINICUBE2 The connector itself is not attached If you wish to connect MINICUBE2 you need to solder the 16pin connector on FP 1 2 5 Clock 2 5 1 Y1 This is the main clock 20MHz Ceralock Murata CSTLS20M0X51 B0 is mounted 2 5 2 Y2 This is the sub clock 32 768KHz oscillator 51 SSP T7 FL 3 7pF is mounted User s Manual U20191EE1VOUMOO 15 78KOR Lx3 Sense it NEC 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 chapter 2 6 4 J4 This is the pad for a battery socket on the back side of the board For further information refer to the External Power Supply chapter 2 6 5 J5 J5 is the terminal to connect voltage to be measured It can apply a voltage OV 2 0V witho
26. ed Check that Install from a list or specific is selected Click Next ta continue Figure 16 Found New Hardware Wizard 2 Windows XP 3 Check that Search for the best driver in these locations is selected Select the Include this location in the search check box and then click Browse User s Manual U20191EE1VOUMOO 31 78KOR Lx3 Sense it Found Hew Hardware Wizard lt 1 gt Check that Search for the best driver in these locations is selected Please choose your search and installation options Search for the best driver in these locations Use the check boxes below to limit expand the default search which includes local paths and removable media The best driver found will be installed Include this location in search Don t search will choose the driver to install lt 2 gt Check Include this location in the search only Choose this option to select the device driver from list Windows 90 not guarantee that the driver you choose will be the best match for your hardware Figure 17 Search Location Specification 1 Windows XP 4 Locate the folder CDROM Driver and click Browse For Folder Select the Folder that contains drivers Far your hardware 78K RLX3 SEMSEIT ACROBAT 3 Doc Driver TAR Embedded Workbench ic autorun dac dongle ew78k vs78k sample pro
27. ee ee et ee ne 14 Table 6 JP e nie cd 15 Table 7 Switch settings Booster Type mode 18 Table 8 Switch settings External Resistor Split mode 1 2 BIAS 2 18 Table 9 Switch settings External Resistor Split mode 1 3 BIAS 19 Table 10 Switch settings External Resistor Split mode 1 4 BIAS 20 Table 11 TK78KOR LH3 LCD Solder Short ceed as e cete cta cene goin sume 21 Table 12 WITeEZ4 acllon doe e dane 37 User s Manual U20191EE1VOUMOO 10 78KOR Lx3 Sense it NEC 1 Introduction The 78KOH Lx3 Sense is an evaluation kit for development with sound systems using an 78KOR LH3 NEC Electronics 16bit all flash microcontroller The TK 78KOR LH3 LCD board that is included the 78KOR Lx3 Sense it demonstration kit is pre programmed with an sample application which makes usage of the on board peripherals like a LC display temperature sensor or an audio plug The demonstration kit also includes the CVADPCM Voice Data Conversion PC software which creates c files which can then be played on the TK 78KOR LH3 LCD board using the ADPCM software library which is also part of the kit 1 1 Package contents TK 78KOR LH3 LCD board e USB cable e CD ROM containing the CVADPCM Voice Data Conversion tool WriteEZ5 and an evaluation copy of the IAR Embedded Workbench for 78K with 16Kbyte code size limit
28. es Division Guarulhos Brasil Tel 55 11 6465 6810 Fax 55 11 6465 6829 User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it Revision History 2009 12 12 Revision Chapter Description First release NEC User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it NEC Table of Contents m 11 1 1 Package eL es 11 TA 2 10 11 t3 2 System Tequiremehls MI MI 11 47 Trademarks 12 2 78 Sense It Compohehls 5 tete 13 2 1 Operation 13 2 27 SWICK CT I ITI 13 14 WN PC EN 14 2r E 14 LAPSI rc cc ES 14 UMORE IM M LM I EIL DUI 14 2 9 Jumper SCUINGS acest totes needed nt dedu 15 ZIF 15 DAC MEI aire 15 25293
29. gram To view any subfolders click plus sign above Cancel Figure 18 Search Location Specification 2 Windows XP 5 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 User s Manual U20191EE1VOUMOO 32 78KOR Lx3 Sense it NEC Hardware Installation A The software you installing for this hardware MEL Electronics Starter Kit Virtual LART has not passed Windows Logo testing to verify its compatibility with Windows Tell me why this testing important Continuing your installation of this software may impair destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway Figure 19 Windows XP Logo Testing Windows XP 6 After the installation of the USB driver is completed the window below is displayed Click to close the hardware wizard Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for F NEC Electronics Starter Kit Virtual UART Click Finish to close the wizard Cancel Figure 20 USB Driver Installation Completion Windows XP 6 6 Co
30. he USB host interface enables communication to the 78KOR Lx3 Sense It board The uPD78F0730 78KO 8 Bit microcontroller with on chip USB interface and the NEC virtual UART driver allows application software to access the uPD78F 1508 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 3 3 Power supply via USB interface The TK 78KOR LH3 LCD board is powered by the USB interface Optional the power supply can be applied via the connectors J2 VDD and J3 GND or an external battery mounted to J4 on the back side of the starter kit board User s Manual U20191EE1VOUMOO 22 78KOR Lx3 Sense it NEC 4 78KOR Lx3 Sense It installation and operation 4 1 Getting started The 78KOHR Lx3 Sense It is delivered with a pre programmed sample application that makes use of the available peripherals of the TK 78KOR 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 The also include sound library enables the user to program and hear the wanted sound file via a audio output connected to the audio jack mounted on the board 4 2 CD ROM contents 79KOR Lx3 Sense It CD ROM ROOT Acrobat Acrobat Reader for 32Bit Windows OS Doc Documentation 28 Driver TK 78KOR LH3 LCD dev
31. ice driver files IAR Embedded Workbench IAR Embedded Workbench for 78K Example project for the 78KOR Lx3 Sense It Demonstration Kit sample program 3 WriteEZ5 Flash Programmer WriteEZ5 incl PRM file for UPD78F 1508 Figure 4 78KOR Lx3 Sense It CD ROM contents User s Manual U20191EE1VOUMOO 23 78KOR Lx3 Sense it NEC 5 Hardware installation After unpacking the 78KOR Lx3 Sense demonstration kit connect the board via connector 0581 to your host computer using the provided USB interface cable When TK 78KOR LH3 LCD board is connected the USB driver needs to be installed on the host machine Please refer to the following USB Driver Installation User s Manual U20191EE1VOUMOO 24 78KOR Lx3 Sense it NEC 6 Software installation The 78KOHR Lx3 Sense It package comes with the following software packages AR Systems Embedded Workbench for 78K 16KB code size limited including C compiler assembler linker librarian and IAR C SPY debugger simulator e Voice Data Conversion Tool CVADPCM WriteEZ5 flash programmer software including the PRM file for uPD78F 1508 AR Embedded Workbench for 78K sample project Demonstration Kit 78KOR Lx3 Sense it Embedded V Yorkbench Installation IAR Sample project CyADPCH Installation WrriteE 5 Installation Documentation Empowered by Innovation N Ed Figure 5 78KOR Lx3 Sense It CRROM
32. ific driver lt Back Cancel Figure 8 Search Method Windows 2000 3 Check the Specify a location check box only then click Next gt Found New Hardware Wizard Locate Driver Files Where do vou want Windows to search for driver files Search for driver files for the following hardware device 2 USB Device Check that Specify a location only is checked The wizard searches for suitable drivers in its driver database on your computer and in any of the following optional search locations that vou specify To start the search click Next If you searching on floppy disk CD ROM drive insert the floppy disk CD before clicking Optional search locations Floppy disk drives CD ROM drives Microsoft windows Update lt Back Cancel Figure 9 Driver File Location Windows 2000 4 Locate to folder CDROM Driver User s Manual U20191EE1VOUMOO 28 78KOR Lx3 Sense it NEC Locate File ey m Look in Cy Driver t History Desktop Documents Computer cd 34 Floppy amp Local Disk History Local Disk 0 Local Disk E Local Disk F SEOR SAVEIT Drive Mu Network Places Documents m Un TERM File namie MOB2SALL ini Files Setup Information Cancel Locate to CDROM Driver Figure 10
33. ion kit board please make sure that the hardware is set up correctly Therefore please refer to chapter 2 1 and set the hardware to the Debugging Writing Mode 10 2 Load the IAR Embedded Workbench sample project After copying the IAR sample project to the hard drive of your Host PC as described in chapter 6 2 you shall be able to run this sample project To start the IAR Embedded Workbench 16K Kickstart for 78K click Start gt Programs gt IAR Systems gt IAR Embedded Workbench for 78K v4 62 Kickstart gt IAR Embedded Workbench The Embedded Workbench Startup screen comes up To open the sample project workspace press the Open existing workspace button and locate the 78KORLx3 SENSEIT sample eww file in the sample program folder Embedded Workbench Startup Create new project in current workspace Add existing project to current workspace existing workspace Example applications Recent workspaces not show this window at startup Cancel Figure 26 IAR Embedded Workbench Startup screen The project shall show up on the left side of the IAR Embedded Workbench window in the Workspace view User s Manual U20191EE1VOUMOO 42 78KOR Lx3 Sense it 2 amp IAR Embedded Workbench File Edit View Project Tools Window Help NEC Wicks 8 Files E 78KORLG SENSEIT_sample amp amp ES 1004 Module 1005 Description Main process Ha
34. ion 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 WriteEZ5 can be controlled either by menu or by buttons ES WriteEZ5 Beye View Help Blank Check Erase Program Verify Mame Firmware Security CheckSurn Autoprocedure EPV TNT m file Signature read Version 1 00 Get Security settings Setup Load file Date Area Connection to device Port COME Speed 1152006 Range Chip Freg Intemmal OSC Multiply 1 00 Figure 24 WriteEZ5 Device Menu User s Manual U20191EE1VOUMOO 36 78KOR Lx3 Sense it NEC T P amp 4 device setup button load file button blank check button erase button program button d verity button RE Autoprocedure button Table 12 WriteEZ4 action buttons WriteEZ5supports Intel Hex and Motorola S record file formats as input file User s Manual U20191EE1VOUMOO 37 78KOR Lx3 Sense it NEC 8 Voice Data Conversion Tool CVADPCM The Voice Data Conversion Tool CvADPCM is a tool that generates ADPCM data to implement a voice application for the 78KOR Lx3 microcontroller Running on Microsoft Windows this tool converts WAV files PCM into ADPCM 40 kbps to 16 kbps The result of conversion is output as a source code that can be read by the IAR Em
35. lity of related technical literature Development environment specifications for example specifications for third party tools and components host computers power plugs AC supply voltages and so forth e Network requirements In addition trademarks registered trademarks export restrictions and other legal issues may also vary from country to country NEC Electronics Inc U S Santa Clara California Tel 408 588 6000 800 366 9782 Fax 408 588 6130 800 729 9288 NEC Electronics Europe GmbH Duesseldorf Germany Tel 0211 65 03 0 Fax 0211 65 03 1327 Sucursal en Espana Madrid Spain Tel 091 504 27 87 Fax 091 504 28 60 Succursale Francaise Velizy Villacoublay France Tel 01 30 67 58 00 Fax 01 30 67 58 99 Filiale Italiana Milano Italy Tel 02 66 75 41 Fax 02 66 75 42 99 Branch The Netherlands Eindhoven The Netherlands Tel 040 244 58 45 Fax 040 244 45 80 Branch Sweden Taeby Sweden Tel 08 63 80 820 Fax 08 63 80 388 United Kingdom Branch Milton Keynes UK Tel 01908 691 133 Fax 01908 670 290 NEC Electronics Hong Kong Hong Kong Tel 2886 9318 Fax 2886 9022 9044 NEC Electronics Hong Kong Seoul Branch Seoul Korea Tel 02 528 0303 Fax 02 528 4411 NEC Electronics Singapore Pte Ltd Singapore Tel 65 6253 831 1 Fax 65 6250 3583 NEC Electronics Taiwan Ltd Taipei Taiwan Tel 02 2719 2377 Fax 02 2719 5951 NEC do Brasil S A Electron Devic
36. n fn _KeyInit FD611 05414 fn_Display 1009 void 1010 FD5811 fn ClockIr 4011 FD021B 1012 1013 FD742 fn TimerIr fn VoltMet 1014 1015 1016 1018 1019 1020 1021 fn DisplayInit ClockInit fn TimerInit VoltMeterInit SensorlInit LcdTestInit fn PlayBackInit Initializati Initializati Initializati Initializati Initializati Initializati Initializati Initializati FDD627 FDCB1D FD8123 FD5125 F552E3 fn_ Sensor fn LcdTest fn PlayBac fn PowerSez ucMenuLeve 1022 fn PowerSaveinit Initializati 1023 F551E3 zou uou uu uou ou ucTopMenu LAN CF54E30 N uci00nsec 1025 1026 md HL 0 9 1027 initialize 318507 B HL 0 5 0 1028 ucTopMenu CTOP_OPENING initialize t 3653E3 1029 initialize 4 HL 0xE353 RA Fri Dec 11 15 07 06 2009 Processor Descriptor 4 62 1 50009 for 78K0R Fri Dec 11 15 07 06 2009 C SPY MINICUBE and TK 78 Emulator Driver V4 62 1 30009 for 78KOR Kickstart Fri Dec 11 15 07 14 2009 Download complete Fri Dec 11 15 07 14 2009 Loaded debugee projects 8KORL lt 3 Sense it Sample Debug Exe 8K0RLx3 SENSEIT_sample d26 Fri Dec 11 15 07 15 2009 Target reset Fri Dec 11 15
37. ndows 2000 29 Address Specification 2 Windows 2000 29 Address Specification Windows 2000 30 Driver File Search Windows 2000 30 USB Driver Installation Completion Windows 2000 VV 31 Found New Hardware Wizard 1 Windows 31 Found New Hardware Wizard 2 Windows 31 Search Location Specification 1 Windows 32 Search Location Specification 2 Windows 32 Windows XP Logo Testing Windows 33 USB Driver Installation Completion Windows 33 Windows Device 34 VEE Z I AUDE 35 WriteEZ5 Device Setup Dialogue 36 DEVICE 36 Voice Data Conversion Tool 38 IAR Embedded Workbench Startup screen 42 IAR Embedded Workbench IDE 43 IAR Embedded Workbench Debugger Settings VV 43 AR C 5PY debugger WINdOW un es dup di dud toss 44 USB interface cable Mini B type iii 45 User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it NEC List of Tables Table 1 78KOR Lx3 Sense It Switch and Jumper settings 13 Table 2 oN ModE ER c 14 SW MOSS Se de ed De ee eine 14 SNS MOSS m E 14 ne de nee ed de RO
38. nfirmation 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 78KOR LH3 LCD board the NEC Electronics Starter Kit Virtual should be present like in the figure below Please check in the Windows Device Manager within the Windows Properties Hardware tab that the driver is installed normally User s Manual U20191EE1VOUMOO 33 78KOR Lx3 Sense it NEC L Device Manager Fie Action View Help Eg ETC LABOR 4 Computer Se Disk drives Display adapters LA drives Floppy disk controllers A Floppy disk drives 3 controllers v Keyboards Mice and other pointing devices Monitors BS Network adapters 2 Ports COM amp LPT E Communications Pork COM E Communications Pork COM y ECP Printer Part LPT1 Check that NEC Electronics NEC Electronics Starter Kit Virtual UART CON Starter Kit Virtual UART COM me Processors is present SCSI and RAID controllers e Sound video and game controllers Storage volumes System devices Universal Serial Bus controllers 4 AE IRIS ERIS IS E Figure 21 Windows Device Manager User s Manual U20191EE1VOUMOO 34 78KOR Lx3 Sense it NEC 7 Flash Programmer WriteEZ5 WriteEZ5 is flash programming
39. nput to back to normal mode Sub Run Stop kitchen timer other functions and main system clock and switch the CPU clock to sub system clock LCD does not display anything while it is functioned Make a key input to back to normal mode Main Halt Stop kitchen timer and other functions and change to HALT mode LCD does not display anything while it is functioning Make a key input to back to normal mode Sub Halt Stop kitchen timer other functions and main system clock switch the CPU clock to sub system clock and change to HALT mode LCD does not display anything while it is functioning Make a key input to back to normal mode Sub Halt RTC Stop kitchen timer functions other than LCD and main system clock switch the CPU clock to sub system clock and change to HALT mode Display the LCD with constant periodic interrupt each 0 5sec Make a key input to back to normal mode Stop Stop kitchen timer and other functions and change to STOP mode LCD does not display while it is functioning Make a key input to normal mode The clock is cleared before functioning User s Manual U20191EE1VOUMOO 41 78KOR Lx3 Sense it NEC 10 IAR Embedded Workbench debug session The pre programmed sample application is also provided as an 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 78KOR Lx3 Sense it demonstrat
40. o be able to access all the product documentation Host interface USB interface that enables communication based on USB Ver1 1 or later Note Updates of the IAR Embedded Workbench for 78K documentation and or utilities for 78KORLX3 SENSEIT if available may be downloaded from the NEC WEB page s at http www eu necel com 78KORLX3 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 Adobe and Acrobat Reader are registered trademarks of Adobe Systems Incorporated All other product names are trademarks or registered trademarks of their respective owners User s Manual U20191EE1VOUMOO 12 78KOR Lx3 Sense it NEC 2 78KOR Lx3 Sense It Components The TK 78KOR 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 J swa ris pm Te Serene P MUR 22 P110 TK TBKOR LISSLUD Ai Pis P150 Ls ER P20 P2 ri m BUR Wes da En m E a JPG JPS Figure 1 78KOR LH3 LCD board top view 2 1 Operation mode settings The 78KOHR Lx3 Sense
41. on and application examples The incorporation of these circuits software and information in the design of a customer s equipment shall be done under the full responsibility of the customer NEC Electronics assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits software and information e 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 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 an 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
42. software to flash hex files to the related device For installation information refer to the chapter WriteEZ5 installation WriteEZ5 Ex Device View Help K gt Flash penning Device Flash Upen gt gt ParameterFile Reading Firmware Success Head ile gt gt COMMAND Device Setup File Read Parameter oF 1508 Version W100 Load file Date Chksum Area Connection to device Part COME Speed 1152006 Range Chip Freg Intermal 0SC Multiply 1 00 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 The parameter file prm for the uPD78F 1508 is located on the CDROM in the same folder as the WriteEZ5 setup file Please use the menu Device Setup to open the following dialogue and the button PRM File Read to select the parameter file User s Manual U20191EE1VOUMOO 35 78KOR Lx3 Sense it NEC E Device Setup Standard Advance Parameter BF1508 prm Host connection Supply oscillator Port COME Frequency Speed Multiply rate Operation Mode t Black Endl 2 Target Reset Message Figure 23 WriteEZ5 Device Setup Dialogue Please check that the correct host communication port is selected The used communicat
43. unted on the TK 78KOR LH3 LCD is used to guide the user through the available functions of the sample project 9 1 Application Overview Flowchart diagram Initialization of Hardware Initialization of each module Power supply state detection Timer processing Key processing Clock mode Voltmeter mode LCD evaluation mode Mode processing for processing processing processing Current consumption measurement Kitchen timer mode Sensor mode Voice reproduction processing processing mode processing Kitchen Timer alarm processing Key processing User s Manual U20191EE1VOUMOO 39 78KOR Lx3 Sense it NEC For information how to navigate through the program please refer to Sample project operation manual pdf available on the CDROM in the directory DocNTK78K0R 9 2 lnitialization message When the board is connect to a power supply the LCD will show up a welcome message ALL FLASH MICROCONTROLLER 78KOR LH3 STARTER KIT as a ticker until the Cursor is used to leave this init screen 9 3 Clock mode The Clock mode can be separate in two parts showing the actual time and setting up the time in a 12 or 24 hour mode The clock is displayed on the LCD and uses the RTC of the device To generate an accurate clock reference timing 78KOR Lx3 sub clock of 32 768 KHz is used 9 4 Kitchen timer mode The kitchen timer symbolizes a countdown timer where the user has to set up the countdown time first and then starts
44. ut using operational amplifier and 0 02V 0 22V with using operational amplifier 2 6 6 LED1 LED1 is LED controlled by P33 INTP3 TIO7 TOO7 It lights by outputting Low 2 6 7 LED2 This is the Power LED It lights up if power is supplied to the board 2 6 8 BUZ1 BUZ1 is a piezoelectric buzzer PS1240P02BT controlled by P32 INTP5 T101 TO01 PCLBUZO It sounds by outputting about 4 KHz pulse 2 6 9 Universal area The kit has the universal area Users can use this to develop custom circuit 2 7 LCD Panel The LCD panel has following specifications liquid crystal 1 8DUTY e 5V Drive 8COM x 50SEG 400 segment User s Manual U20191EE1VOUMOO 16 78KOR Lx3 Sense it NEC Figure 2 LCD Panel Circuit Diagram User s Manual U20191EE1VOUMOO 78KOR Lx3 Sense it NEC 2 8 LCD Drive Voltage The allowed LCD drive voltages can be selected by switches mounted to the TK 78KOR LH3 LCD board 2 8 1 Booster Type Capacitor Split Set the switches as shown below All OFF SWe Table 7 Switch settings Booster Type mode A 0 47 capacitor is connected to each terminal following methods can be selected Booster 1 3 bias method Booster 1 4 bias method e Capacitor Split 1 3 bias method fat Vic C25 C29 0 47uF 2 8 2 External Resistor Split 1 2 Bias Method 2 3 Time Sharing Set the switches as sho
45. wn below It is connected with 100K Q of resistance diagram below All ON 1 2 Bias Mode Other Mode Table 8 Switch settings External Resistor Split mode 1 2 BIAS User s Manual U20191EE1VOUMOO 18 78KOR Lx3 Sense it NEC YZ gt R18 5 100K2 Vic f AN WY 2 R21 100K2 O Vica AA Vss O 2 8 3 External Resistor Split 1 3 Bias Method 3 4 Time Sharing Set the switches as shown below It is connected with 100KQ of resistance diagram below All ON Other Mode Other Mode Table 9 Switch settings External Resistor Split mode 1 3 BIAS User s Manual U20191EE1VOUMOO 19 78KOR Lx3 Sense it NEC 2 8 4 External Resistor Split 1 4 Bias Method 8 Time Sharing Set the switches as shown below It is connected with 100K Q of resistance diagram below All ON Other Mode 1 4 bias Mode Table 10 Switch settings External Resistor Split mode 1 4 BIAS gt 100K 52 t 1 R 1 2 9 Solder Short Pads With using the solder short pad to cut connect the circuit users can customize the circuit The solder short pad looks like the picture below To open use cutter to cut the dent part To short put solder on the pad Solder short pad Solder short pad Open Short Connect port32 to the driver of buzzer Use port32 for other purpose User s Manual

Download Pdf Manuals

image

Related Search

Related Contents

MANUAL DEL PROPIETARIO Y GUIA DE SERVICIO    English user manual - Algol  Cop. Cat.Gen. (I) Rev.5 - Vendita ingrosso e dettaglio Materiale  La figure de Napoléon dans le théâtre allemand en 1808  Samsung WB550 用户手册  User manual - Pdfstream.manualsonline.com  Descargar      

Copyright © All rights reserved.
Failed to retrieve file