AdBun-M4G9

AdBun-M4G9 development board for Toshiba TMPM4G9F15FG MCU

Overview

The TMPM4G9F15FG is ARM® Cortex®-M4 based microcontroller, which provides, low-power, high-speed, high code density and fast interrupt response times required for real-time applications. This microcontroller can use for a home appliance, OA, housing equipment, AV equipment, motor control and industrial apparatus, etc.

Based on an ARM Cortex-M4 core, with a maximum operating frequency of 160 MHz, the TMPM4G9F15FG incorporates 1536 Kbyte of flash memory and 194 Kbyte SRAM required for secure communications control.

TMPM4G9 Features

  • TMPM4G9F15FG in LQFP176 package
    • ARM®32-bit Cortex®-M4 CPU, 160 MHz max CPU frequency
    • 194KB RAM
    • 1536KB Flash
    • TSPI (9)
    • I2C (5)
    • UART (8)
    • PWM (13)
    • 12bit ADC (24)
    • 8bit DAC (2)
    • GPIO (150)

AdBun-M4G9 Feature

  • Compatible with a wide range of commercially available shields
  • Power option
    • USB-UART
    • DAP-USB
    • DC-Jack
  • 4 Push Switch
  • 4 LED
  • 2 Variable resistor
  • Built-in USB drag 'n' drop FLASH programmer

RAM size (192Kbytes) and BACKUP RAM (2Kbytes).

Pin Legend

/media/uploads/ganeshramachandran/pins_labels.png

CN9 Pin Header

The green-framed pins of CN9 are working with 3.3V I/O without level-shifting and connected to the terminal of TMPM4G9.

/media/uploads/ganeshramachandran/adbun-m4g9_cn9.png

CN5 Pin Header

The green-framed pins of CN5 are working with 3.3V I/O without level-shifting and connected to the terminal of TMPM4G9.

/media/uploads/ganeshramachandran/adbun-m4g9_cn5.png

CN4 Pin Header

The green-framed pins of CN4 are working with 3.3V I/O without level-shifting and connected to the terminal of TMPM4G9, therefore PN0 to PN5 can work as Analog IN with maximum voltage of 3.3V.

/media/uploads/ganeshramachandran/adbun-m4g9_cn4.png

CN18 Pin Header

The green-framed pins of CN18 are working with 3.3V I/O without level-shifting and connected to the terminal of TMPM4G9.

/media/uploads/ganeshramachandran/adbun-m4g9_cn18.png

CN12 Pin Header

The green-framed pins of CN12 are working with 3.3V I/O without level-shifting and connected to the terminal of TMPM4G9.

/media/uploads/ganeshramachandran/adbun-m4g9_cn12.png

Arduino Pin Header

When you use the Arduino pin, you need to short that connected Arduino pin on CN4, CN12, and CN18. E.g. short: 1-2, 3-4, 5-6 etc: CN12 Arduino pin header of AdBun-M4G9 Supports 5V I/O only. PN0 to PN5 with level-shifting cannot work as Analog IN anymore.

/media/uploads/ganeshramachandran/adbun-m4g9_arduino_pins_cn6_cn7.png

/media/uploads/ganeshramachandran/adbun-m4g9_arduino_pins_cn10_cn11.png

Arduino Pin Header Usage Setting

When using the Arduino's pin header, it is necessary to short-circuit the red line as shown below.

/media/uploads/ganeshramachandran/adbun-m4g9_arduino_pins_setting_cn12_cn4.png

/media/uploads/ganeshramachandran/adbun-m4g9_arduino_pins_setting_cn18.png

On Board Peripheral Usage Setting

When using LED, Push SW, volume, USB and Dip SW on the AdBun-M4G9 board, it is necessary to short-circuit the red line as shown below. The purple line is shorted at shipment. If your AdBun-M4G9 is not shorted purple line, you need to short-circuit purple line.

/media/uploads/ganeshramachandran/adbun-m4g9_peripheral_pins_setting_cn5_cn4.png

/media/uploads/ganeshramachandran/adbun-m4g9_peripheral_pins_setting_cn9_cn12.png

