MediaTek Genio 130/130A(MT7931/MT7933) Matter Application Solution for Smart Home

Publisher:火星Latest update time:2024-03-18 Source: elecfansKeywords:MediaTek  smart home  Matter Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Matter is a popular smart home standard promoted by the Connectivity Standards Alliance (CSA), which is committed to cross-platform and cross-ecosystem to solve the connection problems between different smart home appliances and devices.
As a leading supplier of IoT chips, Mediatek also supports the Matter protocol in its Genio 130/130A (MT7931/MT7933) products, and is compatible with commercially available smart home products such as Google Nest Hub, providing more convenient smart home device connections.

wKgaomSRT2WAB_leAAfZgHTKLbg001.png


MediaTek Genio 130/130A (MT7931/MT7933) microprocessor products represented by Pinjia Group are based on the Arm Cortex-M33 architecture processor, with a clock speed of up to 300MHz and built-in up to 8MB SRAM, providing efficient computing power.
Genio 130A (MT7933) also supports wireless connection technologies such as WiFi 6 and BT 5.2, and has supported Matter technology in the new version of SDK. After integration, the product can seamlessly connect to other devices on the smart home platform across platforms, enhancing product value.
In addition, the built-in HiFi4 DSP of Genio 130A (MT7933) greatly improves the efficiency and accuracy of voice recognition. In addition to cooperating with the Cybron voice recognition database to realize local voice assistant services, it can also integrate Amazon Alexa smart voice assistant with WiFi function to provide cloud voice recognition services. Its voice assistant function also provides voice control function for Matter.

wKgaomSRT2SAC3FUAAKf0kGsooQ745.jpg



MediaTek Genio 130/130A (MT7931/MT7933), with:

  • Arm Cortex-M33 processor, 300MHz

  • Up to 8MB SRAM

  • WiFi 6 and dual-band IEEE 802.11 a/b/g/n/ac/ax 2.4G/5G connectivity subsystem

  • Bluetooth connection subsystem

  • Audio Cadence® Tensilica® HiFi4 DSP@600MHz(Note 1)

  • Hardware encryption engine (AES/DES/3DES/SHA/ECC/TRNG)

  • Power Management Unit

  • Support USB 2.0 OTG (Note 1)

  • Rich peripheral interfaces such as: USB, SDIO, SPI master/slave, I2C, I2S, UART, AUXADC, PWM and up to 46 groups of GIPO

  • Provides FreeRTOS and Arduino development SDK and multiple sample projects to shorten development time

Note 1: HiFi4 DSP and USB 2.0 are functions supported by MT7933.

This solution starts with setting up the environment, using MT793X FreeRTOS SDK v3.1.0, importing it into the Matter project connecthomeip, and compiling the Matter example lighting_app. After burning the firmware into the MT7933 development board, the MT7933 development board is connected to the Google Nest Hub as a Matter device.

wKgZomSRT2WAZl2yAAcOZPzq6ZQ541.png


Implementation process:

  1. Environment Construction

    • Operating System: Linux 22.04 or later

    • Related packages: git, gcc, g++, pkg-config, libssl-dev, libdbus-1-dev, libglib2.0-dev, libavahi-client-dev, ninja-build, python3-venv, python3-dev, python3-pip , unzip, libgirepository1.0-dev, libcairo2-dev, libreadline-dev

  1. Download connecthomeip

    • Download the connecthomeip code through the following commandCommand
      :
      $ git clone https://github.com/matter-mtk/connectedhomeip.git -b v1.0-branch
      $ cd connectedhomeip/
      $ git submodule update --init --recursive

    • Installing connecthomeip through script requires environment kit and setting environment variables
      Command:
      $ cd connectedhomeip/
      $ source scripts/activate.sh

      If the message marked as shown is displayed, it means that the connecthomeip setting is complete.

  1. Import MT793X FreeRTOS SDK

    • Get the MT793X FreeRTOS SDK and place the SDK in this path: connectedhomeip/third_party/mt793x_sdk/


  1. Compile the Matter example: lighting_app

    • Before compiling the Matter example, you need to compile the MT793X project first: matter_sdk
      Command:
      $ cdconnectedhomeip/third_party/mt793x_sdk/
      $./build.sh mt7933_hdk matter_sdk

      This project is used to apply MT7933 as the platform-side properties and related resource settings of the Matter device.

    • Compile Matter example: lighting_app
      Command:
      $ cd connectedhomeip/examples/lighting-app/genio/
      $ source third_party/connectedhomeip/scripts/activate.sh
      $ MTK_DEV=y gn gen out/debug && ninja -C out/debug
      After the compilation is completed, the firmware will be generated in out/debug/

