Beruflich Dokumente
Kultur Dokumente
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.
JTAG
Buzzer
Speaker
Oscillator
LED
Microphone
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
BGTMPM330-1 4
Memory map
- 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
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.
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
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
USB
The TMPM330FDFG has no internal USB; the USB on this board is
through UART1.
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
BGTMPM330-1 12