M3H Group Sample Software

This page provides a sample software download service for the M3H group.

M3H Group(1)

Please check the target product and function list, and download the appropriate file.

Product Name

Please check the target product. TMPM3HxFxAxFG

TMPM3HQFDAFG TMPM3HPFDAFG TMPM3HNFDAFG TMPM3HMFDAFG TMPM3HLFDAUG
TMPM3HQFZAFG TMPM3HPFZAFG TMPM3HNFZAFG TMPM3HMFZAFG TMPM3HLFZAUG
TMPM3HQFYAFG TMPM3HPFYAFG TMPM3HNFYAFG TMPM3HMFYAFG TMPM3HLFYAUG
TMPM3HPFDADFG TMPM3HNFDADFG
TMPM3HPFZADFG TMPM3HNFZADFG
TMPM3HPFYADFG TMPM3HNFYADFG

(*) This sample software operates on the evaluation board of TMPM3HQFDAFG. If a function other than that of the TMPM3HQFDA is to be checked, the CMSIS Core-related files (C startup file and I/O header file) must be changed properly. The BSP-related file is dedicated to the evaluation board (TMPM3HQFDAFG). If a function other than that of the TMPM3HQFDA is to be checked, the BSP-related file must be changed properly.

Peripheral Sample Software

Basic operation of peripherals

Sample Software/Function Description
Analog/Digital converter ADC

1. The temperature-converted value from the output voltage of thermistor is measured by the ADC, and the voltage value of potentiometer which measured by the ADC, and each values are outputted to the terminal emulator.

2. The output voltage of thermistor is measured by the ADC, and the temperature-converted value is output to the terminal emulator.
The ADC monitor function is also used to change the LED display pattern depending on the temperature.

Clock/Mode control CG Switch to the Low Power Consumption Mode (IDLE/STOP1/STOP2) by the push SW port input as a trigger. Turn on and off the LED depending on the Operation Mode.
Digital/Analog converter DAC This is an example of DAC outputting data input from the terminal emulator.
LCD Display Control Circuit DLCD The output voltage of the potentiometer is converted by the ADC at regular intervals and displayed on the LCD in 8 digits.
DMA Controller DMAC The data input from the terminal emulator on PC is are echoed back. This sample software uses DMAC.
Digital Noise Filter DNF This sample software is that external interrupt by switch is detected via DNF.
Serial Bus Interface I2C/EI2C

1. This is an example of master / slave transmission / reception using two evaluation boards.
The data received by the slave is output to the terminal software according to the command input from the terminal software. (Master/slave)

2. This is an example of a multi-master that receives data from one slave device using two evaluation boards.(Multi Master)

3. Data is sent to and received from the slave device according to the command entered from the terminal emulator.(Single Master)

Flash control FLASH

1. Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory

2. Example of rewriting the data flash memory

3. Example of rewriting the user information area of code flash memory.

Voltage Detection Circuit LVD This sample software compares supply voltage and detection voltage.
Oscillation Frequency Detector OFD This sample software detects error of external high high-speed oscillator by compare comparing to with set frequency width.
I/O port PORT Key presses are determined by polling process to turn on (turn off) the LED.
RAM Parity RPAR Add RAM parity to the character string input using the write command from the terminal emulator. and save it in the RAM. Do a parity check on the data saved in RAM with the Read command and display them to the terminal emulator.
Remote control signal preprocessor RMC The remote controller code is displayed on the terminal emulator.
Real Time Clock RTC The RTC is operated. The clock data are output to the terminal emulator.
Clock Selective Watchdog Timer SIWDT Example in which an NMI interrupt occurs and an example in which the clear code is periodically written and an NMI interrupt does not occur.
32-bit Timer Event Counter T32A Example of timer interrupt that runs every 1 ms.
Output example of duty-variable PPG (programmable square wave).
Trimming Circuit TRM Sample software that is adjusts internal oscillator using reference clock or external low low-speed oscillator.
Serial Peripheral Interface TSPI

1. The sample software communicates using TSPI and outputs data to the terminal emulator.

2. Example of controlling the accelerometer on the evaluation board using TSPI function.

Asynchronous Serial Communication Circuit UART

1. Example of receiving the character string from a terminal emulator.