/media/uploads/ganeshramachandran/adbun-m4g9_peripheral_pins_setting_cn18.png

PWM PinsUART PinsI2C PinsLED PinsSwitch Pins
PA5USBTX = PU0SDA = PG2LED1 = PE4SW1 = PL4
PB2USBRX = PU1SCL = PG3LED2 = PE5SW2 = PL5
PB4LED3 = PE6SW3 = PV0
PD2LED4 = PE7SW4 = PV1
PD4
PE1
PE6
PC2
PL6
PC4
PM2
PU0
PU6
Arduino I/O PinsArduino Analog PinsArduino PWM Pins
D0 = PJ0A0 = PN0D3
D1 = PJ1A1 = PN1D5
D2 = PF4A2 = PN2D6
D3 = PB2A3 = PN3D9
D4 = PF5A4 = PN4D10 (Depend on S2 setting)
D5 = PB4A5 = PN5D11 (Depend on S2 setting)
D6 = PC2D13
D7 = PF6
D8 = PA4
D9 = PC4
D10 = PA0 (Depend on S2 setting)
D11 = PA3 (Depend on S2 setting)
D12 = PA2
D13 = PA1
D14 = PG2
D15 = PG3
General Purpose Input / Output
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7
PB0, PB1, PB2, PB3, PB4, PB5, PB6, PB7
PC0, PC1, PC2, PC3, PC4, PC5, PC6, PC7
PD0, PD1, PD2, PD3, PD4, PD5, PD6, PD7
PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7
PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7
PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7
PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7
PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7
PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7
PL0, PL1, PL2, PL3, PL4, PL5, PL6, PL7
PM0, PM1, PM2, PM3, PM4, PM5, PM6, PM7
PN0, PN1, PN2, PN3, PN4, PN5, PN6, PN7
PP0, PP1, PP2, PP3, PP4, PP5, PP6, PP7
PR0, PR1, PR2, PR3, PR4, PR5, PR6, PR7
PT0, PT1, PT2, PT3, PT4, PT5
PU0, PU1, PU2, PU3, PU4, PU5, PU6, PU7
PV0, PV1, PV2, PV3, PV4, PV5, PV6, PV7
PW0, PW1, PW2, PW3, PW4, PW5, PW6, PW7
PY0, PY1, PY2, PY3, PY4

Technical Reference

Schematics

Data Sheet

Interface Firmware

Please update the interface firmware in the following way when upgrading, or if it has been deleted for some reasons.

  1. Download Flash programmer that programming tool to program I/F firmware.
    When you use the flash programmer, you need to agree "SOFTWARE LICENSE AGREEMENT"
    Download Flash Programmer
    Download Adbun-M4G9 Firmware

If you update I/F firmware, before you update the firmware, you need to erase old firmware once.

How to erase I/F firmware

  1. Short CN14
    /media/uploads/ganeshramachandran/adbun-m4g9_cn14.png
  2. Short 5-6 on CN3
  3. Connect PC to CN15 on Adbun-M4G9 by mini USB cable
    /media/uploads/ganeshramachandran/adbun-m4g9_cn15.png
  4. Start up Flash Programmer
    Click FlashProgCM.exe on your PC.
  5. Select [Setup]-[Device]
    When you cannot select "Setup device", remove USB cable and select [File]-[Reconnect].
    And after procedure 6, connect PC to CN15 by USB cable again.
  6. Select Device "TMPM366FY_EraseALL" and push Apply button on Device tab.
  7. Select "USB" at Communication tab and push OK button.
  8. Select [Edit]-[Chip Erase]

Programming procedure is as follow.
9. Remove USB cable
10. Select [File]-[Reconnect] (If not able to select this, it's OK)
11. Select [Setup]-[device]
12. Select Device "TMPM366FY" and push the Apply button.
13. Specify firmware that download this site on Object File tab.
14. Reconnect USB cable
15. Push OK button on Setup sheet.
16. Select [Edit]- [Erase/Program]
(If you meet password error, you select "Device is Blank" in Setup Password sheet.)
17. Jumper settings
18. Remove jumper on CN14
19. Remove USB cable once

 Buy Now


You need to log in to post a discussion