Contact us

Une nouvelle fenêtre s'ouvre Une nouvelle fenêtre s'ouvre

Application Notes / Sample Programs

A sample program is available for each product in the following configuration.

Arm® Core-Based Microcontrollers

  • User's guide
  • Header / Start-up routine
  • Driver / Sample program

TXZ Family

TXZ3 Series
TXZ4 Series

TX Family

TX00 Series
TX03 Series
TX04 Series

Toshiba's Original Core-Based Microcontrollers

  • The operational function of the TMP89FS60FG Sample Program.

Product Details

TXZ3 Series M3H Group(1)

Product Name

TMPM3H6FWFG TMPM3H5FWFG TMPM3H4FWUG TMPM3H3FWUG TMPM3H2FWDUG
TMPM3H6FWDFG TMPM3H5FWDFG TMPM3H4FWFG TMPM3H3FUUG TMPM3H2FWQG
TMPM3H6FUFG TMPM3H5FUFG TMPM3H4FUUG TMPM3H3FSUG TMPM3H2FUDUG
TMPM3H6FUDFG TMPM3H5FUDFG TMPM3H4FUFG TMPM3H2FUQG
TMPM3H6FSFG TMPM3H5FSFG TMPM3H4FSUG TMPM3H2FSDUG
TMPM3H6FSDFG TMPM3H5FSDFG TMPM3H4FSFG TMPM3H2FSQG
TMPM3H1FWUG TMPM3H0FSDUG
TMPM3H1FUUG TMPM3H0FMDUG
TMPM3H1FSUG
TMPM3H1FPUG

(*) This sample program operates on the evaluation board of the TMPM3H6FWFG.
If a function other than that of the TMPM3H6 is to be checked, 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 (TMPM3H6FWFG). If a function other than that of the TMPM3H6 is to be checked, the BSP-related file must be changed properly.
This sample program uses the RTC function.
Because the TMPM3H1 and the TMPM3H0 are not equipped with RTC, operation check with this sample program cannot be executed.

click here todownload

Sample Program/Function Description
Analog/Digital converter ADC This program will display the temperature, which is measured voltage of thermistor by ADC and adjusted using temperature correcting means by the CPU, in terminal software.
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 Noise Filter DNF This sample program is that external interrupt by switch is detected via DNF.
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory
I/O port GPIO Key presses are determined by polling process to turn on (turn off) the LED.
Serial bus interface I2C Depending on the command (write or read) input in terminal software., data are stored/read in the I2C EEPROM.
Sample programs is are communication sample between 2 evaluation boards. And and multi multi-master sample program that reads EEPROM using 2 evaluation boards.
Voltage Detection Circuit LVD This sample program compares supply voltage and detection voltage.
Oscillation Frequency Detector OFD This sample program detects error of external high high-speed oscillator by compare comparing to with set frequency width.
Remote control signal preprocessor RMC The remote controller code is displayed on the terminal software.
Real Time Clock RTC The RTC is operated. The clock data is are output to the terminal software.
32-bit Timer T32A Example of timer interrupt that runs every 1 ms
Output example of duty-variable PPG (programmable square wave).
Trimming Circuit TRM Sample program that is adjusts internal oscillator using reference clock or external low low-speed oscillator.
Synchronized serial interface TSPI Depending on the command (write or read) input in terminal software, data are stored/read in the Serial Flash.
Asynchronous Serial Channel UART The data input from the terminal software on PC is are echoed back.
UART
DMAC
The data input from the terminal software on PC is are echoed back. This sample program uses DMAC.

(*) Download the application note that describes the sample program from here.

TXZ3 Series M3H Group(2)

Product Name

TMPM3HQFDFG TMPM3HPFDFG TMPM3HNFDFG TMPM3HMFDFG TMPM3HLFDUG
TMPM3HQFZFG TMPM3HPFZFG TMPM3HNFDDFG TMPM3HMFZFG TMPM3HLFZUG
TMPM3HQFYFG TMPM3HPFYFG TMPM3HNFZFG TMPM3HMFYFG TMPM3HLFYUG
TMPM3HNFZDFG
TMPM3HNFYFG
TMPM3HNFYDFG

(*) This sample program operates on the evaluation board of TMPM3HQFDFG.
If a function other than that of the TMPM3HQ 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 (TMPM3HQFDFG). If a function other than that of the TMPM3HQ is to be checked, the BSP-related file must be changed properly.

click here todownload

Sample Program/Function Description
Analog/Digital converter ADC This program will display the temperature, which is measured voltage of thermistor by ADC and adjusted using temperature correcting means by the CPU, in terminal software.
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.
CRC CRC Communication with CRC code is added between 2 TSPIs and the received data are output to terminal software.
Digital Noise Filter DNF This sample program is that external interrupt by switch is detected via DNF.
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory
I/O port GPIO Key presses are determined by polling process to turn on (turn off) the LED.
Serial bus interface I2C Depending on the command (write or read) input in terminal software., data are stored/read in the I2C EEPROM.
Sample programs is are communication sample between 2 evaluation boards. And and multi multi-master sample program that reads EEPROM using 2 evaluation boards.
Voltage Detection Circuit LVD This sample program compares supply voltage and detection voltage.
Oscillation Frequency Detector OFD This sample program detects error of external high high-speed oscillator by compare comparing to with set frequency width.
Remote control signal preprocessor RMC The remote controller code is displayed on the terminal software.
RAM Parity RPAR Add RAM parity to the character string input using the write command from the terminal software 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 software.
Real Time Clock RTC The RTC is operated. The clock data is are output to the terminal software.
32-bit Timer T32A Example of timer interrupt that runs every 1 ms
Output example of duty-variable PPG (programmable square wave).
Trimming Circuit TRM Sample program that is adjusts internal oscillator using reference clock or external low low-speed oscillator.
Synchronized serial interface TSPI It communicates using 2 ch TSPI and outputs data to terminal software.
Asynchronous Serial Channel UART The data input from the terminal software on PC is are echoed back.
UART
DMAC
The data input from the terminal software on PC is are echoed back. This sample program uses DMAC.

(*) Download the application note that describes the sample program from here.

TXZ4 Series M4K Group(1)

Product Name

TMPM4K4FYAUG TMPM4K2FYADUG TMPM4K1FYAUG TMPM4K0FSADUG
TMPM4K4FYAFG TMPM4K2FWADUG TMPM4K1FWAUG
TMPM4K4FWAUG TMPM4K2FUADUG TMPM4K1FUAUG
TMPM4K4FWAFG TMPM4K2FSADUG TMPM4K1FSAUG
TMPM4K4FUAUG
TMPM4K4FUAFG
TMPM4K4FSAUG
TMPM4K4FSAFG

(*) If a function other than that of the TMPM4K4FYA is to be checked, the CMSIS Core-related files (C startup file and I/O header file) must be changed properly.

click here todownload

