Skip to content

leszekgrzegorek/mt3620_m4_software

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaTek MT3620 M4 Driver & Real-Time Application Sample Code (Beta)

Current Status

  • Avaiable sample code
    • FreeRTOS: GPIO / GPT / UART / SPIM / PWM / I2C
    • Bare Metal: GPIO / Hello World
  • Known Issue
    • DMA is not working.
      • Caused by Azure Sphere OS firewall setting problem, issue reported to Microsoft.
    • External interrupt is not working.
      • Caused by Azure Sphere OS firewall setting problem, issue reported to Microsoft.
    • SPI slave is not working.
      • App Manifest file does not support SPI slave, issue reported to Microsoft.

To clone this repository:

git clone https://github.com/MediaTek-Labs/mt3620_m4_software.git

Description

This repository maintains the MT3620 M4 driver and real-time application sample code, which divided into the following directories:

  • MT3620_M4_BSP/
    • This folder includes the CMSIS-Core APIs and the configuration of interrupt vector table.
    • Current BSP supports Bare Metal and FreeRTOS.
  • MT3620_M4_Driver/
    • The MT3620 M4 driver provides the APIs to access the peripheral interfaces, ex GPIO / SPI / I2S / I2C / UART...
    • This driver could be divided into two layers
      • Upper layer: M-HAL (MediaTek Hardware AbstractionLayer), which provides high-level API to real-time application.
      • Lower layer: HDL (Hardware Driving Layer), which handles the low-level hardware control.
  • MT3620_M4_Sample_Code/
    • This is the executable CMake project sample code which utilizes the M-HAL APIs to access the peripheral interfaces.
    • Both Bare Metal and FreeRTOS sample code are included.

Please refer to the MT3620 M4 API Reference Manual for the detailed API description.
Use of the real-time cores is currently a Beta feature.

Prerequisites

About

mt3620_m4_driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.5%
  • C++ 7.9%
  • CMake 1.2%
  • Makefile 0.4%