Application porting layer for the MATTER on RAFW. This module implements the Matter Interface.
Overview
Matter is a unified, open-source application-layer connectivity standard built to enable developers and device manufacturers to connect and build reliable, secure IoT products. For more information, see the Matter website.
This module provides the lock application porting Layer for Matter V1.3 on the Renesas RAFW devices.
Features
The Matter Wi-Fi Apps module has the following key features:
- Matter application porting layer for Renesas RAFW devices
- Pre-configured Matter Lock application supports commissioning and basic opertions with Matter server or Matter hub
- Reference for developing custom applications for Matter on Renesas RAFW devices
Configuration
Configurations for Matter > Matter app-port (rm_matter_app_port_w)
This module can be added to the Stacks tab via New Stack > Matter > Matter app-port (rm_matter_app_port_w).
| Configuration | Options | Default | Description |
Clock Configuration
This module has no required clock configurations, but the user must configure the clock for the Wi-Fi module. Recommended clock configuration for this module is 160 MHz.
Pin Configuration
This module does not use I/O pins.
Usage Notes
Refer to WIFI (rm_wifi) and Matter Interface.
- This module is not a standalone module - ensure that the Wi-Fi module APIs are invoked first to configure the RAFW module and use the Matter APIs.
- Sample applications are provided in the module to demonstrate the usage of Matter APIs, which can be used as a reference for developing custom applications.
- For developing custom applications, the user should provide the cluster specific implementation from Matter Website, and ZAP generated files for the clusters.
Limitations
Refer to WIFI (rm_wifi) and Matter Interface.
- Samples provided in the module are device applications. To check the functionality Matter application, the user must have a Matter server or Matter hub to connect to the Matter device.
- CHIPProjectConfig.h from the Matter application is generated seperately as rm_matter_wifi_cfg.h file by configuration from the e2studio, which is used to configure the Matter stack. The user should modify the configuration from e2studio to change the Matter stack configuration.
- Matter application's memory usage is differ per application. For the reference, memory usage of the sample Lock application is as follows:
| Total OS Heap | Minimum ever free bytes remaining | Available HEAP space for RAFW |
| Not Connected (Wi-Fi Only) | 307200 bytes | 175344 bytes | 180720 bytes |
| Connected (Wi-Fi Only) | 307200 bytes | 169992 bytes | 210928 bytes |
| Before Commissioning | 276480 bytes | 115864 bytes | 161072 bytes |
| After Commissioning | 276480 bytes | 115864 bytes | 123488 bytes |
| During Lock Control | 276480 bytes | 115864 bytes | 123296 bytes |
Examples
Basic Example
This is a basic example of minimal use of the rm-matter-wifi-apps in an application.
void matter_apps_basic_example (void)
{
assert(FSP_SUCCESS == err);
assert(FSP_SUCCESS == err);
while(1)
{
vTaskDelay(200);
}
}