Sie sind auf Seite 1von 12

TMPM330-SK Board User Guide

IAR KickStart Kit for Toshiba’s TMPM330


TMPM330-SK is an evaluation board from IAR Systems which explores the complete
features of the new ARM Cortex-M3 TMPM330FDFG microcontroller by Toshiba. This
peripheral modules user guide describes the features and peripherals of the evaluation
board.

Features of the TMPM330-SK evaluation board

• TMPM330FDFG ARM 32-bit Cortex-M3 device


• JTAG connector (as defined by ARM) for programming and debugging
• USB driver and connector using UART1
• RS232 driver
• Power jack
• 4 user buttons
• 2 UART connectors
• Audio jack (3.5 mm, mono)
• Reset button
• 32 kHz crystal oscillator
• 10 MHz crystal oscillator (with socket, changeable)
• Power LED
• 8 user LED
• Potentiometer input analog signal
• 4 choices of power supply: USB, JTAG pin 19, Power jack, Computex (JTAG pin 2)
• PCB: FR-4, 1.6 mm, soldermask, silkscreen component print
• Dimensions: 151 x 86 mm
• RoHS compliant

BGTMPM330-1
Introduction
The TMPM330-SK evaluation board has an LCD display and connectors for USB, UART, JTAG,
speaker, audio jack, MIC and ADC input. The board is also equipped with a reset button and user
buttons. Along with IAR Embedded Workbench integrated development environment, this
evaluation board will assist you when evaluating all device peripherals and software debugging.

Electrostatic warning
The TMPM330-SK evaluation board is shipped in a protective anti-static package. The boards
must not be subjected to high electrostatic potentials. General practice for working with static
sensitive devices should be applied when working with this board.

TMPM330 evaluation board overview


Board layout
UART0 UART1 USB Audio jack Power

JTAG

Buzzer

Speaker

Oscillator
LED

Microphone

ADC Reset User Key


Figure 1 – TMPM330-SK board layout

BGTMPM330-1 2
TMPM330 features
• CPU clock up to 40 MHz
• 512 Kbytes flash ROM
• 32 Kbytes SRAM
• Timer, 10-channel 16-bit
• Real time clock
• Watchdog timer
• 3 UART
• SPI, 3 channel
• CEC, 1 channel
• Remote control signal pre-processor, 2 channels
• ADC, 12-channel 10-bit
• Interrupt source, 42 internal and 8 external
• I/O ports, up to 79 pins
• On-chip PLL
• Thumb2 instruction use for improved code efficiency
• High performance and low power consumption
• Operating voltage 2.7-3.6V
• Temperature
o 20~85 degrees (except during flash writing/erasing)
o 0~70 degrees (during flash writing/erasing)

BGTMPM330-1 3
TMPM330 Block Diagram

Figure 2 – TMPM330 block diagram

BGTMPM330-1 4
Memory map

Figure 3 – TMPM330 memory map

TMPM330-SK evaluation board circuits


Power supply circuit
The TMPM330-SK evaluation board can be powered from four different sources:
- USB connector. Use a USB cable to feed 5V through USB host on your PC.

- Power jack. Use an external power supply to feed 9~15V power to the evaluation board.
- JTAG connector. Some debug probes, like IAR J-Link, supply 5V through pin 19.
- Computex emulator (JTAG connector). Computex emulator supply 5V power through pin 2.
The board power consumption is: about 50 mA with all peripheral modules and the MCU running
at full speed. There are different power saving modes which can put TMPM330FDFG in power
sleep mode and in these modes the consumption of the MCU is only a few mA.

Reset circuit
Initial state
The internal circuits, register settings and pin status of the TMPM330 are undefined right after the
power-on. The state continues until the RESET pin receives low-level input after all the power
supply voltage is applied.

BGTMPM330-1 5
Operation
As the precondition, ensure that an internal high-frequency oscillator provides stable oscillation
while power supply voltage is in the operating range. To reset the TMPM330, input a low level
RESET signal for a minimum duration of 12 system clocks (1.5 ms with an external 8 MHz
oscillator).
Cancellation
When the reset is cancelled, the system control register and the internal I/O register of the Cortex-
M3 core are initialized. Note that the PLL multiplication circuit stops after canceling the reset.
Therefore, set the PLLSEL register to use PLL multiplication circuit once again.

