AdBun-M3H6 development board for Toshiba TMPM3H6FWFG MCU.
The TMPM3H6FWFG is ARM® Cortex®-M3 based microcontroller, which provides 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-M3 core, with a maximum operating frequency of 40 MHz, the TMPM3H6FWFG incorporates 128 Kbyte of flash memory and 18 Kbyte SRAM required for secure communications control.
- TMPM3H6FWFG in LQFP100 package
- ARM®32-bit Cortex®-M3 CPU, 40 MHz max CPU frequency
- 18KB RAM
- 128KB Flash
- SPI (2)
- I2C (3)
- UART (3)
- PWM (8)
- 12bit ADC (16)
- 8bit DAC (2)
- GPIO (87)
- Compatible with a wide range of commercially available shields
- 2.54mm pitch 3-pin jumper connector for power supply 3.3V or 5V select
- Power option
- 4 Push Switch
- 4 LED
- 2 Variable resistor
- Built-in USB drag 'n' drop FLASH programmer
RAM size (18Kbytes) means total size of MAIN RAM (16Kbytes) and BACKUP RAM (2Kbytes).
CN9 Pin Header¶
Inside pins (even number) of CN9 are connected to the terminal of TMPM3H6. The green-framed pins are working with 3.3V I/O without level-shifting.
CN12 Pin Header¶
Inside pins (odd number) of CN12 are connected to the terminal of TMPM3H6. The green-framed pins are working with 3.3V I/O without level-shifting, therefore PE0 to PE5 can work as Analog IN with maximum voltage of 3.3V.
CN5 Pin Header¶
Inside pins (even number) of CN5 are connected to the terminal of TMPM3H6. The green-framed pins are working with 3.3V I/O without level-shifting.
Arduino Pin Header¶
When you use Arduino pin, you need to short that connected Arduino pin on CN9, CN5, and CN12. E.g. short: 7-8, 9-10, 13-14 etc: CN9 Arduino pin header of AdBun-M3H6 Supports 5V I/O only. PE0 to PE5 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-M3H6 board, it is necessary to short-circuit the red line as shown below. The green line is shorted at shipment. If your AdBun-M3H6 is not shorted green line, you need to short-circuit green line.
|PWM Pins||UART Pins||I2C Pins||LED Pins||Switch Pins|
|PP0||USBTX = PJ2||SDA = PA5||LED1 = PB4||SW1 = PN4|
|PC0||USBRX = PJ1||SCL = PA4||LED2 = PB5||SW2 = PN3|
|PJ0||LED2 = PB6||SW3 = PN2|
|PK2||LED2 = PB7||SW4 = PN1|
|Arduino I/O Pins||Arduino Analog Pins||Arduino PWM Pins|
|D0 = PL0||A0 = PE0||D3|
|D1 = PL1||A1 = PE1||D5|
|D2 = PJ4||A2 = PE2||D6|
|D3 = PJ3||A3 = PE3||D9|
|D4 = PC4||A4 = PE4||D10 (Depend on S2 setting)|
|D5 = PC3||A5 = PE5||D11 (Depend on S2 setting)|
|D6 = PB3||D13|
|D7 = PB2|
|D8 = PK1|
|D9 = PJ0|
|D10 = PL6 (Depend on S2 setting)|
|D11 = PP1 (Depend on S2 setting)|
|D12 = PP2|
|D13 = PP0|
|D14 = PA5|
|D15 = PA4|
|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|
|PD0, PD1, PD2, PD3|
|PE0, PE1, PE2, PE3, PE4, PE5, PE6|
|PF0, PF1, PF2, PF3, PF4|
|PH0, PH1, PH2, PH3|
|PJ0, PJ1, PJ2, PJ3, PJ4, PJ5|
|PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7|
|PL0, PL1, PL2, PL3, PL4, PL5, PL6|
|PM0, PM1, PM2, PM3, PM4, PM5, PM6|
|PN0, PN1, PN2, PN3, PN4, PN5|
|PP0, PP1, PP2, PP3|
|PR0, PR1, PR2, PR3|
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-M3H6 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-M3H6 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 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