Sample Program/Function Description
Analog/Digital converter ADC A program that will display the value , which is measured voltage from a potentiometer.
Clock/Mode control CG Switch to the Low Power Consumption Mode (IDLE/STOP1) by the push SW port input as a trigger. Turn on and off the LED depending on the Operation Mode
CRC CRC Communication with CRC code is added between 2 TSPIs and the received data is output to terminal software.
Digital Noise Filter DNF This sample program is that external interrupt by switch is detected via DNF.
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory
A sample program that uses code flash as data flash (code flash EEPROM emulation: CFC).
I/O port GPIO Key presses are determined by polling process to turn on (turn off) the LED.
Serial bus interface I2C Sample program is communication sample between 2 evaluation boards. And multi master sample program that read EEPROM using 2 evaluation boards.
Voltage Detection Circuit LVD This sample program compares supply voltage and detection voltage.
Oscillation Frequency Detector OFD This sample program detect error of external high speed oscillator by compare to set frequency width.
RAM Parity RPAR Add RAM parity to the character string input using the write command from the terminal software and save it in the RAM. Do a parity check on the data saved in RAM with the Read command and display it to the terminal software.
32-bit Timer T32A Example of timer interrupt that runs every 1 ms
Output example of duty-variable PPG (programmable square wave).
Trimming Circuit TRM Sample program that is adjusts internal oscillator using reference clock.
Synchronized serial interface TSPI It communicates using 2 ch TSPI and outputs data to terminal software.
Asynchronous Serial Channel UART The data input from the terminal software on PC is echoed back.
UART
DMAC
The data input from the terminal software on PC is echoed back. This sample program use DMAC.

TXZ4 Series M4K Group(2)

Product Name

TMPM4KQFDFG TMPM4KPFDDFG TMPM4KNFDDFG TMPM4KMFDDFG TMPM4KLFDUG
TMPM4KQFYFG TMPM4KPFYDFG TMPM4KNFYDFG TMPM4KMFYDFG TMPM4KLFYUG
TMPM4KQFWFG TMPM4KPFWDFG TMPM4KNFWDFG TMPM4KMFWDFG TMPM4KLFWUG
TMPM4KNFDFG TMPM4KMFDFG TMPM4KLFDFG
TMPM4KNFYFG TMPM4KMFYFG TMPM4KLFYFG
TMPM4KNFWFG TMPM4KMFWFG TMPM4KLFWFG
(*) If a function other than that of the TMPM4KQFDFG is to be checked, the CMSIS Core-related files (startup file and I/O header file) must be changed properly.

click here todownload

Sample Program/Function Description
Advanced Encoder Input Circuit A_ENC32 The rotation is detected by the rotary encoder in the encoder mode. The LED blink frequency depends on the count value.
Analog/Digital Converter ADC A program that will display the value , which is measured voltage from a potentiometer.
CAN Controller CAN Two channels of potentiometer output voltage are measured by ADC, the conversion result value is transmitted and received in the test loopback mode of CAN, and the received data are displayed on TeraTerm.
Clock/Mode Control CG Switch to the Low Power Consumption Mode (IDLE/STOP1) by the push SW port input as a trigger. Turn on and off the LED depending on the Operation Mode
CRC CRC The data of the amount of "MEMORY_SIZE" are input continuously to the CRC from "MEMORY_TOP". The CRC result is stored in "crc_data".
Digital Noise Filter DNF This sample program detects the external interrupt signal that is generated by the switch via the DNF.
Flash Control FLASH This sample program erases and re-programs data in a specified block in the Flash memory.
Code Flash memory, Data Flash memory, User information area, and others are used.
Serial Bus Interface I2C This sample program communicates between 2 evaluation boards. This is an example of Master-Slave communication.
Voltage Detection Circuit LVD This sample program compares the supply voltage with the detection voltage.
Oscillation Frequency Detector OFD This sample program detect error of external high speed oscillator by compare to set frequency width.
I/O port PORT The detection of push-down of a key turns on (or turns off) the LED.
RAM Parity RAMP Add RAM parity to the character string input using the write command from the terminal software and save it in the RAM. Do a parity check on the data saved in RAM with the Read command and display it to the terminal emulator.
Watchdog Timer with Clock Selection Function
Clock Selective Watchdog Timer
SIWDT An 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 T32A Example of timer interrupt that runs every 1 ms
Output example of PPG (Programmable Pulse Generator).
Trimming Circuit TRM Sample program that is adjusts internal oscillator using reference clock.
Synchronized Serial Interface TSPI Communication is done using the TSPI. The data are output to the terminal software.
The CRC, the DMA, and the FIFO are used for the communication.
Asynchronous Serial Communication Circuit
Asynchronous Serial Channel
UART The data input from the terminal software on the PC are echoed back.
This sample program includes the program with the DMAC and the program without the DMAC.

TXZ4 Series M4G Group(1)

Product Name

TMPM4G9F15FG TMPM4G8F15FG TMPM4G7F10FG TMPM4G6F10FG
TMPM4G9F15XBG TMPM4G8F15XBG TMPM4G7FEFG TMPM4G6FEFG
TMPM4G9F10FG TMPM4G8F10FG TMPM4G7FDFG TMPM4G6FDFG
TMPM4G9F10XBG TMPM4G8F10XBG
TMPM4G9FEFG TMPM4G8FEFG
TMPM4G9FEXBG TMPM4G8FEXBG
TMPM4G9FDFG TMPM4G8FDFG
TMPM4G9FDXBG TMPM4G8FDXBG

(*) This sample program operates on the evaluation board of the TMPM4G9F15FG.
If a function other than that of the TMPM4G9F15 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 (TMPM4G9F15). If a function other than that of the TMPM4G9F15 is to be checked, the BSP-related file must be changed properly.

click here todownload

Sample Program/Function Description
Analog/Digital converter ADC

1. The sample program displays the temperature, which is the ADC value measured by the thermistor and converted to temperature by the CPU, on the terminal emulator.

2. Example of displaying the result of the AD monitor function on the LED.

CEC CEC
The sample program is a communication sample between 2 evaluation boards.
Clock/Mode control CG Switch to the Low Power Consumption Mode (IDLE/STOP1/STOP2) by the push SW port input as a trigger. The LED turns on and off depending on the Operation Mode.
Digital/Analog converter DAC This is an example of DAC outputting data input from the terminal emulator.
Digital Noise Filter DNF The sample program detects external interrupt by switch via DNF.
External Bus Interface EBIF Depending on the command (write or read) input on the terminal emulator, stored/read in the SRAM.
Flash control FLASH

1. Example of rewriting the data flash by using Dual mode.

2. Example of rewriting the data in code flash by using User Boot mode.

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