2. The data input from the terminal emulator is transmitted from the transmitting board to the receiving board using the half clock mode.

Name Date

MCU Evaluation Board:Adbun-M3HQA

M3H Group(2)

Please check the target product and function list, and download the appropriate file.

Product Name

Please check the target product. TMPM3HxFxBxFG

TMPM3HQF10BFG TMPM3HPF10BFG TMPM3HNF10BFG TMPM3HMF10BFG TMPM3HLF10BUG
TMPM3HNFDBFG
TMPM3HPF10BDFG TMPM3HNF10BDFG

Motor Control Sample Software

MCU Motor Studio

Motor Software Development Kit for CLICKER 4 FOR TMPM3H

MCU Motor Studio Description
Motor Control PC Tool
  • Dynamic Modification of Motor Parameters, System Settings, and PI Control Parameters
  • Logging various parameters during motor operation
  • Real-time Monitoring of Speed, Torque, Current, Motor Control State
Motor Control Firmware
  • Sinewave Commutaion & Field Oriented Control (Vector Control)
  • Speed, Position control method including sensor-less and 1/3-Shunt current detection scheme
  • Protection:Over Current/Stall/Over and Under Voltage/Motor Disconnection
Name Date

Peripheral Sample Software

Basic operation of peripherals

Sample Software/Function Description
Analog/Digital converter ADC

The output voltage of thermistor is measured by the ADC, and the temperature-converted value is output to the terminal emulator.

The ADC monitor function is also used to change the LED display pattern depending on the temperature.

Clock/Mode control CG Switch to the Low Power Consumption Mode (IDLE/STOP1/STOP2) by the push SW port input as a trigger. Turn on and off the LED depending on the Operation Mode.
Digital/Analog converter DAC This is an example of DAC outputting data input from the terminal emulator.
LCD Display Control Circuit DLCD The output voltage of the potentiometer is converted by the ADC at regular intervals and displayed on the LCD in 8 digits.
DMA Controller DMAC The data input from the terminal emulator on PC is are echoed back. This sample software uses DMAC.
Digital Noise Filter DNF This sample software is that external interrupt by switch is detected via DNF.
Serial Bus Interface I2C/EI2C

1. This is an example of master / slave transmission / reception using two evaluation boards.
The data received by the slave is output to the terminal software according to the command input from the terminal software. (Master/slave)

2. This is an example of a multi-master that receives data from one slave device using two evaluation boards.(Multi Master)

3. Data is sent to and received from the slave device according to the command entered from the terminal emulator.(Single Master)

Flash control FLASH

1. Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory

2. Example of rewriting the data flash memory

3. Example of rewriting the user information area of code flash memory.

Voltage Detection Circuit LVD This sample software compares supply voltage and detection voltage.
Oscillation Frequency Detector OFD This sample software detects error of external high high-speed oscillator by compare comparing to with set frequency width.
I/O port PORT Key presses are determined by polling process to turn on (turn off) the LED.
RAM Parity RPAR Add RAM parity to the character string input using the write command from the terminal emulator. and save it in the RAM. Do a parity check on the data saved in RAM with the Read command and display them to the terminal emulator.
Remote control signal preprocessor RMC The remote controller code is displayed on the terminal emulator.
Real Time Clock RTC The RTC is operated. The clock data are output to the terminal emulator.
Clock Selective Watchdog Timer SIWDT Example in which an NMI interrupt occurs and an example in which the clear code is periodically written and an NMI interrupt does not occur.
32-bit Timer Event Counter T32A Example of timer interrupt that runs every 1 ms.
Output example of duty-variable PPG (programmable square wave).
Trimming Circuit TRM Sample software that is adjusts internal oscillator using reference clock or external low low-speed oscillator.
Serial Peripheral Interface TSPI

1. The sample software communicates using TSPI and outputs data to the terminal emulator.

2. Example of controlling the accelerometer on the evaluation board using TSPI function.

Asynchronous Serial Communication Circuit UART

1. Example of receiving the character string from a terminal emulator.

2. The data input from the terminal emulator is transmitted from the transmitting board to the receiving board using the half clock mode.

Name Date

MCU Evaluation Board:Adbun-M3HQB

聯繫我們

技術方面問題

聯絡我們

聯絡我們

常見問題

常見問答
開啟新視窗