Renesas RZB-ZMD16C-ZDK user manual System Clock, Interrupts, Flash and RAM Usage, Stack RAM Usage

Page 14

Applications Engineering

6.2. System Clock

After reset, the main system clock (denoted in the spec as f1) is set up to run at 20MHz. The ZigBee stack assumes that the MCU is running at this operating frequency. Please do not make any changes to the clock.

6.3. Interrupts

The interrupt vector table is located in the ZigBee stack and real-time operating system (RTOS) program memory area (ZbROM). Therefore, you cannot implement any interrupt sub-routines other than the ones listed below. To implement your own sub-routines for those interrupts, you need to re-direct their respective interrupt vectors to the location of your interrupt service routines by calling the pre-defined functions SetxxxInt().

Available User Interrupts

Interrupt Routine Vector Set Function

Timer A0

void SetTimerA0Int(long funct_addr);

Timer B1

void SetTB1Int(long funct_addr);

UART 2 Rx

void SetUart2RxInt(long funct_addr);

INT2

void SetInt2Int(long funct_addr);

INT3

void SetInt3Int(long funct_addr);

DMA 0

void SetDma0Int(long funct_addr);

DMA 1

void SetDma1Int(long funct_addr);

6.4. Flash and RAM Usage

The memory areas shaded in turquoise are available for your use.

Table 6-2: Flash Memory Usage

Flash Address Range

Usage

 

 

0xFF800-0xFFFFF

FoUSB Monitor Area (2KB)

 

 

0xE8000-0xFF7FF

User code/const space (30KB)

 

 

0xC0000-0xE7FFF

ZbROM Area (stack and RTOS) (64KB)

 

 

0x0F7FF-0x0FFFF

User Data Flash Area (2KB)

 

 

0x0F000-0x0F007

MAC Address (Don’t Erase Block)

 

 

Table 6-3: RAM Memory Usage

 

 

 

 

 

 

 

RAM Address Range

Usage

0x2380-0x23FF

FoUSB Monitor Area

 

0x2000-0x237F

User global variable space (896 bytes)

 

 

0x0400-0x1FFF

ZbROM area, user task stack <100 bytes

 

 

0x0000-0x03FF

MCU Register Area

 

6.5. Stack RAM Usage

Try to minimize the allocation of local variables that use stack space inside of functions. Remember that your user application is running as a task in an RTOS with a limited amount of stack space allocated for it. 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 14/ 33

August 2006

Image 14
Contents ZigBee Demo Kit ZDK Table of Contents RZB-ZMD16C-ZDK User’s Manual Rev 1.2 3 August Introduction Contents of Product Package Limited Guarantee and Support ZigBee Demo Kit Setup System ConnectivityRF Sniffer Board Host Computer RequirementsRZB-ZMD16C-ZDK Boards In-Circuit Debugger and Programmer ICD RF Sniffer Interface RfsiRF Sniffer Software and USB Driver Software Development ToolsFoUSB Flash-over-USB Programmer Hardware ZDK Board RZB-ZMD16C-ZDK1. JP1 MCU U4 Power RZB-ZMD16C-ZDK Board Block DiagramRZB-ZMD16C-ZDK Board Jumper Configuration M16C/28 Group of MCUsLCD Liquid Crystal Display TimersLimitations of the ZbRom System ZigBee RFFlash and RAM Usage System ClockInterrupts Stack RAM UsageZbROM Flash Size Global Variable RAM UsageMAC Address Area ZbROM RAM SizeCustomization of Demo Program Settings Other LimitationsPin and Peripheral Limitations System Operation & LimitationsKernel ROM Monitor Introduction Memory MapRegister Name Restriction Register Operation LimitationsLimitations on Register Operation Interrupt Cause M16C/28 Vector Address Kit Specification Stop or Wait Mode LimitationsPerforming Debug Using Symbols User Program’s Real-Time CapabilityPower Supply Requirements RZB-ZMD16C-ZDK Board SpecificationsHardware Specifications SpecificationUSB Driver Problems Appendix A. Troubleshooting GuideManual Installation Cannot Connect to Target Debugging ProblemsErratic Debug Behavior WindowsTable A.3 Issues that May Arise During Debug OperationsProblem Possible Cause/s and Solution Page Appendix B. Reference Manuals Appendix C. Expansion Headers MCU Function PinMCU Function Appendix D. Board Schematic & BOM RZB-ZMD16C-ZDK User’s Manual Rev 1.2 29 August RZB-ZMD16C-ZDK User’s Manual Rev 1.2 30 August Appendix E. RZB-ZMD16C-ZDK Printed Circuit Board Figure E-1 PCB Top ViewFigure E-2 PCB Bottom View Appendix F. Other Resources

RZB-ZMD16C-ZDK specifications

The Renesas RZB-ZMD16C-ZDK is an advanced evaluation kit designed for developers and engineers focused on creating next-generation embedded applications. This development board is part of the RZ family, which is renowned for its powerful features and flexibility in various applications, including industrial automation, smart home devices, and automotive systems.

One of the standout features of the RZB-ZMD16C-ZDK is its integration of a Renesas RZ/A2M microprocessor. This microprocessor offers a high performance with an ARM Cortex-A9 core that operates at clock speeds up to 600 MHz, which enables the execution of complex algorithms and control tasks. The board boasts an impressive capability to support high-resolution graphics and touchscreen interfaces, making it ideal for HMI applications.

In terms of memory, the RZB-ZMD16C-ZDK comes equipped with substantial on-chip SRAM and flash memory, enhancing its ability to run sophisticated applications without the need for external memory interfaces. This is coupled with a generous amount of expansion options, including GPIO, ADC, and PWM functionality, ensuring that developers can easily integrate additional peripherals.

The kit supports various connectivity options, including Ethernet, USB, and serial communication protocols, enabling seamless integration into existing networks and infrastructures. Its built-in Ethernet capabilities are particularly advantageous for IoT applications, facilitating real-time data exchange and remote control functionalities.

The RZB-ZMD16C-ZDK also emphasizes ease of use for developers, featuring comprehensive software support, including the Renesas Flexible Software Package (FSP). This package accelerates development by providing pre-configured drivers and middleware, which simplifies the implementation of required functionalities.

Moreover, comprehensive debugging and development tools are included, allowing engineers to efficiently test and refine their applications without needing extensive additional resources. The availability of Kano and Renesas e2 studio IDE further enriches the development experience by providing a rich set of debugging and code analysis tools.

In summary, the Renesas RZB-ZMD16C-ZDK is a powerful evaluation kit designed with an extensive feature set and cutting-edge technology. Its combination of high-performance processing, ample memory, versatile connectivity, and robust software support makes it an attractive option for professionals seeking to develop reliable embedded solutions across various industries. The RZB-ZMD16C-ZDK stands out as a critical resource for innovation in the fast-evolving field of embedded systems.