Full Universal Asynchronous Receiver Transmitter Circuit FUART The data input from the terminal emulator on the PC are echoed back.
FUART/
DMAC
The data input from the terminal emulator on the PC are echoed back. The sample program uses DMAC.
I/O port GPIO Key presses are determined by polling process to turn on (turn off) the LED.
High Speed DMA Controller HDMAC The data input on the terminal emulator are sent to memory by DMA. The data sent to memory are displayed on the PC.
HDMAC/
TSPI
The data input on the terminal emulator are sent from memory to SPI by DMA. The data received via loopback of SPI are displayed on the terminal emulator.
Serial bus interface I2C

Depending on the command (write or read) input on the terminal emulator, stored/read in the I2C EEPROM.

The sample program is a master/slave communication sample between 2 evaluation boards.

Interval Sensor Detection Circuit ISD Detect signal by interval sensor, switch to Normal mode from Stop1 mode of Operation Mode.
Long Term Timer LTTMR The sample program generates 32 kHz by LTTMR.
Voltage Detection Circuit LVD The sample program compares supply voltage and detection voltage.
Multi-Function DMA Controller MDMAC The data input from the terminal emulator on the PC are echoed back.
Oscillation Frequency Detector OFD The sample program detects error of external high-speed oscillator by comparing to the set frequency width.
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.
Serial Memory Interface SMIF Depending on the command (write or read) input on the terminal emulator, stored/read in the serial Flash.
32-bit Timer T32A

Example of timer interrupt that runs every 1 ms

Output example of duty-variable PPG (programmable square wave).

Trimming Circuit TRM The sample program adjusts internal oscillator using reference clock or external low-speed oscillator.
Synchronized serial interface TSPI

1. The sample program communicates using 2 ch TSPI and outputs data to the terminal emulator.

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

Asynchronous Serial Channel UART

1. The data input from the terminal emulator on the PC are echoed back.

2. The sample program communicates using half-clock mode and the received data are displayed on the terminal emulator.

TXZ4 Series M4L Group(1)

click here todownload

Sample Program/Function Description
Advanced Encoder Input Circuit (32-bit) A_ENC32 The rotation of the rotary encoder is detected in Encoder mode.
12-bit Analog to Digital Converter ADC 2-channel output voltages of the potentiometer are measured by the ADC.
Clock Control/Operation Mode CG Example of switching between Normal mode and Low Power mode
CRC Calculation Circuit CRC The CRC continuously receives the data in the specified region of the memory to calculate their CRC value.
Digital Noise Filter circuit DNF The port input by the switch is detected via DNF, and the external interrupt is generated.
Flash Memory FLASH 1. Examples of erasing in a page unit, erasing in a block unit, programming(write) operation to a code flash, and erasing in an area unit
2. Examples of setting the protection function and protection release
3. Example of rewriting the user information area of flash
4. Example of rewriting the flash data area by using User Boot mode
Voltage Detection Circuit LVD The voltage level is detected. The lighting of LEDs is controlled by the detection result.
Oscillation Frequency Detector OFD The frequency of a target clock (an external high-speed oscillator) is detected. The lighting of LEDs is controlled by the detection result.
Input/Output Port PORT Usage example of Port using LEDs and switches
RAM Parity RAMP The input character string from a terminal emulator is stored to the RAM by the write command. Its parity is also stored. The stored data in the RAM are read, the parity is checked, and the data are displayed on a 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 1. A clock frequency input from outside is measured using the capture function.
2. Example of using the timer interrupt to turn on / off the LED every second
3. Output example of duty-variable PPG (programmable square wave)
Trimming Circuit TRM The frequency of the internal high-speed oscillator is adjusted using an external reference signal.
Serial Peripheral Interface TSPI It communicates using TSPI and outputs data to a terminal emulator.
Asynchronous Serial Communication Circuit UART 1. The data received from a terminal emulator are echoed back and output to the terminal emulator through the UART.
2. Example of receiving the character string from a terminal emulator
3. Example of sending the character string to a terminal emulator

TX00 Series M030 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
036
TMPM
037
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V
Clock/Mode control CG Switching example between NORMAL mode and IDLE/STOP mode V V
DMA controller DMAC Example of DMAC settings and data transfer between memory and peripheral devices using the UART V V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V
I/O port GPIO Usage example of Port using LEDs and KEYs V V
Low Voltage Detection Circuit LVD If Voltage is higher than the detection voltage, UART displays "UPPER". When Voltage is lower than the detection voltage, UART displays "LOWER". V V
Serial bus interface I2C Example of transmission / reception in I2C bus mode V V
Serial channel SIO/UART Example of UART configuration and transmission V V
Simple 16-bit timer TMR16A Example of timer interrupt that runs every 500 ms V V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V

TX00 Series M060 Group (TMPM061)

click here todownload

Sample Program/Function Description Product Name
TMPM
061
Analog/Digital converter ADC Example of reading ADC data from analog input pins V
Clock/Mode control CG Switching example between NORMAL mode and STOP mode V
24-bitΔΣ
Analog/Digital Converter
DSADC Example of checking the DSADC status and reading the result V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V
LCD Driver LCD The 8 digits in the string '12345678' will be displayed in order in adjustable interval time by 1/4 duty, 1/3 bias drive system.
The 10 digits in the string '0123456789' will be displayed on the LCD in order in adjustable interval time by a static drive system.
V
Low Voltage Detection Circuit LVD When the power supply voltage is normal, LED0 will blink and LED1 will be turned off.
When the power supply voltage is lower than the detection voltage, it will cause an interrupt: INTLVD,the LED0 will be turned off and LED1 will blink.
V
Real-time clock RTC Configuration example for date and time V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V
Serial channel SIO/UART Example of UART configuration and transmission V
Simple 16-bit timer TMR16A Example of timer interrupt that runs every 500 ms V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V

TX00 Series M060 Group (TMPM066)

click here todownload

Sample Program/Function Description Product Name
TMPM
066
Analog/Digital converter ADC Example of reading ADC data from analog input pins V
Clock/Mode control CG Switching example between NORMAL mode and IDLE/STOP mode V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V
I/O port GPIO Usage example of Port using LEDs and KEYs V
Low Voltage Detection Circuit LVD If Voltage is upper than the detection voltage, UART displays "UPPER". When Voltage is lower than the detection voltage, UART displays "LOWER". V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V
Serial channel SIO/UART Example of UART configuration and transmission V
Simple 16-bit timer TMR16A Example of timer interrupt that runs every 500 ms V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V
High-resolution 16-bit timer TMRD Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V
Synchronized serial interface TSPI Example of transmission / reception in TSPI. V
μDMA controller uDMAC Example of DMAC settings and data transfer between the memories V
USB Device Controller USBD HID(Human Interface Device) Mouse Demo
Once the Evaluation board is connected via USB interface to PC and then powered on, it will be recognized to be a standard USB mouse and then it controls the arrow icon on PC screen as below, which will be repeated for 3 times.
V
CDC (communication device class) Loopback Demo
On the evaluation board, a simple CDC demonstration program was designed to serve as a COM device in a simulation.
V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V

