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

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

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.