Clock circuit
A 10 MHz quartz crystal is connected to TMPM330FDFG. The internal PLL circuit can multiply
this frequency up to 40 MHz. A 32.768 kHz quartz crystal is connected to TMPM330FDFG for its
internal real time clock (RTC).

Connector description

Connector PCB Description


CN1 JTAG JTAG connector
CN2 TRACE TRACE connector
CN3 UART0 UART connector
CN4 MCU Ext. MCU external pins
CN5 UART2 UART connector
CN6 USB/UART1 USB connector, can supply 5V DC power
CN7 PHONE Audio jack
CN8 POWER Supply 9~15V DC power
Table 1 - connector description

BGTMPM330-1 6
Jumper descriptions
JP7 JP4
JP5
JP6

JP1 JP11

JP12
JP2

JP13
JP14

JP15
JP8

JP16 JP9
JP17

JP10
JP3
Figure 4 - The TMPM330-SK evaluation board

BGTMPM330-1 7
Jumper PCB Schematic CPU Description
JP1 UART0 UART0_TX PE0 UART0 transmission
UART0_RX PE1 UART0 receive
UART2_TX PF0 UART0 transmission
JP1 UART2
UART2_RX PF1 UART0 receive
JP2 BOOT PH0 BOOT selection
AN0 PC0
AN1 PC1
AN2 PC2
AN3 PC3
JP3 AIN 8 Channel analog signal
AN4 PD0
AN5 PD1
AN6 PD2
AN7 PD3
JP4 Power jack 5V power supply
JP4_1 USB 5V power supply
JP4 POWER
JP4_2 JTAG 5V power supply (pin 19)
JP4_3 Computex 5V power supply (pin 2)
JP5 BUZZ BUZZ PI0 BUZZER connection
JP6 LCD LCD_BL PF2 LCD_BL
UART1_TX PE4 UART1 transmission
JP7 UART1
UART1_RX PE5 UART1 receive
LED1 PG0 LED1
LED2 PG1 LED2
JP8 LED
LED3 PG2 LED3
LED4 PG3 LED4
LED5 PJ0 LED5
LED6 PJ1 LED6
JP9 LED
LED7 PJ2 LED7
LED8 PJ3 LED8
User_Button_1 PB4 KEY4
User_Button_2 PB5 KEY3
JP10 KEY
User_button_3 PB6 KEY2
User_button_4 PB7 KEY1
LCD_RS PH3 LCD_RS
JP11 LCD_CTL LCD_WR PH2 LCD_WR
LCD_E PH1 LCD ENABLE
JP12 AVCC 3.3 P0WER supply
JP13 VREFH 3.3v or VREFH power
JP14 CVDD 3.3v or CVDD power supply
I2C_SCK PG5 I2C_SCK
JP15 I2C
I2C_SDA PG4 I2C_SDA
JP16 MIC MIC_IN PD7 MIC_IN
JP17 AUDIO Audio_PWM PI1 Audio_PWM
Table 2: Jumper description

BGTMPM330-1 8
External connectors description
JTAG
The JTAG connector allows the software debugger
to communicate via a JTAG (Joint Test Action
Group) port directly with the core. Instructions can
be inserted and executed by the core thus allowing
TMPM330FDFG memory to be programmed with
code and executed step by step by the host software.
For more details, refer to the IEEE Standard 1149.1
- 1990 Standard Test Access Port and Boundary
Scan Architecture and TMPM330FDFG datasheets
and its user manual.

Pin # Signal name Signal type Description