TX03 Series M310 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
311
24-bitΔΣ
Analog/Digital Converter
DSADC Example of checking the DSADC status and reading the result V
I/O port GPIO Usage example of Port using LEDs and KEYs V
Synchronized serial interface SSP This is a sample program to show data received by UART using SSP and UART peripheral drivers. Data are checked and if the received data are the same as the sent data, LED2 and LED3 turn on and if they are not the same, LED0 and LED1 turn off. V
Temperature Sensor TEMP This is a simple example to show MCU's measurement of a relative temperature using a temperature sensor. V
Simple 16-bit timer TMR16A Example of timer interrupt that runs every 500 ms V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V
Serial channel SIO/UART Example of UART configuration and transmission V
μDMA controller uDMAC Example of DMAC settings and data transfer between the memories V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V

TX03 Series M330 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
330
TMPM
332
TMPM
333
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V V
CEC function CEC Example of CEC transmission / reception interrupt V V  
Clock/Mode control CG Switching example between NORMAL mode and SLEEP/SLOW mode V V V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V V
I/O port GPIO Usage example of Port using LEDs and KEYs V V V
Remote control signal preprocessor RMC Example of receiving the signals of remote control and decode V V  
Real-time clock RTC Configuration example for date and time V V V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V V
V
Serial channel SIO/UART Example of UART configuration and transmission V V V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
Configuration example for frequency measurement mode
V V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V V

TX03 Series M340 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
341
Analog/Digital converter ADC Example of reading ADC data from analog input pins V
Clock/Mode control CG Switching example between NORMAL mode and STOP1 mode V
Digital/Analog converter DAC Output example of sawtooth waveform from the DA pin V
DMA controller DMAC Example of DMAC settings and data transfer between memory and peripheral devices using the UART V
External bus interface EXB Example of read / write of the SRAM that is connected to the external bus V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V
I/O port GPIO Usage example of Port using LEDs and KEYs V
Oscillation frequency detection OFD Example of generate a reset for I/O, when the clock exceeds the OFD detection frequency range V
2-phase pulse input counter PHC Configuration example for Quadruple Count mode V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V
Serial channel SIO/UART Example of UART configuration and transmission V
Synchronized serial interface SSP Configuration example for SSP and self-loop back V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V
High-resolution 16-bit timer TMRD Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V

TX03 Series M360 Group (TMPM361/362/363/364)

click here todownload

Sample Program/Function Description Product Name
TMPM
361
TMPM
362
TMPM
363
TMPM
364
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V V V
CAN controller CAN Example of the test loop back mode, such as mailbox message setting, mailbox configuration, message transmission/receiving, mode change (test loop back mode) status getting and usage for interrupt     V V
CEC function CEC Example of CEC transmission / reception interrupt V V V V
Clock/Mode control CG Switching example between NORMAL mode and SLEEP mode V V V V
DMA controller DMAC Example of DMAC settings and data transfer between the memories V V V V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V V V
I/O port GPIO Usage example of Port using LEDs and KEYs V V V V
Key-on wakeup KWUP

Example of enter and release low power mode

V V V V
Remote control signal preprocessor RMC Example of receiving the signals of remote control and decode V V V V
Real-time clock RTC Configuration example for date and time V V V V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V V V V
Static memory controller SMC Example of SRAM initialization V V V V
Serial channel SIO/UART Example of UART configuration and transmission V V V V
Synchronized serial interface SSP Configuration example for SSP and self-loop back V V V V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V V V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V V V

TX03 Series M360 Group (TMPM365/366)

click here todownload

Sample Program/Function Description Product Name
TMPM
365
TMPM
366
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V
Clock/Mode control CG Switching example between NORMAL mode and STOP mode V V
DMA controller DMAC Example of DMAC settings and data transfer between memory and peripheral devices using the UART V V
External bus interface EXB Example of read / write of the SRAM that is connected to the external bus   V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V
Asynchronous Serial Channel FUART This program sends 64 different data values from TX pin and receives data from RX pin.   V
I/O port GPIO Usage example of Port using LEDs and KEYs V V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V V
Serial channel SIO/UART Example of UART configuration and transmission V V
Synchronized serial interface SSP Configuration example for SSP and self-loop back   V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V V
USB Device Controller USBD HID (Human Interface Device) Mouse Demo
Once the evaluation board is connected via USB interface to PC and then powered on , it will be recognized as a standard USB mouse and then it controls the arrow icon on PC screen as shown below, and this process will be repeated 3 times
V V
CDC (communication device class) Loopback Demo
On the evaluation board, a simple CDC demonstration program was designed to serve as a COM device in a simulation.
V V
MSC (Mass Storage Class) RAM disk Demo
Once the evaluation board is connected via USB interface to PC and then powered on, it will recognize 24 k RAM Disk. You can format it by the computer and save files to it.
V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V

TX03 Series M360 Group (TMPM367/368/369/36B)

click here todownload

Sample Program/Function Description Product Name
TMPM
367
TMPM
368
TMPM
369
TMPM
36B
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V V V
CAN controller CAN Example of the test loop back mode, such as mailbox message setting, mailbox configuration, message transmission/receiving, mode change (test loop back mode) status getting and usage for interrupt   V V  
Clock/Mode control CG Switching example between NORMAL mode and IDLE/STOP1/STOP2 mode V V V V
Digital/Analog converter DAC Output example of sawtooth waveform from the DA pin V V V  
External bus interface EXB Example of read / write of the SRAM that is connected to the external bus V V V V
Encoder Input Circuit ENC This example detects the rolling of mouse wheel. V V V V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V V V
Asynchronous Serial Channel FUART This program sends 64 different data values from TX pin and receives data from RX pin. V V V V
I/O port GPIO Usage example of Port using LEDs and KEYs V V V V
Multi-Purpose Timer IGBT This example program demonstrates how to use external trigger to control the PPG output by IGBT driver and EMG function. V V V V
PMD This example demonstrates the phase outputs. V V V V
Low Voltage Detection Circuit LVD If Voltage is higher than the detection voltage, UART displays "UPPER". When Voltage is lower than the detection voltage, UART displays "LOWER". V V V V
Oscillation frequency detection OFD Example of generate a reset for I/O, when the clock exceeds the OFD detection frequency range V V V V
Remote control signal preprocessor RMC Example of receiving the signals of remote control and decode V V V V
Real-time clock RTC Configuration example for date and time V V V V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V V V V
Serial channel SIO/UART Example of UART configuration and transmission V V V V
Synchronized serial interface SSP Configuration example for SSP and self-loop back V V V V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V V V V
μDMA controller uDMAC Example of DMAC settings and data transfer between the memories V V V V
USB Device Controller USBD HID (Human Interface Device) Mouse Demo
Once the evaluation board is connected via USB interface to PC and then powered on , it will be recognized as a standard USB mouse and then it controls the arrow icon on PC screen as shown below, and this process will be repeated 3 times
V V V  
CDC (communication device class) Loopback Demo
On the evaluation board, a simple CDC demonstration program was designed to serve as a COM device in a simulation.
V V V  
MSC (Mass Storage Class) RAM disk Demo
Once the evaluation board is connected via USB interface to PC and then powered on, it will recognize 24 k RAM Disk. You can format it by the computer and save files to it.
V V V  
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V V V

