Renesas RZB-ZMD16C-ZDK User Manual
Renesas RZB-ZMD16C-ZDK User Manual

Renesas RZB-ZMD16C-ZDK User Manual

Zigbee demo kit (zdk)
Table of Contents

Advertisement

Quick Links

Applications Engineering
ZigBee Demo
Kit (ZDK)
RZB-ZMD16C-ZDK
User's Manual
Version 1.2
August 2006
www.renesas.com

Advertisement

Table of Contents
loading

Summary of Contents for Renesas RZB-ZMD16C-ZDK

  • Page 1 Applications Engineering ZigBee Demo Kit (ZDK) RZB-ZMD16C-ZDK User’s Manual Version 1.2 August 2006 www.renesas.com...
  • Page 2: Table Of Contents

    1.0 Introduction ... 4 2.0 Contents of Product Package... 5 2.1. RZB-ZMD16C-ZDK ZigBee Demonstration Kit Item List... 5 2.2. CD-ROM ... 5 3.0 Limited Guarantee and Support ... 6 4.0 System Connectivity ... 7 4.1. Host Computer Requirements ... 8 4.2.
  • Page 3 A.3.3 Issues that May Arise During Debug Operations ... 23 Appendix B. Reference Manuals ... 25 Appendix C. Expansion Headers... 26 Appendix D. Board Schematic & BOM ... 28 Appendix E. RZB-ZMD16C-ZDK Printed Circuit Board... 31 Appendix F. Other Resources ... 33 RZB-ZMD16C-ZDK User’s Manual Rev 1.2 Applications Engineering...
  • Page 4: Introduction

    The ICD and firmware provide a convenient Universal Serial Bus (USB) interface between the ZDK boards and the host PC. This interface reduces resource requirements on the M16C/28 MCU and allows faster code downloads. It also can be used with many other Renesas Flash MCUs, starter kits, and your own Renesas MCU-based target boards.
  • Page 5: Contents Of Product Package

    2.0 Contents of Product Package This section describes the contents of the RZB-ZMD16C-ZDK product package. When unpacking your RZB-ZMD16C-ZDK, please check to see that all items listed below are included. 2.1. RZB-ZMD16C-ZDK ZigBee Demonstration Kit Item List Table 2-1 lists the items included in the RZB-ZMD16C-ZDK.
  • Page 6: Limited Guarantee And Support

    180 days from the date of purchase. Settlement is limited to repair or replacement of the product only. Renesas Technology America, Inc., does not assume any liability arising out of the application or use of any product, circuit or procedure described herein. No other liability or warranty applies, expressed or implied.
  • Page 7: System Connectivity

    4.0 System Connectivity The following lists the hardware and software products required for using the RZB-ZMD16C-ZDK ZigBee Demonstration Kit. • Host Computer (supplied by user) • Three RZB-ZMD16C-ZDK Boards • Three battery packs with AA batteries • RF Sniffer Board •...
  • Page 8: Host Computer Requirements

    Figure 4-2 ZDK Development System Connectivity 4.1. Host Computer Requirements The minimum requirement to be able to use the software that comes with the RZB-ZMD16C-ZDK is a PC with a USB port and Microsoft Windows 98, ME, 2000, or XP.
  • Page 9: Rf Sniffer Interface (Rfsi)

    Source-level debugging for assembly and C language • Single-step command (unlimited breakpoints) • Run command with 6 breakpoints* for the M16C/28 • RAM monitor function • C variable “watch” window RZB-ZMD16C-ZDK User’s Manual Rev 1.2 Applications Engineering 9/ 33 August 2006...
  • Page 10: Fousb (Flash-Over-Usb™) Programmer

    The Flash Over USB Programmer application provides In-System Programming capability for the starter kit or any target board using an M16C family flash MCU (e.g. R8C, M16C, M32C). Please see the RTA-FoUSB-MON User’s Manual for more details. RZB-ZMD16C-ZDK User’s Manual Rev 1.2 10/ 33 Applications Engineering...
  • Page 11: Hardware

    Applications Engineering 5.0 Hardware 5.1. ZDK Board (RZB-ZMD16C-ZDK) Note:The RZB-ZMD16C-ZDK board is referred to as RZB-ZMD28-BRD on the board's silkscreen and schematic drawing. Figure 5-1 shows the RZB-ZMD16C-ZDK Board with major components identified. Figure 5.1: RZB-ZMD16C-ZDK Board RZB-ZMD16C-ZDK User’s Manual Rev 1.2...
  • Page 12: Rzb-Zmd16C-Zdk Board Block Diagram

    5.2. RZB-ZMD16C-ZDK Board Block Diagram The RZB-ZMD16C-ZDK board incorporates an M30280FAHP (80-pin QFP) from the M16C/28 group of microcontrollers designated as U4. Figure 5-2 shows the RZB-ZMD16C-ZDK block diagram. P0_0...6 Xin Xout 8 characters x 2 lines LCD UART 1...
  • Page 13: Jp2: Power Led (D4) And Rs232 (U7) Transceiver Power

    Used by ZigBee stack Used by ZigBee stack Used by ZigBee stack Used by RTOS Used by ZigBee stack available Used by ZigBee stack RZB-ZMD16C-ZDK User’s Manual Rev 1.2 Default Setting Shorted Shorted 13/ 33 Applications Engineering August 2006...
  • Page 14: System Clock

    For this ZbRom system, that value is fixed and cannot be changed. You must limit the RAM space used by your local variables and function calls to less than 100 bytes. RZB-ZMD16C-ZDK User’s Manual Rev 1.2 Interrupt Routine Vector Set Function void SetTimerA0Int(long funct_addr);...
  • Page 15: Global Variable Ram Usage

    2380H 6.7. MAC Address Area Every 802.15.4 radio needs a globally unique 64-bit MAC address. Therefore, your ZDK boards have been pre-programmed with such an address. Please do not erase the Flash block that contains this address. If you accidentally do erase the MAC address, you can find .mot files with replacement addresses in the C:\Renesas\RZB_ZMD16C_ZDK\Demos\Replacement MAC Addresses directory.
  • Page 16: Customization Of Demo Program Settings

    RX_BUFF_ENTRIES 16 6.12. Other Limitations The RZB-ZMD16C-ZDK provides sophisticated debugging features at a low cost, but it does have some limitations when used with the HEW software debugger and ICD. Those limitations are described in more detail in the RZB-ZMD16C-ZDK User manual (Start > (All) Programs > Renesas > RZB_ZMD16C_ZDK >...
  • Page 17: System Operation & Limitations

    7.0 System Operation & Limitations The RZB-ZMD16C-ZDK provides sophisticated debugging features at a low cost, but it does have some limitations when used with the debugger and ICD. Section 6.1 introduces the kernel (ROM monitor) program and its purpose. The limitations when this kernel is running with the user program are listed in...
  • Page 18: Register Operation Limitations

    Port 6 and Port 6 DDR 7.5. Limitations on Interrupts - Vectors that Reside in the Hardware Vector Table Table 7-3 lists the limitations on hardware interrupt (i.e. fixed) vector addresses. RZB-ZMD16C-ZDK User’s Manual Rev 1.2 00400h User RAM Area...
  • Page 19: Stop Or Wait Mode Limitations

    To enable the [-g] option, perform the following: • Open the workspace and project in HEW. • Select [Renesas M16C Standard Toolchain] from the Options pull-down menu. • Click on the [Link] tab. • Select [Output] under the [Category] list box.
  • Page 20: Rzb-Zmd16C-Zdk Board Specifications

    2-line × 8-character LCD with KS0066 controller IC 8.2. Power Supply Requirements The RZB-ZMD16C-ZDK Board will draw about 35mA with no LEDs on. With the ICD powered from the board, the current draw will be about 85mA. The board has a 3.3V low dropout voltage regulator with an input voltage range from 3.4V to 16V.
  • Page 21: Appendix A. Troubleshooting Guide

    NOTE: If you are using Windows 2000 or XP, you will need Administrator privileges to be able to install the drivers. For cases where “Renesas FoUSB ICD” appears with a red X or yellow exclamation point in the Windows Device Manager, please try the following: 1.
  • Page 22: Debugging Problems

    If you encounter problems on installing the drivers, you can try the following: Windows 2000 a. Copy the fousb.inf and usbmon.inf files from the C:\Renesas\FoUSB\USB Drivers folder to the \WINNT\INF folder. b. Copy the fousb.sys and usbmon.sys files from the C:\Renesas\FoUSB\USB Drivers folder to the \WINNT\SYSTEM32\drivers folder.
  • Page 23: Issues That May Arise During Debug Operations

    Click the [OK] button on the error dialog box to close it. • When an Exit dialog box appears, click the [Cancel] button to close it. RZB-ZMD16C-ZDK User’s Manual Rev 1.2 Possible Cause/s and Solution Changes were made to the UART1 Special Function Registers (SFRs).
  • Page 24 Press the reset button on the ZDK board. • Click the HEW Reset icon. After initialization, debugging can resume. However, it is recommended that you download your program again before debugging. RZB-ZMD16C-ZDK User’s Manual Rev 1.2 24/ 33 Applications Engineering August 2006...
  • Page 25: Appendix B. Reference Manuals

    RTA-FoUSB-MON User’s Manual NOTE: The installer will copy all these manuals during installation. They can be accessed using the Document Descriptions file by clicking on Start > Programs > Renesas > RZB_ZMD16C_ZDK > Document Descriptions. RZB-ZMD16C-ZDK User’s Manual Rev 1.2 Document that will help you get started on using the ZigBee Demonstration Kit.
  • Page 26: Appendix C. Expansion Headers

    Appendix C. Expansion Headers The M30280FA MCU on the RZB-ZMD16C-ZDK target board is housed in an 80-pin QFP package. Pin 1 of the package is identified by a little white circle on the board’s top silkscreen. Connectors J1 to J4, located around the MCU, provide access to almost all of the MCU’s pins.
  • Page 27 CTS / /OUTC1 /INPC1 /OUTC1 /INPC1 /OUTC1 /INPC1 /OUTC1 /INPC1 /OUTC1 /INPC1 /OUTC1 /INPC1 /OUTC1 /INPC1 /OUTC1 /INPC1 INT /INPC1 /IDU /IDW INT / /IDV RZB-ZMD16C-ZDK User’s Manual Rev 1.2 /SCL /SDA Applications Engineering MCU Function AVss AVcc OUT4 August 2006...
  • Page 28: Appendix D. Board Schematic & Bom

    The circuit board schematic and Bill-Of-Materials (BOM) are available as separate PDF documents. They can be accessed through Start > Programs > Renesas > RZB_ZMD16C_ZDK > Board Hardware, or by browsing to the folder C:\Renesas\RZB_ZMD16C_ZDK\Docs\ ZDK_Manuals and opening the files: RZB_ZMD28_BRD_BOM.pdf...
  • Page 29 AVcc Voltage 16.0V 3.4V Input RZB-ZMD16C-ZDK User’s Manual Rev 1.2 3.3K 3.3K 3.3K 3.3K AVss 29/ 33 Applications Engineering August 2006...
  • Page 30 RZB-ZMD16C-ZDK User’s Manual Rev 1.2 30/ 33 Applications Engineering August 2006...
  • Page 31: Appendix E. Rzb-Zmd16C-Zdk Printed Circuit Board

    Applications Engineering Appendix E. RZB-ZMD16C-ZDK Printed Circuit Board Figure E-1: PCB Top View RZB-ZMD16C-ZDK User’s Manual Rev 1.2 31/ 33 August 2006...
  • Page 32 Applications Engineering Figure E-2: PCB Bottom View RZB-ZMD16C-ZDK User’s Manual Rev 1.2 32/ 33 August 2006...
  • Page 33: Appendix F. Other Resources

    1. For details on how to use the In-Circuit Debugger and Programmer, please see the RTA-FoUSB-MON User’s Manual (Start > (All) Programs > Renesas > RZB_ZMD16C_ZDK > RTA-FoUSB-Mon Manual). 2. For updates and other evaluation tools and sample programs for the RZB-ZMD16C-ZDK Kit, see: http://america.renesas.com/zigbee RZB-ZMD16C-ZDK User’s Manual Rev 1.2...

Table of Contents