Contact us

在新視窗打開 在新視窗打開

Application Notes / Sample Programs

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

Once you register, you can download the Application Notes / Sample Programs.
(Register for free. Representatives of microcontroller vendors are requested to refrain from registration.)

Login / Register

ARM® Core-Based Microcontrollers

  • User's guide
  • Header / Start-up routine
  • Driver / Sample program
TX00 Series
TX03 Series
TX04 Series
TX09 Series

Toshiba's Original Core-Based Microcontrollers

  • The operational function of the TMP89FS60FG Sample Program.

Product Details


TX00 Series   M030 Group
                                                                                                                              login / Register

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
                                                                                                                               login / Register

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


TX03 Series   M330 Group
                                                                                                                               login / Register

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
                                                                                                                               login / Register

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)
                                                                                      login / Register

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)
                                                                                                    login / Register

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)
                                                                                     login / Register

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
                                                                                                                               login / Register

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
                                                                                                                               login / Register

Sample Program/Function Description Product Name
TMPM
380
TMPM
384
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 SLEEP mode V V
DMA controller DMAC Example of DMAC settings and data transfer between memory and peripheral devices using the UART V V
Encoder Input Circuit ENC This example detects the rolling of mouse wheel. 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
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
PMD This example demonstrates the phase outputs. 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
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 Example of SSP and transmission / reception using DMAC
Configuration example for SSP and self-loop back
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
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   M390 Group
                                                                                                                               login / Register

Sample Program/Function Description Product Name
TMPM
390
TMPM
395
Analog/Digital converter ADC Example of reading ADC data from analog input pins V V
CEC function CEC Example of CEC transmission / reception interrupt V V
Clock/Mode control CG Switching example between NORMAL mode and IDLE/SLEEP/Backup STOP mode 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 When the power supply voltage is lower than the detection voltage, LED1 will be turned off and LED2 will be turned on. When the power supply voltage is normal again, LED1 will be turned on and LED2 will be turned off. 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
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 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


TX04 Series   M440 Group
                                                                                                                               login / Register

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
                                                                                                                               login / Register

Sample Program/Function Description Product Name
TMPM
461
TMPM
462
Analog/Digital converter ADC Example of reading ADC data from analog input pins V 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
External bus interface EXB Example of read / write of the SRAM that is connected to the external bus 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
Serial bus interface I2C Example of transmission / reception in I2C bus mode 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
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
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
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 500 ms
Output example of duty-variable PPG (programmable square wave)
V V
μDMA controller uDMAC Example of DMAC settings and data transfer between the memories V V
Watchdog timer WDT Example of the detection time and the processing after the detection for watchdog timer V V


TX09 Series   A910 Group
                                                                                                                               login / Register

Sample Program/Function Description Product Name
TMPM
910
Application note V


TLCS-870/C1 Series
                                                                                                                                          login / Register

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

聯繫方式

如您需查詢,請點擊其中任何一個連結

技術方面的問題
購買、樣片和IC可靠性的相關諮詢
·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.