TX03 Series M370 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
370
TMPM
372
TMPM
373
TMPM
374
TMPM
375
TMPM
376
TMPM
37A
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V V V V V V
Clock/Mode control CG Switching example between NORMAL mode and STOP mode V V V V V V V
Encoder Input Circuit ENC This example detects the rolling of mouse wheel. V V V V V V  
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V V V V V V
I/O port GPIO Usage example of Port using LEDs and KEYs V V V V V V V
Oscillation frequency detection OFD Example of generate a reset for I/O, when the clock exceeds the OFD detection frequency range V V V V V V V
Motor Control Circuit PMD This example demonstrates the phase outputs. V V V V V V V
Serial bus interface SBI Example of transmission / reception in I2C bus mode         V
  V
Serial channel SIO/UART Example of UART configuration and transmission V V V V V V V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V V V V V V V
Voltage Detection Circuit VLTD When the power supply voltage is lower than the detection voltage, the MCU is reset automatically by hardware and Port is set to high level by software. V V V V V V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V V V V V V

TX03 Series M380 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
380
TMPM
381
TMPM
383
TMPM
384
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V V V
Clock/Mode control CG Switching example between NORMAL mode and SLEEP mode V V V V
DMA controller DMAC Example of DMAC settings and data transfer between memory and peripheral devices using the UART V V V V
Digital Noise Filter DNF DNF detects a pulse generated by PPG. If DNF detects a noise pulse, an interrupt request is generated.   V V  
Encoder Input Circuit ENC This example detects the rolling of mouse wheel. V V V V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V V V
Asynchronous Serial Channel FUART This program sends 64 different data values from TX pin and receives data from RX pin.   V V  
I/O port GPIO Usage example of Port using LEDs and KEYs V V V V
Multi-Purpose Timer IGBT This example program demonstrates how to use external trigger to control the PPG output by IGBT driver and EMG function. V V V V
PMD This example demonstrates the phase outputs. V V V V
Oscillation frequency detection OFD Example of generate a reset for I/O, when the clock exceeds the OFD detection frequency range V V V V
Remote control signal preprocessor RMC Example of receiving the signals of remote control and decode V V V V
Real-time clock RTC Configuration example for date and time V V V V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V V V V
Serial channel SIO/UART Example of UART configuration and transmission V V V V
Synchronized serial interface SSP Example of SSP and transmission / reception using DMAC
Configuration example for SSP and self-loop back
V V V V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V V V V
Voltage Detection Circuit VLTD When the power supply voltage is lower than the detection voltage, the MCU is reset automatically by hardware and Port is set to high level by software. V V V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V V V

TX03 Series TMPM3U0

click here todownload

Sample Program/Function Description Product Name
TMPM3U0
Analog/Digital converter ADC Example of reading ADC data from analog input pins V
Clock/Mode control CG Switching example between NORMAL mode and STOP mode V
Digital Noise Filter DNF DNF detects a pulse generated by PPG. If DNF detects a noise pulse, the external interrupt request is not generated. V
Encoder Input Circuit ENC This example detects the rolling of mouse wheel. V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V
I/O port GPIO Usage example of Port using LEDs and KEYs V
Oscillation frequency detection OFD Example of generate a reset, when the clock exceeds the OFD detection frequency range V
Motor Control Circuit PMD This example demonstrates the phase outputs. V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V
Serial channel SIO/UART Example of UART configuration and transmission V
16-bit timer TMRB Example of timer interrupt that runs every 1 ms
Output example of duty-variable PPG (programmable square wave).
V
Trimming Circuit TRM The frequency of the internal high-speed oscillator is adjusted using an external reference signal. V
Voltage Detection Circuit VLTD When the power supply voltage is lower than the detection voltage, the MCU is reset automatically by hardware and Port is set to high level by software. V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V

TX03 Series TMPM3V6 / M3V4

click here todownload

Sample Program/Function Description Product Name
TMPM3V6 TMPM3V4
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V
Clock/Mode control CG Switching example between NORMAL mode and STOP mode V V
Digital Noise Filter DNF DNF detects a pulse generated by PPG. If DNF detects a noise pulse, the external interrupt request is not generated. V V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V
Asynchronous Serial Channel FUART This program sends 64 different data values from TX pin and receives data from RX pin. V V
I/O port GPIO Usage example of Port using LEDs and KEYs V V
Oscillation frequency detection OFD Example of generate a reset, when the clock exceeds the OFD detection frequency range V V
Remote control signal preprocessor RMC Example of receiving the signals of remote control and decode V V
Real-time clock RTC Configuration example for date and time V V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V V
Serial channel SIO/UART Example of UART configuration and transmission V V
Synchronized serial interface SSP Configuration example for SSP and self-loop back V V
16-bit timer TMRB Example of timer interrupt that runs every 1 ms
Output example of duty-variable PPG (programmable square wave)
V V
Voltage Detection Circuit VLTD When the power supply voltage is lower than the detection voltage, the MCU is reset automatically by hardware and Port is set to high level by software. V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V

TX03 Series TMPM3U6

click here todownload

Sample Program/Function Description Product Name
TMPM3U6
Analog/Digital converter ADC Example of reading ADC data from analog input pins V
Clock/Mode control CG Switching example between NORMAL mode and SLEEP mode V
DMA controller DMAC Example of DMAC settings and data transfer between memory and peripheral devices using the UART V
Encoder Input Circuit ENC This example detects the rolling of mouse wheel. V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V
I/O port GPIO Usage example of Port using LEDs and KEYs V
Multi-Purpose Timer IGBT This example program demonstrates how to use external trigger to control the PPG output by IGBT driver and EMG function V
PMD This example demonstrates the phase outputs. V
Oscillation frequency detection OFD Example of generate a reset, when the clock exceeds the OFD detection frequency range V
Remote control signal preprocessor RMC Example of receiving the signals of remote control and decode V
Real-time clock RTC Configuration example for date and time V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V
Serial channel SIO/UART Example of UART configuration and transmission V
Synchronized serial interface SSP Example of SSP and transmission / reception using DMAC
 Configuration example for SSP and self-loop back
V
16-bit timer TMRB Example of timer interrupt that runs every 1 ms
 Output example of duty-variable PPG (programmable square wave)
V
Voltage Detection Circuit VLTD When the power supply voltage is lower than the detection voltage, the MCU is reset automatically by hardware and Port is set to high level by software. V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V