1 VTreF Target reference voltage – Connected to +3V.
2 VCC Power supply – Computex ICE provide power through this
pin
3 NJTRST Input JTAG reset – The TRST pin can be used to reset the test
logic within the Embedded ICE logic
4 NC
5 TDI Input Test Data In – This is the serial data input for the shift
register.
6 NC
7 TMS Input Test Mode Select – The TMS pin selects the next state in
the TAP state machine.
8 NC
9 TCK Input Test Clock – This allows shifting of the data input, on the
TMS and TDI pins. It is a positive edge triggered clock
with the TMS and TCK signals that define the internal
state of the device.
10 GND
11 RTCK Return test clock signal – Some targets must synchronize
the JTAG inputs to internal clocks. To assist in meeting
this requirement, you can use a returned, and retimed, TCK
to dynamically control the TCK rate. J-Link supports
adaptive clocking, which waits for TCK changes to be
echoed correctly before making further changes. Connect
to RTCK if available, otherwise to GND
12 GND
13 TDO Output Test Data Output – This is the serial data output from the
shift register. Data is shifted out of the device on the
negative edge of the TCK signal
14 GND
15 nRST Target CPU reset signal. Typically connected to the
RESET pin of the target CPU, which is typically called
nRST, nRESET or RESET.
16 GND
17 DBGRQ Conected to GND.
18 GND
19 VCC Power supply – J-Link or some other ICE provide power
through this pin.
20 GND
Table 3: JTAG signals and descriptions

BGTMPM330-1 9
RS-232C
TMPM330FDFG have three UARTs which are available on the extension headers. Two of these
are connected to DB9 connectors. All UART interfaces can be served by the DMA controller.
UART0.Tx – pin PE0
UART0.Rx – pin PE1
UART1.Tx – pin PE4
UART1.Rx – pin PE5
UART2.Tx – pin PF0
UART2.Rx – pin PF1

Pin # Signal name Signal Description


type
1 NC
2 TxD UART Transmission
3 RxD UART0 Receive
4 NC
5 GND
6 NC
7 CTS No connection
8 RTS No connection
9 NC
Table 4: RS232 signals and descriptions

BGTMPM330-1 10
Power jack
There is a standard 2.1 mm power jack mounted on the board. The power
input should be DC +9~15V

Pin # Signal name Signal Description


type
1 Power input +9~15V
2 GND GND
Table 5: Power jack signals and descriptions

PHONE Audio Out


There is a standard 3.5 mm audio jack mounted on the board.

Pin # Signal name Signal Description


type
1 Speaker+ Connected to Speaker+
2 Speaker- Connected to Speaker-
3 COM Common Node
Table 6: Audio jack signals and descriptions

USB
The TMPM330FDFG has no internal USB; the USB on this board is
through UART1.

Pin # Signal name Signal Description


type
1 +5V USB +5V
2 USBDM USB Data-
3 USBDP USB Data+
4 GND USB GND
Table 7: USB through UART1, signals and description

BGTMPM330-1 11
ADC
The TMPM330FDFG have a 10-bit, sequential-conversation analog-to-digital converter. This A/D
converter is equipped with 12 analog input channels. These 12 analog input signals (pins AN0
through AN11) are also used as input/output ports. One potentiometer input analog signal is on the
board.

Troubleshooting

If you are unable to find the cause of a problem, try resetting the evaluation board by using the
reset button on the board. Then restart the C-SPY Debugger in the IAR Embedded Workbench
IDE. You can also try disconnecting and reconnecting the power to the evaluation board, pressing
the reset button and then restarting C-SPY

Disclaimer Trademarks etc.


Information given in this document is intended as a help for the IAR Systems, IAR Embedded Workbench, C-SPY,
user. IAR Systems shall not be held liable for any losses or visualSTATE, From Idea to Target, IAR KickStart Kit, IAR
problems arising from using the information given in this PowerPac, IAR YellowSuite, IAR Advanced Development Kit,
document. Neither whole nor any part of the information in this IAR and the IAR Systems logotype are trademarks or registered
document may be adapted or reproduced. trademarks owned by IAR Systems AB. J-Link is a trademark
licensed to IAR Systems AB.

All other trademarks or registered trademarks mentioned in this


document are the properties of their respective owners.
© Copyright 2008 IAR Systems. All rights reserved.

Part number: BGTMPM330-1. First edition: November 2008.

BGTMPM330-1 12

Das könnte Ihnen auch gefallen