wKgZomSRT2aAHsM8AAHWxpxQ36U008.png

  1. Burn and start the MT7933 development board
    Burn the firmware generated in the previous step to the MT7933 development board through Mediatek toolFBTool. After completion, press the reset button on the MT7933 development board to restart. At this time, MT7933 has become a Matter device and can be connected to Google Nest Hub.

  2. MT7933 development board connected to Google Nest Hub

    • Connect to WIFI AP

    • Install the "Home" APP. Open the APP

    • Connect Google Nest Hub from the tutorial steps provided by Google Nest Hub

    • Create a Google developer project and add a Matter project. This solution uses Lighting device as the Matter device
      Link: https://console.home.google.com/projects

    • Connecting to Google Nest Hub using an Android smartphone

    • Get the QR Code for connecting to the Matter device.
      You can get the QR Code URL for connecting to the Matter device from the MT7933 development version log. You can open the URL first.

    • Use the "Home" APP to add Matte devices
      Scan nearby devices through Add and Manage, and then select "Matter-supported devices".

      When the Matter device is found, use your smartphone to scan the previously opened QR Code to add the Matter device.
      After waiting for the connection to complete, set the location and name of the Matter device.

wKgaomSRT2aAKyLKAAHXESxotms962.png wKgZomSRT2eAGIBoAAHp4-oqAhA957.png wKgaomSRT2eAQNoWAAV4GOHcgrI551.png

  1. Control Matter design
    After completing the previous step, you can directly operate the lamp through the APP or voice.

wKgZomSRT2iAPHIrAAG_aLrTFy4342.png

References:

MediaTek Genio 130A(MT7933):

  • Website: https://www.mediatek.com/iot/products/genio-130

  • Datasheet: MediaTek Website

  • Set up your Google Nest device: Google Website

►Scenario application diagram

wKgaomSRT2yAW5pGAEqsJWiLgOQ806.png

► Display board photos

wKgZomSRT2eABxBQAAO6xADAJsM429.jpg


►Solution Block Diagram

wKgaomSRT2SAC3FUAAKf0kGsooQ745.jpg

►Core technology advantages

MediaTek Genio 130/130A is a microprocessor with WIFI 6/BT 5.2 wireless connection technology and supports the Matter protocol to provide a complete solution for smart home devices.

►Solution Specifications

 Arm Cortex-M33 with FPU @300MHz  Embedded 1MB SRAM + 8MB PSRAM for applications  Wi-Fi 6 1x1 5GHz and 2.4GHz  Bluetooth 5.2  HiFi 4 DSP@600MHz  USB2.0, SDIO, SPI Master/Slave, I2C , I2S, IR input, UART, AUXADC, PWM  12 channels DMA

► Related Videos

MediaTek Genio 130/130A(MT7931/MT7933) Matter Application Solution for Smart Home

Using MT7933 as a Mater device and connecting it to Google Nest Hub to demonstrate the operation and control of lamps


Keywords:MediaTek  smart home  Matter Reference address:MediaTek Genio 130/130A(MT7931/MT7933) Matter Application Solution for Smart Home

Previous article:​Guoxin Sichen | Omnipolar Hall chip AH463 can be used for electronic anti-theft locks, compatible with CC6207
Next article:Guoxin Sichen | Application of high-sensitivity omnipolar Hall AH462 in disinfection cabinets, compatible with SS3413

Recommended ReadingLatest update time:2024-11-16 09:18

MediaTek and Xin Zhilei, “Dimensity World Explorer”, join forces to open up a new world of technology
On October 9, 2024, MediaTek held a new product launch conference for its 2024 Dimensity flagship chip, officially launching the flagship 5G intelligent AI chip Dimensity 9400. At the conference, MediaTek reviewed the glorious journey of the Dimensity brand in its 5th anniversary, and looked forward to the A
[Embedded]
MediaTek and Xin Zhilei, “Dimensity World Explorer”, join forces to open up a new world of technology
OnePlus 8 series revealed to include 3 products, OnePlus 8Lite may use MediaTek platform
Recently, OnePlus officially announced that its new product will be equipped with a 120Hz high refresh rate screen. Shortly afterwards, foreign media GSMArena found a product with model number IN2023 in the Geekbench database, which is suspected to be OnePlus 8 Pro. Its Geekbench 4 single-core score is 4296 points and
[Mobile phone portable]
OnePlus 8 series revealed to include 3 products, OnePlus 8Lite may use MediaTek platform
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号