TX04 Series M440 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
440
Analog/Digital converter ADC Example of reading ADC data from analog input pins V
Clock/Mode control CG Switching example between NORMAL mode and IDLE/STOP1/STOP2 mode V
Digital/Analog converter DAC Output example of sawtooth waveform from the DA pin V
DMA controller DMAC Example of DMAC settings and data transfer between memory and peripheral devices using the UART V
Enhanced 2-phase pulse input counter EPHC Configuration example for Quadruple Count mode V
Enhanced Serial I/O ESIO Example of transmission for single transfer V
External bus interface EXB Example of read / write of the SRAM that is connected to the external bus V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V
Asynchronous Serial Channel FUART This program sends 64 different data values from TX pin and receives data from RX pin. V
I/O port GPIO Usage example of Port using LEDs and KEYs V
Key Matrix Scan KSCAN The LED0 to LED7 turns  on when KEY0 to KEY7 are pressed one by one. V
Key-on Wake up KWUP Example of enter and release low power mode V
2-phase pulse input counter PHC Configuration example for Quadruple Count mode V
Programmable Servo/
Sequence Controller
PSC The code and data of PSC are transmitted after a reset start using DMAC. The transmitted PSC program is repeatedly executed using TMRB channel. V
Real-time clock RTC Configuration example for date and time V
Serial bus interface SBI Example of transmission / reception in I2C bus mode V
Serial channel SIO/UART Example of UART configuration and transmission V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V
32-bit timer TMRC Example of timer interrupt V
High-resolution 16-bit timer TMRD Example of timer interrupt that runs every 500ms V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V

TX04 Series M460 Group

click here todownload

Sample Program/Function Description Product Name
TMPM
461
TMPM
462
TMPM
46B
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V  V
AES Processor AES This is a simple example to show the procedure of ECB/CBC/CTR encryption and decryption.     V
CEC function CEC Example of CEC transmission / reception interrupt V V  
Clock/Mode control CG Switching example between NORMAL mode and IDLE/STOP1/STOP2 mode V V V
Entropy Seed Generator ESG This is a simple example to show the procedure of 512-bit entropy seed generation by the ESG.     V
External bus interface EXB Example of read / write of the SRAM that is connected to the external bus V V V
Flash control FLASH Example of running a program in the internal RAM and performing delete and rewrite of the internal flash memory V V V
Asynchronous Serial Channel FUART This program sends 64 different data values from TX pin and receives data from RX pin. V V V
I/O port GPIO Usage example of Port using LEDs and KEYs V V V
Serial bus interface I2C Example of transmission / reception in I2C bus mode V V
V
Multi-Purpose Timer IGBT This example program demonstrates how to use external trigger to control the PPG output by IGBT driver and EMG function. V V V
Low Voltage Detection Circuit LVD If Voltage is higher than the detection voltage, UART displays "UPPER". When Voltage is lower than the detection voltage, UART displays "LOWER". V V V
Multiple Length Arithmetic Coprocessor MLA This is a simple example to show the procedure of Montgomery multiplication/multiple length addition/multiple length subtraction mode.     V
Oscillation frequency detection OFD Example of generate a reset for I/O, when the clock exceeds the OFD detection frequency range V V  
Remote control signal preprocessor RMC Example of receiving the signals of remote control and decode V V  
Real-time clock RTC Configuration example for date and time V V V
Secure Hash Algorithm Processor SHA This is a simple example to show the procedure of 256-bit hash value generation from message data by the SHA.     V
Synchronized serial interface SSP Configuration example for SSP and self-loop back V V V
16-bit timer TMRB Example of timer interrupt that runs every 500 ms
Output example of duty-variable PPG (programmable square wave)
V V V
Serial channel SIO/UART Example of UART configuration and transmission V V V
μDMA controller uDMAC Example of DMAC settings and data transfer between the memories V V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V V

TLCS-870/C1 Series

TMP89Fx : TMP89FM42V/TMP89FS60V/TMP89FS62V/TMP89FS63V
TMP89FWy : TMP89FW20V/TMP89FW24V

click here todownload

