Home

User Manual

image

Contents

1. Renesas Flash Programmer user manual 3 2 Programming the board using E1 Emulator Note To programming the board using EI Emulator configure the El Emulator as shown in the section 2d Step 1 Build the workspace as shown in below image GJ RL78G13 Blinky CubeSuite iy Cy KS 5 Rebuild Project Shift F7 id Clean Project Rapid Build oe Update Dependencies r_it c 2f r_port c 7 4b x umns Y Mi ic E Build RL78G13_Blinky J Rebuild RL78G13_Blinky Le Clean RL78G13_Blinky t user code Do not ed SE a2 Update Dependencies of RL78613_Blinky Stop Build Ctrl F Code Gene E r main _ AL syste BY regee Ty Build Mode Settings Batch Build user code Do not edit Build Option List 78 Start user code for adding Do not 79 End user code Tie nat edit comment i c_ rwdt_user c 1 i 2 h r_cg_macrodriwer h s r_cg_userdefine h 4 i H F Op FE Re F3 Fin F Re F5 Go _ FE Buil F7 Buil FE ign FE Set FIE Ste FP Ste B Jum Builds the project 63 Line 22Column Inset Western European Windows mtr DISCONNECT Fig 16 Step 2 After configuring the Emulator E1 Emulator connect the Debug tool E1 Emulator to the workspace as shown in below image 13 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Ignore Break and Go F sea se Ar Ste
2. Operation mode setting High speed main mode 2 4 V lt VDD lt 5 5 V Low speed main mode 1 8 V lt VDD lt 5 5 V Low voltage main mode 1 6 V lt VDD lt 5 5 V EVDD setting 27M lt EVDD lt 55M 1 8 M lt EVDD lt 55 M 1 6 M lt EVDD lt 55 M Main system clock fMAIN setting a ion High speed OCO clock setting I Operation T C oe High speed system clock setting X1 oscaton 9 Cliar soo roa gt Frequency CZ MH lt m Output ax Fig 25 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Ay Reflect in Pin cE Generate Code E am E PO E RL78G13 Timer Internal low s dintion clock 1 setteng __________ AE RSFLOOAD pee ow speed oscillation IL setting ag Code Generator Design Tool Frequency Clock Generat Port g RTC and interval timer operation clock setting or i Interrupt RTC and interval timer operation clock 115 FIL mW Serial E e E im A D Converter ai eet Goao W Timer pen pa w Watchdog Timer lit Real time Clock a Interval Timer W Clock Output Buzzer Output li DMA Controller lil Voltage Detector jFt Open F2 Rena Fa Find E Repla E2 Go FE Build F Build PB lgnor FP Set D_ F Step F M Step In Fi Jump conc Fig 26 File Edit View sats Build Tool Window Help Ro eg Project Tree 1 x Fe Prop
3. User Manual BLUEBOARD RL78 G12 G13 G14_30pin NEN TECHNOLOGIES BlueBoard RL78 G12 G13 G14_30pin Fig 1 1 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin About NGX Technologies NGX Technologies is a leader in embedded microcontroller product development We supply reference designs and evaluation modules to silicon companies Our customers include industry leaders like NXP and RENESAS Our core business is in helping our customers realize their embedded products Contact Information NGX Technologies Pvt Ltd No 216 5th main Road R P C Layout Vijayanagar 2nd Stage Bangalore 560 104 Phone 91 80 40925507 email sales ngxtechnologies com 2 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Table of Contents A ING TRODUCTION a oars a tecneesace E E E E 4 2 0 BLUEBOARD RL78 G12 G13 G14_30pin Development Tool Setup ee ccccccccceeeeeeeseeeeeeeees 5 D7 AL ME I CO OCF a cess jis scene uscssdacdaccetacusecntuaccene teow oanssictaliqouss anes saeeen AE S 5 2 2 Installation amp Configuration of CUBESUITE software 0 0 0 0 ccseccssecceeecceeseesseececeeeeeaaeeeeeeeees 5 20 i 2 A Om or Eh Te a O eaen esaa a 11 3 0 BLUEBOARD RL78 G12 G13 G14_30pin Programming eeeeesssssssseeersssssssseerrssssssssserrrsssssssees 13 LEPO Op O e E E EE 13 3 2 Programming the board using El Emulator snn ensesssseoennsssssssseeerrsssssssseeersss
4. Evo i Saves the specified item s to file 59 Line 22 Column Insert Western European Windows Ei DISCONNECT Fig 32 Step 10 To build and download the code follow the steps in section 3 2 22 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Nia _ TECHNOLOGIES 5 0 Schematic amp Board Layout 5 1 Schematic This manual will be periodically updated but for the latest documentations please check our website for the latest documents The Board schematic and sample code are available after the product has been registered on our website 5 2 Board layout E om E1 EMULATOR ar mi a ma in ch EL T un T ct Ls m Co ynm Lid a i aia Dis lgned by Waic HAN Eia At POT au LEG E E Last shan e me Co Ee ji Ll RESET 2 a4 i Hin L C USER SWITCH Fig 33 23 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin 6 0 CHANGE HISTORY 6 1 Change History Rev Changes Date dd mm yy By Initial release of the manual 28 05 2012 Veeresh Tumbaragi 7 0 REFERENCES In addition to this document the following references are included on the NGX BLUEBOARD RL78 G12 G13 G14_30pin product and can also be downloaded from www ngxtechnologies com E NGX BLUEBOARD RL78 G12 G13 G14_30pin schematic for the Development board Additional references incl
5. Hash Programmer V1 03 01 Installing Installation completed successfully Integrated Help V1 02 00 Installing Installation completed successfully USB Driver for MINICUBE V1 10 01 Installing Installation completed successfully USE Driver for 78860 IECUBE V1 10 01 Installing Installation completed successfully USB Driver for AL78 78K0R IECUBE V1 10 01 Installing Installation completed USB Driver for V850 IECUBE V1 10 01 Installing Installation completed successfully USB Driver for V850 IECUBE V1 10 01 Installing Installation completed successfully USB Driver for V650 MINICUBE V1 10 01 Installing Installation completed successfully USB Driver for Renesas E Series V1 01 00 Installing Installation completed successtulh The installation was completed Please click Next button A Gort Installations CubeSuite e E Cancel Fig 11 Step 11 Click on Finish to complete the installation Installer step 8 8 Setup Completion Setup is complete Click Finish to exit setting All installations were completed successtully The latest product update information can be checked when the Launch Update Manager is checked Installation skipped The same version has been installed Cube Suite V1 02 00 ba J Launch Update Manager CubeSuitet Back Fish gt Eancel Fig 12 10 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pi
6. 8 G12 G13 G14_30pin Step 2 Click on Run Open File Security Warning Do you want to run this file a Name Suite Vatest CubeSuitePlus_Package_V10200 exe Publisher Renesas Electronics Corporation Type Application From F Technical Renesas cubesuite Renesa_ Cubes you trust What s the risk Fig 3 Step 3 Click on Begin CubeSuite Setup the Renesas Electronics microcontroller development tools installer Readme First Japanese CubeSuite Thank you for purchasing CubeSuite The folowing document provides information about CubeSuitet development tool components his includes summaries and operating precautions Please read this document before using CubeSuite Read me first Readme PDF will not be installed Please save it to your PC Adobe Reader is required to view this file Please visit Adobe Systems Incorporated s web site for more information Click the button below to start CubeSuite setup application e Microsoft NET Framework 3 5 SP1 and Microsoft Visual C 2008 SP1 runtime libraries are required to run CubeSuite If these are not installed these are installed by the CubeSuite setup Fig 4 6 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Step 4 Click on Next i Renesas Electronics Microcontroller Development Tools Installer step 1 8 Welcome to the Renesas Hectronics Microcontroller development tools setu
7. are provided with the available kit Steps to execute the sample projects 1 Open the project folder 2 Then open the file project_name mtpj eg RL78G13_Blinky mtpj gt BB RL78G13_Timer_Blinky gt Search BB RL78G13_Tomer_Blinky Organize v Open in CubeSuite v Burn New folder a 6 Cc A A zr Favorites J r_cg_it_user r_cg_macro r_cg_port r_cg_port r_cg_pormt_u r_cg_userde ME Desktop driver ser fine P Downloads t i Recent Places wz Libraries r_cg_wdt rcge r_cgc_user A r_it_user r_Ik dr Homegroup r_main r_port r_port_user r_systemini r_wadt r_wdt_user jM Computer i amp 05 c a New Vol F Fa a New Volume F a New Volume G cow Microsoft Office Click to RL78G13_BIl RL78G13_BI inky inky NGX12 G Network v mtud 6 RL78G13_Blinky Date modified 01 06 2012 15 16 Date created 07 03 2012 11 23 MTPJ File Size 175 KB Fig 19 15 www negxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin 3 This launches the IDE File Edit View Project Build Debug Tool Window Help iS stort L 6 OO ee 8 ae ee x r_cg_userdefine h Pe Code Generator Preview sa Columns Project void main void 4 R5FLOOGE eae H i m D Code Generator Design Tool i Start user code Do not edit iia a Too 2 oe R IT Start gt while 10 a F aie a Code Generator c r_main c E End user code Do not edit ceo r_systeminit c oh re
8. d by reusing the file pn registered to an existing project Save Project and Development Tools as Package Drop here to op a file mtp Fig 22 Step 3 Select the controller and fill all the fields then click on Create to create new project Microcontroller E o Using microcontroller A Search microcontroller E R5F1007D 24pin Product prea ae R5F1017D 24pi Internal size KBytes 2 adeliae Internal RAM size Bytes 3072 F in R5F100AD 30pin me E R5F100BD 32pin 3E R5F101BD 32pin Kind of project Application CA78KOR Bi Project name RL78_Blinky Place C Users NGX12 Desktop x Make the project folder C Users NGX12 Desktop RL78_Blinky RL78_Blinky mtpj E Pass the file composition of an existing project to the new project Project to be passed Input pro ect file to be diverted v Browse _ Copy composition files in the diverted project folder to a new project folder i Fig 23 Note For BlueBoard RL78 G12 board select RSFIO2AA 30pin controller for BlueBoard RL785 G14 select RSF IO4AE 30pin controller 17 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Na Step 4 To generate the code using code generator first you need to generate code for clock To generate Code for clock double click on clock generator option select the requires settings for pin assignment clock setting on chip debu
9. erty RE Code Generator sal Code Generator Preview x 8 GB Reflect in Pin Seams Re ee Pa Oo RL 8G13 LED Blink a Clock settir 4 lt aA RSFLOOLE Microcontroller m T ea Code Generator Design Tool ATLITI TEESE lt n IA Unused SU w Port RRM function setting W Interrupt ey a W Serial Te ev Tenet me A D Converter Security ID setting Timer Use Security ID Watchdog Timer Securty ID 000000000000000000000 w Real time Clock P Interval Timer Security ID authentication failure setting Clock Output Buzzer Outp Biers tne ee J DMA Controller Erase flash memory data Voltage Detector A CAJ8KOR Build Tool gis RLT8 Simulator Debug Tool vI oe Program Analyzer Analyze Tom h Pall cite H i CA e aaa jae i a a nate a Fig 27 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin TECHNOLOGIES Step 5 Double click on Watchdog Timer select unused then click on Generate Code as shown in below image File Edit View Project Build Debug Tool Window Help H g ga C ae ae o FE RL78G13 Timer Led Project Watchdog timer operation setting LE RSFLOOAD Microcontroller aa Code Generator Design Tool Glin E Clock Generator li Operation in HALT STOP mode setting Enabled Overflow time setting Overflow time 4369 07 2 1641L Window open penod setting Window open period 100 Interval Timer J setting W Clock Output Buzze
10. etup for CUBESUITE and El EMULATOR as the IDE and debugger respectively Other tool options that could be considered are gt El Emulator and High Performance Embedded Workshop 2 2 Installation amp Configuration of CUBESUITE software The Installation of CubeSuite software is explained below Note We have used CubeSuite version V1 02 00 while creating the User manual for this evaluation kit Please ensure that you are using CubeSuite version V1 02 00 or above Step 1 Open the CubeSuite setup Renesa_CubeSuite latest Organize Open Burn New folder Hil sir Favorites Name Date modified Type ME Desktop gi Cube SuitePlus_ Package O00 ewe LS Bool atio pn El Recent Places a Run as administrator Troubleshoot compatibility 7 7ip BE Desktop Wr a Left File for Compare B Ashwin H Tortoise Ti j 1E Computer B Add to archive Gi Network 3 Add to CubeSuitePlus_Package_V10200 rar JEE ASHWIN PC 3S Compress and email ji DEEPAK 3S Compress to CubeSuitePlus_Package_V10200 rar and email JE MARTIN Extract files jl NAGARAI PC O gt MB it Extract to CubeSuitePlus Package _V 10200 in JS Open with WinRAR IB NGX13PC Pin to Taskbar i NGX14PC Pin to Start Menu SE nex15Pc Restore previous versions oe PARAN C aae JE RAVI VM R j vinavyo f aft gt se CubeSuitePlus Package _V10200 exe Dat Bead Application E E 5 www ngxtechnologies com User Manual BLUEBOARD RL7
11. g settings then click on Generate code option as shown in below images Ri78G13 LED Blinky C x So PERG a es od Wadon Hcp E stat eX Be Oo ae ab th 4 O EEEE Project Tree A X 5 3 E W RL78G13 LED Blin RSFLOOLE BES A Watchdog Timer W Real time Clock k Interval Timer k Clock Output Buzzer Output lit DMA Controller neW Voltage Detector CATSEOR Build Tool RL78 Simulator Debug Tool UL When it s once it isnt possible to change it later it s necessary to make a project again to change it Tae oo ee Euro S RL78G13 LED Blir sS Tes DISCONNECT File Edit View Project Build Debug Tool Window Help R stat BE Xx So i SO pS 8 Project Tree a x EF g WR RL78G13 LED Blinky Project R5F100LE Microcontroller E Code Generator Design Tool 48 Clock Generator E Watchdog Timer a Real time Clock w Interval Timer Clock Output Buzzer Output uli DMA Controller Voltage Detector LA CA78KOR Build Tool c RL78 Simulator Debug Tool P Program Analyzer Analyze Tool sD File E Build tool generated files 8 Startup 18 Fig 24 n rr Cace DO a ga Se 8 Bh Oy cz ce A Property sil Code Generator Code Generator Preview x as Reflect in Pin ce Generate Code E were M AE OE Pin assignment Coc sang Or chip debug seting Gorin reset sonce Saicy incim
12. g_macrodriver h wh r_ceg_userdefine h h r cg_cgc h 3 h_ r_cg_port h b_ reana ith mW 57 Line 16Cclumn Insert Western European Windows Eia DISCONNECT Fig 20 4 To build and download the code using E1 emulator follow the steps in section 3 2 4 2 Creating sample blinky project in CuibeSuite Follow the below steps for creating blinky project Step 1 Open the CubeSuite IDE n File Edit View Project Build Debug Tool Window Help sot ET ATT T ee a 1 SOc q x N Start v Leam About CubeSuite a We recommend reading the tutorial to find out what can be done in CubeSuite The tutorial contains the information on how to effectively use CubeSuite Create New Project B A new project can be created A new project can also be created by reusing the file J configuration registered to an existing project Drop here to open the project file mtpj v F Open F Rena F3 Find F Repl F amp Go FE Build F Build FB ignor F9 SevD_ FAP Step F Step HB Jump ig DISCONNECT Fig 21 16 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Step 2 Click on to the Project tab Create New project d Open Project Favorite Projects Add Wis Set Project as Active Project He Close Project airs Save Project Ctrl Shift S Save Project As ect can be created Remove from Project Shift Del ect can also be create
13. ity for the consequences of use of such information NGX Technologies reserves the right to make changes to information published in this document at any time and without notice including without limitation specifications and product descriptions This document replaces and supersedes all information supplied prior to the publication hereof Trademarks All referenced trademarks product names brands and service names are the property of their respective owners 25 www nextechnologies com
14. m the handling or use of the goods Due to the open construction of the product it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge 24 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES NGX Technologies currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive NGX Technologies assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein Please read the User s Guide and specifically the Warnings and Restrictions notice in the User s Guide prior to handling the product This notice contains important safety information about temperatures and voltages No license is granted under any patent right or other intellectual property right of NGX Technologies covering or relating to any machine process or combination in which such NGX Technologies products or services might be or are used Disclaimers Information in this document is believed to be reliable and accurate However NGX Technologies does not give any representations or warranties expressed or implied as to the completeness or accuracy of such information and shall have no liabil
15. microcontrollers Drive C Free space W Emulator USB drivers 75 993 318KB Required space W Tools for V850 microcontrollers C Program Files Renesas Hlectronics Browse M CubeSuite Fig 7 Step 7 Click Next w Installer step 5 8 License Registration License Key Registration By clicking the button to the right you can register the product license key You can also register a license key after installation CubeSuitet lt Back C net gt J Cancel Fig 8 8 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Step 8 Click Next T Installer step 6 8 Installation Settings Confirmation Setup is now ready to install Cube Suite on your computer F the newer version is already installed the older version may not be installed Tools for RL 8 and 78K microcontrollers Tools for RX mi JE Tarik for VESO ae Emulator USB drivers Install location C Program Files Renesas Hectronics CubeSuite lt Back Net gt Cancel Fig 9 Step 9 Wait to complete the installation of all the required drivers T Installer step 7 8 Installation Execution CubeSuite V1 02 00 Installing CubeSuitet Back Herts ance Fig 10 9 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Step 10 Click Next Installer step 7 8 Installation Execution Renesas
16. n NNN TECHNOLOGIES 2 3 Configuration of E1 Emulator Connecting the E1 Emulator to the target board is as shown in the below image stENESAS El Fig 13 The configuration flow of E1 Emulator is explained below Step 1 Open the CubeSuite Workspace then right click on the Debug Tool option click on Using Debug Tool select RL78 E1 Serial as shown in below image G RL78G13_Blinky CubeS oh So File Edit View Project Build Debug Tool Window Help RW stot D8 X BOC BS 0 ae B41 eo f 7 EFE Project Tree it a Code Generator f r_main c El r_it_user c gt 8 a amp Columns FS RL78G13 Blinky Project alles WOOO RSFLOOGE Microcontroller 86S void main void 6 e Code Generator Design Tool ig 66 Ei A CAT8KOR Build Tool Pe MEAE eee Seen ee ee ee w 8 by RLBIECUBE FO 5 0 File Z Property RL78 E20 Serial F RL78 EZ Emulator i B r_systeminit c E 78KOR Simulator T 2 1O s a m a m 5 m 9i O H Bd rege Output a x EOF s 2 h r_cg_macrodriver h fee h r_cg_userdefine h lt nm j All Messages re F Op F Re F2 Fin F Re F5Go_ FE Buil F Buil FB lon FS Set FaBSte F Ste FB Jum aig DISCONNECT Fig 14 11 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin NaS Step 2 Right click on Debug Tool option click on propert
17. nerator T 20 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Step 7 Generate the code for Interval timer as shown in the below image O aurasta Tiner at cuneate eters WN E ue Lucian File Edit View Project Build Debug Tool Window Help E stat E AE aBa ala a 3 GH Reflect in Pin i GenerateCode se w FOLD w If R RL78G13 Timer Led Project ieee R5FLOOAD Microcontroller a ng g eii Code Generator Design Tool Unused ral Clock Generator Interval timer value setting Interval value al Interrupt oe Interrupt setti ia Serial hs W A D Converter ee ult Timer Priority ult Watchdog Timer uli Real time Clock Interval mers a Clock Output Buzzer Output DMA Controller lit Voltage Detector Ay CAT8KOR Build Tool m All Messages FE Build F Build FB Ignor F SevD W Step FT Step In FR2 Jump t sa DISCONNECT Fig 30 Step 8 Write the blinky code in the generated code For blinky code refer RL78G13_Timer_Led sample program SS bd S43 Project Tree 3 3 gt 7 Columns o include r cg userdefine h m P Code Generator Design Tool fa J HH HH HH HR HHH HHH EHH HEE HHH ERRHH RRR HR EHH HEE A CA78KOR Build Tool Global variables and functions i KKH HEE HHH HH HME HERE HHREHHRRRHAAERERAEEEAHREERAHARSE ESN RL78 E1 Serial Debug Tool me ram Analyzer Analyze Tool S
18. p In A File B0 Startup Dn Eb q Code Generator Return Out CPU Reset Restart Shift F6 Shift F5 F3 F F11 F10 Shift F11 Ctrl F5 r_port c r code Do not ed code Do not edit TE H Start user code for adding Do not EL End user rode r_cg_macrodriwer h rcg_userdefine h r Te nat edit comment Performs the connection t 63 Line 22 Column Insert Western European Windows cia DISCONNECT Step 3 After success of the connection click on Download to download the code into target board as shown in the below image To run the code press F5 Build amp Download 1 Connect to Debug Tool Upload Disconnect from Debug Tool Stop Go a Code Generator pee i qe ose CA7BKOR Tooth D Ignore Break and Go D eens ein ral Step In bu Of Fite sx Startup Step Over S a Code Generator Return Qut as Se CPU Reset Haii fe r_wdt_user c reg_macrodriver h he reg_userdefine h Restart Shift F6 Shift F5 F5 F8 F11 F10 Shift F11 Ctrl F5 code Do not ed code Do not edit TE ar Start user code for adding Do not 79 Flf End user code Do nat edit cement Downloads the program t 63 Line 22Column Insert Western European lanla Gita DISCONNECT 4 14 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin NEN TECHNOLOGIES 4 0 BLUEBOARD RL78 G12 G13 G14_30pin Software Development 4 1 Executing the sample projects The sample projects
19. p program CubeSuite V1 02 00 12 Apr 2012 2010 2012 Renesas Electronics Corporation Note CubeSuite lt Back Nets 9 Cancel Fig 5 Step 5 Accept the end user license agreement and click Next T Installer step 2 8 Software License Agreement THE END USER LICENSE AGREEMENT Please read the following end user license agreement THIS SOFTWARE LICENSE AGREEMENT made and entered into by and between Renesas Hectronics Corporation a Japanese comoration having its principal place of business at 7 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan LICENSOR and the Customer LICENSEE with the following tems and conditions about the provided software program Licensed Program SECTION 1 LICENSE 1 1 Subject to complying to the tems and conditions set forth herein and executing only for develop the other program as executing the fights and licenses relating to the Licensed Program LICENSOR grants to LICENSEE non exclusive and non transferable rights relating to the Licensed Program set forth in follows Do you accept to the end user license agreement Do not accept CubeSuitet lt Back Qne 9 Canc Fig 6 7 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Step 6 Click Next i Installer step 3 8 Development Tools Selection Please specify the development tools to install Tools for RL78 and 78K microcontrollers I Tools for RX
20. r Output i man Controller Ma R orfes r piron rese Fran Pr FPSO isa san e TA DISCONNECT Fig 28 Step 6 Generate the code for port and pin which is connected to user LED On this board the port is 1 and pin is 6 Double click on port click on port1 select pin 6 as output and click on generate code as shown in the below image G3 RL78G13_Timer_Led CubeSuite Code Generator File Edit View Project Build Debug Tool Window E stot Ab xs Bi oo E ae 2 Bo OCON Ns I ol Sl dg Project Tree a x 3 a CRAON Timer Led Proiecd Poach Por Jeor rons Fona irons Pone Fonz rons Fona P10 aac Linie Generator Design Tool i be Clock Generator Unused In Out E Pullup PI SS S_ oe W Interrupt EY Unused In Out E Pull up Lull Serial sy pig_ _ A X Ww A D Converter Unused In Out Fulup O Ne ve W Timer a z E ee T a bead Unused hn Ot Pl Puup E TTLbuer E Ne k Real time Clock n i i ee i Interval Timer phe 2 a Clock Output Buzzer Output oe Unused In Out C Pull up C TTL buffer C Ne K DMA Controller C a E i gil Voltage Detector Unused O In H Out E Pull up E TTL buffer E Ne oo Ap CA78KOR Build Tool Pp _ _ ee N ty og RL78 El Serial Debug Tool Unused In Pull up TTL buffer ey Program Analyzer Analyze Tool PV ay File A pelle 2 oe FA Startup Output 1 x ET Code Ge
21. ssssseereessssssseeeeesssss 13 4 0 BLUEBOARD RL78 G12 G13 G14_30pin Software Development ee eccececcceeeeeeeeseeeeeeees 15 4T Execunns EM sample KOI CCUG serie rroi oar E E E S E A 15 4 2 Creating sample blinky project in CuibeSuite enessessseooeersssssssseerrsssssssecererssssssssereresssssseeeeees 16 OA nemne Se bona Ea O E E E N 23 T VAG a E E E E E 23 3 BOI WAY OUN s saactadicvesasaasdataatacrenssaaaaed een E T EEE E E E E E E 23 CO CHAAN GE HS TOR a E E E gees ARE E EAE AEA ANE EEE 24 E CAS E o E E E E E E E 24 PATE Te NGS reren E E E E E E E A A E EE 24 3 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin 1 0 INTRODUCTION This document is the User Manual for BB RL78 G12 G13 G14_30pin a cost effective evaluation platform for RENESAS s RL78 G12 G13 G14_ 30pin MCUs This document reflects its contents which include system setup debugging and software components This document provides detailed information on the overall design and usage of the board from a systems perspective Before proceeding further please refer the quick start guide for BB RL78 G12 G13 G14_30pin features and hardware verification For BB RL78 G12 G13 G14_30pin quick start guide Click here 4 www nextechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin NN _ TECHNOLOGIES 2 0 BLUEBOARD RL78 G12 G13 G14_30pin Development Tool Setup 2 1 IDE and debugger The following sections will explain the s
22. tart user code for jglobal Do not edit comment ge End user code Do not edit comment generated here HHI IH HH IH HH HHI HHH HHH HEI HHH HHH EHH HERE H HE Function Name main Description This function implements main cunctsE Arguments None Return Value None EHR HR E HR REEHRREEHREEEHHREEHRREERARRERRARES A r_cg_macrodriver h h r_cg_userdefine h void main void 55 Line 24Column Inset Western European Windows gia DISCONNECT Fig 31 21 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin Step 9 After writing the code save the code as shown in the below image SAE O l M File Edit View Project Build oe Tool Window Help GX Start Q ao Ba a ga cad Ebel Saves the specified item s to file Ctrl To R5FLOOAD re E a Code Generator Design Tool nA CAT amp EOR Build Tool ee RL78 El Serial Debug Tool oe Program Analyzer Analyze Tool ae g m Code Generator 5 r main c r_systeminit c r_cg_macrodriwer h r_cg_userdefine h r_cg_cge h r_cg_port h h_ rcg_it h a aE opan E Re ee eee ee ee eee ae eee eee eo eee eee ee Function Name main Description This function implements main functi Arguments None Return Value None Ce ee ee void main void R IT Start Start user code Do not edit comment voces while 10 Foner Fevers Farid Piri JPico raeo Pts Fon FS Sen Fisen
23. ude Information on development tool being used CubeSuite http sg renesas com products tools ide ide_cubesuite_plus About this document Revision History Version V1 0 author Veeresh Tumbaragi Company Terms amp Conditions Legal NGX Technologies Pvt Ltd provides the enclosed product s under the following conditions This evaluation board kit is intended for use for ENGINEERING DEVELOPMENT DEMONSTRATION and EDUCATION OR EVALUATION PURPOSES ONLY and is not considered by NGX Technologies Pvt Ltd to be a finished end product fit for general consumer use Persons handling the product s must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards This evaluation board kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility restricted substances RoHS recycling WEEE FCC CE or UL and therefore may not meet the technical requirements of these directives or other related directives The user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies NGX Technologies from all claims arising fro
24. y and set the property value as shown in below image Saex File Edit View Project Build Debug Tool Window Help Gi Start J z e es E N g g TAE a MEO O Mi TE Project Tree a x r_cgc c rcac_us _ Za Property gt 4h x gt 8 _RL78 E1 Serial Property E L RL78G13 Blinky Project JE RSFLOOGE Microcontroller a Code Generator Design Tool a CAJBKOR Build bia RLS Eliasi fab a Using Debug T Tool h_ r_cg_macrodriver h baw r_cg_userdefine h Displays Properties panel E Internal ROM RAM Size of internal ROM KBytes 64 Size of internal RAM Bytes 4096 Size of DataFlash memory KE 4 E Clock Main clock frequency MHz 12 00 Sub clock frequency kHz 32 768 Monitor clock System E Connection with Target Board Communication method 1 line type TOOLD Power target from the emulat Yes OV Fa DISCONNECT Fig 15 Note Target Board can be powered through Emulator or External DC power supply When you powered the board through Emulator make sure that the External power supply is not connected 12 www ngxtechnologies com User Manual BLUEBOARD RL78 G12 G13 G14_30pin NTA _ TECHNOLOGIES 3 0 BLUEBOARD RL78 G12 G13 G14_30pin Programming 3 1 Programming options BLUEBOARD RL78 G12 G13 G14_30pin can be programmed using the gt Emulator E1 Emulator with CubeSuite gt El Emulator with Renesas Flash Programmer Programming using Renesas Flash Programmer with E1 Emulator Please refer

Download Pdf Manuals

image

Related Search

Related Contents

Operating Instructions  Klicken Sie hier  取扱説明書  TRAGBARER DVD-SPIELER BENUTZERHANDBUCH  Arat 1253 holder  Manuel d`utilisation du J  SmallBase Corisoft  MagCore® Viral Nucleic Acid Extraction Kit    RS-232 Controller / Multi-Display Controller User Manual  

Copyright © All rights reserved.
Failed to retrieve file