AdBun-M4G9 development board for Toshiba TMPM4G9F15FG MCU
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.
- 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)
- Compatible with a wide range of commercially available shields
- Power option
- 4 Push Switch
- 4 LED
- 2 Variable resistor
- Built-in USB drag 'n' drop FLASH programmer
RAM size (192Kbytes) and BACKUP RAM (2Kbytes).
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.
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.
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.
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.
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.
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.
Arduino Pin Header Usage Setting¶
When using the Arduino's pin header, it is necessary to short-circuit the red line as shown below.
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.
Please update the interface firmware in the following way when upgrading, or if it has been deleted for some reasons.
- 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
- Short CN14
- Short 5-6 on CN3
- Connect PC to CN15 on Adbun-M4G9 by mini USB cable
- Start up Flash Programmer
Click FlashProgCM.exe on your PC.
- 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.
- Select Device "TMPM366FY_EraseALL" and push Apply button on Device tab.
- Select "USB" at Communication tab and push OK button.
- 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