Function Description
Product Name
TMP89
Fx
TMP89
FWy
10-bit AD Converter ADC
REPEAT
The analog input value is AD-converted 10 times, and the average result is displayed on a terminal emulator. V V
ADC
SINGLE
The analog input value is AD-converted once, and the result is displayed on a terminal emulator. V V
Divider Output DVO By selecting a frequency of the divider output, pulse waves are output. V V
External Interrupt control circuit EXT_INT The port input by switch triggers the generation of the external interrupt. An LED turns on when the external interrupt is detected. V V
Flash Memory FLASH
MCU_BOOTROM
In MCU mode, this sample program applies Security Program and writes test data using a support program (API) provided in the BOOTROM.   V
FLASH
MCU_ProductID
In Product ID mode, this sample program reads the vendor ID, flash ID and security status from the flash memory and displays them on a terminal emulator. V  
FLASH
MCU_RAM
In MCU mode, the control program is transferred to the RAM and writes or reads test data. V V
FLASH
MCU_SHADOW_BOOTROM
(External)
This sample program rewrites a program transferred from an external control board using a support program (API) provided in the BOOTROM and shadow RAM. This sample is for the external control board.   V
FLASH
MCU_SHADOW_BOOTROM
(Sample)
This sample program rewrites a program transferred from an external control board using a support program (API) provided in the BOOTROM and shadow RAM. This sample is for the target board.   V
FLASH
SPROM_UART
The sample program of an external control board writes or reads test data on the target board through UART communication. V V
Key-on Wakeup KWU The NORMAL1 and STOP modes are switched by pushing down a switch, and the LED display is also switched according to the operation mode. V V
LCD LCD The values from 0 to 999 are counted up per second and displayed on the LCD.   V
Operation mode control circuit LOW_POWER
NORMAL1/NORMAL2/SLOW1
The operation mode is changed by a switch input. An LED turns on or blinks according to operation modes. V V
I/O Ports PORT When a switch is pushed down, an LED turns on. When the switch is released, the LED turns off. V V
Real Time Clock RTC An LED repeats turn on/off each interrupt cycle of the real-time clock (RTC). V V
Serial Bus Interface SBI By a command input (via UART) from a terminal emulator of a PC, the sample program executes the following:
1. The Master mode setting
2. Transmission of one byte of test data to the Slave side.
3. Transmission request of the test data to the Slave side.
The Slave side transmits the test data, when it receives the transmission request.
V V
Shadow RAM SHADOW_RAM
COPY
This sample program transfers the shadow RAM copy program to the internal RAM.   V
SHADOW_RAM
POWER_CUT
This sample program turns off/on the power supply of the Flash memory from the shadow RAM   V
Synchronous Serial Interface SIO
8bit_RECEIVE
One byte of test data received from the board in the transmit mode is displayed on a terminal emulator. V V
SIO
8bit_TRANS
One byte of test data is transmitted by the command input (via UART) from a terminal emulator of a PC. V V
SIO
8bit_TRANS_RECEIVE
This sample program uses two evaluation boards that have the program. When one of the boards transmits one byte of test data, the other receives it and displays it on a terminal emulator. V V
Time Base Timer TBT An LED repeats turn on/off each interrupt cycle of the time base timer (TBT). V V
8-bit Timer Counter TC0
8bit_EVENT_COUNT
In the 8-bit event counter mode sample, an LED repeats turn on/off per setting cycle by using the timer interrupt. V V
TC0
8bit_PPG
In the 8-bit programmable pulse generation (PPG) output mode sample, the frequency and duty ratio are changed by a switch input. V V
TC0
8bit_PWM
In the 8-bit pulse width modulation (PWM) output mode sample, the frequency and duty ratio are changed by a switch input. V V
TC0
8bit_TIMER
In the 8-bit timer mode sample, an LED repeats turn on/off each interrupt cycle of the 8-bit timer. V V
TC0
12bit_PWM
In the 12-bit pulse width modulation (PWM) output mode sample, the frequency and duty ratio are changed by a switch input. V V
TC0
16bit_EVENT_COUNT
In the 16-bit event counter mode sample, an LED repeats turn on/off per setting cycle by using the timer interrupt. V V
TC0
16bit_PPG
In the 16-bit programmable pulse generation (PPG) output mode sample, the frequency and duty ratio are changed by a switch input. V V
TC0
16bit_TIMER
In the 16-bit timer mode sample, an LED repeats turn on/off each interrupt cycle of the 16-bit timer. V V
16-bit Timer Counter(TCA) TCA
EVENT_COUNT
In the event counter mode sample, an LED repeats turn on/off each interrupt cycle of the TCA timer. V V
TCA
EXT_TRIG
In the external trigger timer mode sample, an LED repeats turn on/off each interrupt cycle of the TCA timer. V V
TCA
PPG
In the PPG output mode sample, the remote control waveform is output with a 200 msec cycle. V V
TCA
PULSE_WIDTH_MEASURE
In the pulse width measurement mode sample, the measured value of input pulse width is displayed on a terminal emulator. V V
TCA
TIMER
In the timer mode sample, an LED repeats turn on/off each interrupt cycle of the TCA timer. V V
TCA
WINDOWS
In the window mode sample, an LED repeats turn on/off each interrupt cycle of the TCA timer. V V
16-bit Timer Counter(TCB) TCB
PPG
In the PPG output mode sample, the remote control waveform is output with a 200 msec cycle.   V
10-Bit Timer/Counter TCC
PPG_DUTY_50
A waveform whose duty ratio is 50% is output.   V
TCC
PPG_DUTY_CHANGE
A waveform having the specified pulse widths is output.   V
TCC
PPG_DUTY_INDEPENDENT
The waveforms having the specified pulse widths for each of the PPGC01 and PPGC02 pins are output.   V
TCC
PPG_EMG
An LED turns on when an emergency PPG output stop input is accepted. When the emergency PPG output stop state is released, an LED turns off.   V
Asynchronous Serial Interface UART Each character input is echoed to a terminal emulator as it is entered. V V
UART
IrDA
Test data in infrared data format (IrDA) are output with 100 msec cycle. V V
Voltage Detection Circuit VOLT_DETECT Falling of the power supply voltage is detected, and LED patterns corresponding to the detected voltage are set. V V
Watchdog Timer WDT When the clear code is written regularly, all LEDs blink. V V

click here todownload

SP No. Module Name Outline
SP-870-101 - The operational function of the TMP89FS60FG Sample Program
  • 8-bit PWM output
  • 8-bit PPG output
  • 16-bit PPG output
  • UART output
  • SIO output
  • I2C output
  • 10-bit AD input
SP-870-102 RAM, Memory Self-Diagnostic Testing Sample Software

Notes d'application / Exemples de programmes

Les notes d'application sont des exemples de logiciels proposés pour faire connaître les microcontrôleurs Toshiba aux clients et leur apprendre à créer des programmes lorsqu'ils développent de nouveaux produits.
Si vous acceptez les conditions du présent [CONTRAT DE LICENCE DU LOGICIEL], vous pouvez utiliser ces notes d'application.

Les exemples de logiciels comprennent une temporisation (8 bits, 16 bits), un convertisseur A/N, une interface de communication (UART/I2C/SIO), un PDO, etc.

Lisez-moi

Lisez attentivement ce contrat de licence d'utilisation du logiciel avant de télécharger le produit à partir de ce site Internet. Pour pouvoir utiliser le logiciel, vous devez accepter les conditions générales d'utilisation du présent contrat. Si vous ne les acceptez pas, vous n'êtes pas autorisé à télécharger le logiciel.

CONTRAT DE LICENCE D'UTILISATION DU LOGICIEL

1. Portée de la licence

Ce contrat de licence d'utilisation du logiciel (ci-après, le « Contrat ») s'applique comme suit : Produit logiciel téléchargé depuis le site Internet de Toshiba Corporation (ci-après, « Logiciel ») et manuel d'utilisation, etc. associé au Logiciel, sous forme imprimée ou électronique (ci-après, la « Documentation »).
Le Logiciel et la Documentation sont désignés ci-après collectivement comme « Produit ».


2. Date d'entrée en vigueur

Le présent Contrat est réputé valide à partir du moment où vous téléchargez le Logiciel.


3. Octroi de droits

1. Toshiba Corporation (ci-après, « Toshiba ») vous accorde le droit non exclusif et incessible (i) d'utiliser et de modifier le Produit en vue de concevoir, fabriquer et commercialiser votre produit intégrant un semi-conducteur Toshiba, et (ii) de faire utiliser et modifier le Produit par votre client en vue de concevoir, fabriquer et commercialiser le produit de votre client intégrant un semi-conducteur Toshiba. Le Produit modifié doit être inclus dans le Produit.

2. Les titres de propriété et autres droits de propriété intellectuelles, y compris, entre autres, le copyright, les brevets, le savoir-faire et les secrets professionnels, associés au Produit restent la propriété de Toshiba.


4. Licence

Vous êtes en droit de faire une copie du Logiciel à condition d'y joindre l'avis de droit d'auteur (copyright). Ces Logiciels copiés doivent être inclus dans le Logiciel.


5. Versions et support

Toshiba n'assure pas la mise à jour des versions ni la prise en charge du Produit.


6. Absence de garantie

TOSHIBA DÉCLINE TOUTE GARANTIE SUR LE PRODUIT, EXPLICITE OU IMPLICITE, Y COMPRIS, ENTRE AUTRES, LES GARANTIES DE QUALITÉ, DE BON FONCTIONNEMENT, DE RESPECT DES DROITS, DE VALEUR MARCHANDE OU D'ADÉQUATION À UNE APPLICATION PARTICULIÈRE.


7. Responsabilité limitée

TOSHIBA NE SAURA ÊTRE TENUE POUR RESPONSABLE EN CAS DE PRÉJUDICE DIRECT, INDIRECT OU INDUIT, OU RÉSULTANT DE VOTRE UTILISATION DU PRODUIT. CELA INCLUT, ENTRE AUTRES, LE MANQUE À GAGNER, LA PERTE DE DONNÉES OU DE BÉNÉFICES, LES PRÉJUDICES SPÉCIAUX, ACCIDENTELS OU INDUITS, OU L'IMPOSSIBILITÉ D'UTILISER LE PRODUIT, MÊME SI LE CLIENT A ÉTÉ AVISÉ D'UNE TELLE ÉVENTUALITÉ.


8. Résiliation

1. Toshiba est en droit de résilier le présent Contrat avec effet immédiat en cas d'infraction de votre part à une disposition quelconque de celui-ci.

2. En cas de résiliation, vous devez vous engager à détruire le Produit, ou à fournir à Toshiba des preuves suffisantes de cette destruction.


9. Restriction sur l'utilisation du Produit

1. Toshiba se réserve le droit de modifier les informations contenues dans le Produit sans préavis.

2. Le Produit et toute information afférente ne peuvent pas être reproduits sans l'autorisation préalable écrite de Toshiba. Même avec l'autorisation écrite de Toshiba, la reproduction est autorisée uniquement si elle s'effectue sans altération ni omission.

3. Toshiba travaille continuellement à améliorer la qualité et la fiabilité du Produit. Toutefois, un Produit peut présenter un dysfonctionnement ou une défaillance. Vous êtes responsables de la conformité aux normes de sécurité et de la mise à disposition de conceptions et de garanties appropriées pour le matériel, les logiciels et les systèmes. Ces conceptions et garanties minimisent les risques, et évitent les situations de dysfonctionnement et de défaillance du Produit susceptibles d'entraîner la perte de vies humaines, des blessures corporelles ou des dommages à la propriété, notamment la corruption ou la perte de données. Avant d'utiliser le Produit, de créer des modèles intégrant le Produit ou d'incorporer le Produit à vos propres applications, vous devez également vous reporter et vous conformer aux (a) versions les plus récentes de toutes les informations fournies par Toshiba, notamment, entre autres, au présent document, aux spécifications, aux fiches techniques et aux notes d'application relatives au Produit, ainsi qu'aux précautions et conditions stipulées dans le « TOSHIBA Semiconductor Reliability Handbook », ainsi (b) qu'aux instructions destinées à l'application avec ou pour laquelle le Produit sera utilisé. Vous êtes seul responsable de tous les aspects de vos propres applications ou conceptions de produit, notamment de (a) l'adéquation de ce Produit dans ces applications et conceptions ; de (b) l'évaluation et l'applicabilité de toute information figurant dans le présent document, ou dans les graphiques, diagrammes, programmes, algorithmes, circuits d'application échantillons, ou dans toute autre document référencé ; et de (c) la validation de tous les paramètres d'exploitation de ces conceptions et applications. TOSHIBA NE SAURAIT ÊTRE TENUE RESPONSABLE DE VOS APPLICATIONS ET CONCEPTIONS DE PRODUITS.

4. LE PRODUIT N'EST NI DESTINÉ À, NI GARANTI POUR UNE UTILISATION DANS DES ÉQUIPEMENTS OU DES SYSTÈMES QUI REQUIÈRENT DES NIVEAUX DE QUALITÉ ET/OU DE FIABILITÉ EXTRÊMEMENT ÉLEVÉS, ET/OU DONT LE DYSFONCTIONNEMENT OU LA DÉFAILLANCE SERAIT SUSCEPTIBLE D'ENTRAÎNER LA PERTE DE VIES HUMAINES, DES BLESSURES CORPORELLES, DES DOMMAGES SÉRIEUX POUR LA PROPRIÉTÉ ET/OU UNE INCIDENCE PUBLIQUE CONSIDÉRABLE (« UTILISATION IMPROPRE »). À l'exception des applications spécifiques telle que déclarée dans le Produit, une utilisation impropre englobe, mais sans s'y limiter, l'équipement utilisé dans les installations nucléaires, l'équipement utilisé dans l'industrie aérospatiale, l'équipement médical, l'équipement utilisé dans les automobiles, les trains et autres moyens de transport, l'équipement de signalisation de circulation, l'équipement utilisé pour maîtriser les combustions ou les explosions, les dispositifs de sécurité, les ascenseurs et escaliers roulants, les dispositifs associés à l'alimentation électrique, et l'équipement utilisé dans les domaines liés à la finance. SI VOUS EXPLOITEZ UN PRODUIT POUR UNE UTILISATION IMPROPRE, TOSHIBA NE SAURAIT ÊTRE TENUE POUR RESPONSABLE DE CE PRODUIT. Pour obtenir des détails, contactez votre représentant commercial Toshiba.

5. Le Produit ne doit pas être utilisé ou incorporé dans des produits ou systèmes dont la fabrication, l'utilisation ou la vente sont interdites dans le cadre de toute réglementation ou législation en vigueur.

6. Les informations figurant dans le Produit sont présentées uniquement à titre de directive pour l'utilisation du Produit. Toshiba ne saurait être tenue pour responsable de quelque infraction que ce soit à des brevets ou autres droits de propriété intellectuelle de tiers susceptibles de résulter de l'utilisation du Produit. Aucune licence sur quelque droit de propriété intellectuelle que ce soit n'est accordée par le Produit, qu'elle soit expresse ou implicite, par estoppel ou autre.

7. N'utilisez pas et ne fournissez pas le Produit, ou la technologie et le logiciel associés, à des fins militaires, notamment, pour la conception, le développement, l'utilisation, l'entreposage ou la fabrication d'armes nucléaires, chimiques et biologiques, ou de missiles (armes de destruction massive). Le Produit ainsi que la technologie associée peuvent être contrôlés dans le cadre des réglementations et lois sur l'exportation applicables, notamment, mais sans s'y limiter, la législation japonaise sur le commerce et l'échange internationaux (Japanese Foreign Exchange and Foreign Trade Law) et de la réglementation administrative sur les exportations des États-Unis (U.S. Export Administration Regulations). L'exportation et la réexportation du Produit ou de la technologie associée, sont strictement interdites, sauf en cas de conformité avec toutes les réglementations et lois sur l'exportation qui s'appliquent.

8. Avant de créer et d'utiliser des modèles, vous devez également vous reporter et vous conformer aux versions les plus récentes de toutes les informations fournies par Toshiba, ainsi qu'aux instructions relatives à l'application prévue du Produit.


10. Droit en vigueur

Le présent Contrat sera régi selon les lois japonaises.


TOSHIBA CORPORATION SEMICONDUCTOR & STORAGE PRODUCTS COMPANY

Contacts

Pour toute question, cliquez sur l'un de ces liens :

Questions techniques
Questions concernant les achats, l'échantillonnage et la fiabilité des circuits intégrés
To Top
·Before creating and producing designs and using, customers must also refer to and comply with the latest versions of all relevant TOSHIBA information and the instructions for the application that Product will be used with or for.