AN2339 Application note
STR91x hardware development getting started
Introduction
The STR91x MCUs are derivatives of the STMicroelectronics STR9 family of 32-bit 0.18 HCMOS microcontrollers. They combine high CPU performance (CPU frequency up to 96 MHz) with rich peripheral functionalities and enhanced I/O capabilities. They offer up to 96 MIPS directly from Flash memory, very large SRAM with optional battery backup and support clock generation via PLL or via an external clock. The STR91x can perform signalcycle DSP instructions good for speech processing, audio algorithms, and low-end imaging. This application note provides a complement to the information in the STR91x datasheet and reference manual by describing the minimum hardware environment required to build an application around the STR91x. It's divided into six chapters: minimum hardware requirements, power supply, clock management, reset control, development and debugging tool support and basic schematic. Each chapter gives the hardware needed for each specific section and does not describe the STR91x blocks in detail. To get detailed description of these features, refer to STR91x datasheet and reference manual or STR910 Eval-Board datasheet.
May 2006
Rev 2
1/20
www.st.com
Contents
AN2339
Contents
1 2 Hardware requirements summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1 2.2 2.3 Main operating voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Analog supply and reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Battery backup supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3
Clock management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1 3.2 Main oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Real time clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2.1 3.2.2 External crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Tamper detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 3.4 3.5
USB clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 TIM clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Output clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4
Reset control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1 Reset input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1.1 4.1.2 System Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Global Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2
Reset output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5
Development and debugging tool support . . . . . . . . . . . . . . . . . . . . . . 12
5.1 JTAG interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.1.1 5.1.2 JTAG interface pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 JTAG signal integrity and maximum cable lengths . . . . . . . . . . . . . . . . 14
5.2
ETM interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 ETM Interface pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Minimizing signal skew (balancing PCB track lengths) . . . . . . . . . . . . . 16 Minimizing crosstalk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Impedance matching and termination . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Rules for series terminators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2/20
AN2339
Contents
6 7
STR91x basic schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3/20
Hardware requirements summary
AN2339
1
Hardware requirements summary
In order to build an application around STR91x, the application board should, at least, provide the following features:
Power supply Clock management Reset control JTAG/Mictor connector
4/20
AN2339
Power supply
2
Power supply
Figure 1. Power Supply Overview
128-pin devices 80-pin devices
(from 1V up to VDDQ) (VDDQ)
AVREF A/D converter AVDD AVSS (VDDQ) AVREF_AVDD AVSS_VSSQ A/D converter
VSSQ I/O Ring (3V or 3.3V) VDDQ (3V or 3.3V)
VSSQ VDDQ
I/O Ring
(VDDQ)
VBATT
Note 1
RTC
(VDDQ)
VBATT
No t e 1
RTC
SR AM
SR AM
(1.8V)
VDD VSS
Cor e
(1.8V)
VDD VSS
Cor e
Note1: You can connect power to the SRAM with VBATT by firmware
2.1
Main operating voltages
The STR91x devices are processed in 0.18 m technology, ARM966E-S RISC core and I/O peripherals need different power supplies. In fact, STR91x requires two separate operating voltage supplies. The CPU and memories operate in a range from 1.65V to 2.0V on the VDD pins, and the I/O ring operates in the 2.7V to 3.3V or 3.0V to 3.6V range on the VDDQ pins. All pins need to be properly connected to the power supplies. These connections, including pads, tracks and vias should have an impedance as low as possible. This is typically achieved with thick track widths and preferably dedicated power supply planes in multi-layer PCBs. In addition, each VDD/VSS and VDDQ/VSSQ pair should be decoupled with ceramic capacitors which need to be placed as close as possible to the appropriate pins or below the pins on the contrary side of the PCB. Typical values are 10nF to 100nF, but exact values depend on the application needs. The following figure shows the typical layout on such a VDD/VSS pair.
5/20
Power supply Figure 2. Typical layout for VDD/VSS pair Via to VDD Cap. Via to VSS
AN2339
VDD VSS
STR91x
2.2
Analog supply and reference
The ADC unit on 128-pin packages has an independent A/D Converter Supply and Reference Voltage. This means that it has an isolated analog voltage supply input at pin AVDD to accept a very clean voltage source. The analog voltage supply range on pin AVDD is the same range as the digital voltage supply on pin VDDQ. Additionally, an isolated analog supply ground connection is provided on pin AVSS only for further ADC supply isolation. They offer a separate external analog reference voltage input for the ADC unit on the AVREF pin for better accuracy on low voltage input, and the voltage on AVREF can range from 1.0V to VDDQ. On 80-pin packages, the analog supply is shared with the ADC reference voltage pin, and the analog ground is shared with the digital ground at a single point in the STR91xF device on pin AVSS_VSSQ. Also the ADC reference voltage is tied internally to the ADC unit supply voltage on pin AVCC_AVREF, meaning the ADC reference voltage is fixed to the ADC unit supply voltage.
2.3
Battery backup supply
You can optionally connect a battery to the VBATT pin (2.5V to 3.5V) of the STR91x so that SRAM contents are automatically preserved when the normal operating voltage on the VDD pin is lost or drops below the 1.4V threshold. Automatic switchover of VBATT power to SRAM can be disabled by firmware if you want the battery to power only the RTC and not the SRAM.
Note:
1
You are advised to ground all unused pins on ports 0-9 to reduce noise susceptibility, noise generation, and minimize power consumption. There are no internal or programmable pullup resistors on ports 0-9. All pins on ports 0-9 are 5V tolerant Pins on ports 0,1,2,4,5,7,8,9 have 4 mA drive and 4 mA sink. Ports 3 and 6 have 8 mA drive and 8 mA sink. For more details on the power supply, refer to the STR91xF datasheet.
2 3
6/20
AN2339
Clock management
3
Clock management
The STR91x offers a flexible way for selecting the core and peripheral clocks, the devices have up to four external clock source inputs: Main Oscillator, RTC, USB Clock and TIM clocks. It also provides one output clock. Figure 3. Clock Management
25MHz MII_PHYCLK
PHYSEL
X1_CPU X2_CPU
4-25MHz
Main OSC
PLL
fOSC
fPLL
fMSTR
X1_RTC X2_RTC
RTC OSC
32.768kHz fRTC
Master CLK
BRCLK 1/2 EXTCLK_T0T1 To UART TIM01CLK
16-bit prescaler
EXTCLK_T2T3
To TIM0 & TIM1 TIM23CLK
16-bit prescaler
USBCLK USB_CLK48M 48MHz 1/2 To USB
To TIM2 & TIM3
3.1
Main oscillator
The source for the main oscillator input is a 4 to 25 MHz external crystals connected to STR91xF pins X1_CPU and X2_CPU or an external oscillator device connected to pin X1_CPU, in this case the X2_CPU pin can be left open and not used. The recommended circuitry for a crystal is shown below. C1, C2 and R1 values depend greatly on the crystal type and manufacturer. You should ask your crystal supplier for the best values for these components.
7/20
Clock management Figure 4.
AN2339 Recommended circuitry for crystal oscillator pins X1_CPU and X2_CPU XTAL1 XTAL2
R1
C1
C2
The values of the load capacitors C1 and C2 also heavily depend on the crystal type and frequency. For best oscillation stability they normally have the same value. Typical values are in the range from below 10pF up to 30pF. The parasitic capacitance of the board layout also needs to be considered and typically adds a few pF to the component values. The resistor R1 is recommended for feedback stability and has a value of around 1M. Note: In the PCB layout all connections should be as short as possible. Any additional signals, especially those that could interfere with the oscillator, should be locally separated from the PCB area around the oscillation circuit using suitable shielding.
3.2
3.2.1
Real time clock
External crystal
A 32.768 kHz external crystal can be connected to pins X1_RTC and X2_RTC, or an external oscillator connected to pin X1_RTC to constantly run the real time clock unit. This 32.768 kHz clock source can also be used as an input to the clock control unit to run the CPU in slow clock mode for reduced power.
3.2.2
Tamper detection
On 128-pin STR91xF devices only, there is a tamper detect input pin, TAMPER_IN, used to detect and record the time of a tamper event on the end product such as malicious opening of an enclosure, unwanted opening of a panel, etc. The activation mode of the tamper pin is programmable to one of two modes: 1. 2. One is Normally Closed/Tamper Open. The second mode will detect when a signal on the tamper input pin is driven from lowto-high, or high-to-low depending on firmware configuration.
8/20
AN2339 Figure 5. 32.768 kHz oscillator
STR91xF
X1_RTC 32 kHz crystal TAMPER_IN X2_RTC For more details concerning capacitance, refer to the crystal manufacturer datasheet. VCC1 can be: VCC1
Clock management
VBATT: if you want to preserve tamper function when VDD and VDDQ are switched off. VDDQ: if you don't want to preserve tamper function when VDD and VDDQare switched off
3.3
USB clock
STR91x contains a USB 2.0 Full Speed device module interface that operates at a precise frequency of 48 MHz. This clock is usually provided by an external oscillator connected to the USB clock pin USB_CLK48M. However, to save board space and cost, the 48 MHz USB clock can also be generated by the internal PLL using one single external oscillator for both system and USB module.
Note:
Care is required when programming the PLL multiplier and divider factors, not to exceed the maximum allowed operating frequency (96 MHz). At power up, the CPU defaults to run the oscillator clock, as the PLL is not ready (locked). The LOCK bit is set when the PLL clock has stabilized.
3.4
TIM clock
Like the USB interface, TIM0/TIM1 and TIM2/TIM3 can receive an external clock on pin EXTCLK_T0T1 and EXTCLK_T2T3 respectively.
3.5
Output clock
The STR91xF devices can optionally output a 25 MHz clock to the external Ethernet PHY interface device via output pin MII_PHYCLK, in this case, the STR91xF must use a 25 MHz signal on its main oscillator input. The advantage here is that an inexpensive 25 MHz crystal may be used to source a clock to both STR91xF and the external PHY device. Alternatively an external 25 MHz oscillator can be connected directly to the external PHY interface device. In this case the STR91xF can use a crystal at a frequency other than 25 MHz.
9/20
Reset control
AN2339
4
Reset control
There are two types of internal hardware reset, defined as System Reset and Global Reset. The STR91x device also provides a Reset output signal.
4.1
4.1.1
Reset input
System Reset
A system reset resets all registers except the Clock Control Register, PLL Configuration Register, System Status Register, Flash Configuration register, Protection register and the FMI Bank address and Bank size Registers. A system reset is generated when one of the following events occurs:
A low level on the RESET_INn pin (External Reset): This input signal is active low. It has no internal pull-up to VDDQ. A valid active-low input signal of tRINMIN = 100ns.
JTAG Reset Command (JTAG reset): The JTAG interface has two reset signals connected to the debug target hardware: nTRST drives the JTAG nTRST signal on the ARM processor core. It is an open collector output that is activated whenever the In-Circuit Emulators (ICE) software has to re-initialize the debug interface in the target system. nSRST is a bidirectional signal that both drives and senses the system reset signal on the target. The open collector output is driven LOW by the debugger to re-initialize the target system. In Watchdog mode, a reset is generated when the counter reaches the end of count.
Watchdog reset
For more details, refer to Section 5.1: JTAG interface on page 12 Note: If the nRESET and nTRST signals are linked together, resetting the system also resets the TAP controller.
4.1.2
Global Reset
A global reset sets all the registers to their reset values, it is generated when one of the following events occurs:
LVD circuitry
LVD circuitry will always cause a global reset if the CPU VDD source drops below it's fixed threshold of 1.4V. However, the LVD trigger threshold to cause a global reset for the I/O ring's VDDQ source is set to one of two different levels, depending on the VDDQ operating range. If VDDQ operation is at 2.7V to 3.3V, the LVD dropout trigger threshold is 2.4V. If VDDQ operation is 3.0V and 3.6V, the LVD threshold is 2.7V.
10/20
AN2339
Reset control
Power On Reset (POR reset)
Internal reset is active until VDDQ and VDD are both above the LVD thresholds. This POR condition has a duration of tPOR (10ms min), after which the CPU fetches the first instruction from address 0x0000 0000. Figure 6. Reset timing
POR reset time ~10ms Minimum 100ns
fOSC RESET_IN pin Internal RESET0 (Flash signal) Internal RESET1 (CPU and peripherals)
...
POR reset
Flash memory initialization phase
4.2
Reset output
The RESET_OUT pin can be used to reset other application components when a system or global reset occurs.
11/20
Development and debugging tool support
AN2339
5
Development and debugging tool support
The STR91xF device supports connection to both In-Circuit Emulators (ICE) via standard JTAG interface and trace tools via an Embedded Trace Macrocell (ETM9) interface.
5.1
JTAG interface
The STR91x has a user debug interface. It contains a six-pin serial interface conforming to JTAG, IEEE standard 1149.1-1993, "Standard Test Access Port-Scan Boundary Architecture". JTAG allows the ICE device to be plugged to the board and used to debug the software running on the STR91x. JTAG emulation allows the core to be started and stopped under control of the connected debugger software. The user can then display and modify registers and memory contents, and set break and watch points.
5.1.1
JTAG interface pins
The JTAG interface pins consist of the following signals: Table 1.
Std name
JTAG interface signals
STR91x name Direction/ Description Function This active LOW open-collector is used to reset the JTAG port and the associated debug circuitry. It is asserted at power-up by each module, and can be driven by the JTAG equipment. TDI goes down the stack of modules to the motherboard and then back up the stack, labelled TDO, connecting to each component in the scan chain. TMS controls transitions in the tap controller state machine. TMS connects to all JTAG components in the scan chain as the signal flows down the module stack. TCK synchronizes all JTAG transactions. TCK connects to all JTAG components in the scan chain. Series termination resistors are used to reduce reflections and maintain good signal integrity. TCK flows down the stack of modules and connects to each JTAG component. However, if there is a device in the scan chain that synchronizes TCK to some other clock, then all down-stream devices are connected to the RTCK signal on that component.
nTRST
JTRST
Test Reset (from JTAG equipment)
TDI
JTDI
Test data in (from JTAG equipment)
TMS
JTMS
Test mode select (from JTAG equipment)
TCK
JTCK
Test clock (from JTAG equipment)
12/20
AN2339 Table 1.
Std name
Development and debugging tool support JTAG interface signals
STR91x name Direction/ Description Function The RTCK signal is returned by the core to the JTAG equipment, and the clock is not advanced until the core had captured the data. In adaptive clocking mode, the debugging equipment waits for an edge on RTCK before changing TCK. TDO is the return path of the data input signal TDI. nSRST is an active LOW open-collector signal that can be driven by the JTAG equipment to reset the target board. Some JTAG equipment senses this line to determine when a board has been reset by the user. When the signal is driven LOW by the reset controller on the core module, the motherboard resets the whole system by driving nSYSRST low. DBGRQ is a request for the processor core to enter debug state. DBGACK indicates to the debugger that the processor core has entered debug mode.
RTCK
JRTCK
Return TCK (to JTAG equipment)
TDO
JTDO
Test data out (to JTAG equipment)
nSRST
nRSTIN
System reset (bidirectional)
DBGRQ
GND (not used) GND (not used)
Debug request (from JTAG equipment) Debug acknowledge (to JTAG equipment)
DBGACK
The JTAG input signals have weak internal pull-up and pull-down resistors, but these are not always active:
When debug protection is activated (JTAG permanently held in reset internally) At power up and down there may be a short duration where the power on reset is already released internally, but where the resistors are not yet active.
To avoid any floating input pins even for a very short period it is highly recommended to always provide additional external pull-up and pull-down resistors. This recommendation is valid whether the JTAG port is used or not.
13/20
Development and debugging tool support The following table shows the recommended values and types: Table 2. Recommended JTAG debug port components
Recommended external resistor type
AN2339
Signal name JTCK JTDI JTDO JTMS JTRST JRTCK
Should have a pull-down between pin and VSSQ to enable hot swap and post-mortem debugging Pull-up between pin and VDDQ Pull-up between pin and VDDQ Pull-up between pin and VDDQ Pull-down between pin and VSSQ Should have a pull-down to fix a stable value on that signal when debugging a non-synthesizable core.
Note:
1
The recommended value for pull-ups and pull-downs is 10k, although the optimum value depends on the signal load. For example, pull-downs should be about 1k when working with TTL logic. It is recommended that you place the JTAG header as closely as possible to the STR91x device, because this minimizes any possible signal degradation caused by long PCB tracks.
2
5.1.2
JTAG signal integrity and maximum cable lengths
When using longer cables it is essential to consider the cable as a transmission line and to provide appropriate impedance matching, otherwise reflections occur. With the typical situation at the target end (weak drivers, no impedance matching resistors) you can only expect reliable operation over short cables (approximately 30cm). If operation over longer cables is required:
For very long cables, a solution is to buffer the JTAG signals through differential drivers, such as the LVDS cable. Reliable operation is possible over tens of metres using this technique. For intermediate lengths of cables, you can instead improve the circuitry used at the target end. The recommended solution is to add an external buffer with good current drive and a 100. series resistor for the TDO and RTCK signals
5.2
ETM interface
The STR91x supports the connection of an external Embedded Trace Module (ETM9) to provide real time code tracing of the ARM966E-S macrocell in an embedded system. The ETM interface is primarily one-way. To provide code tracing, the ETM block must be able to monitor various ARM9E-S inputs and outputs. The required ARM9E-S inputs and outputs are collected and driven out from the ARM966E-S macrocell from the ETM interface registers. In STR91x devices the ETM9 interface has nine pins in total, four of which are data lines, and all pins can be used for GPIO when tracing is no longer needed. The ETM9 interface is used in conjunction with the JTAG interface for trace configuration.
14/20
AN2339
Development and debugging tool support
5.2.1
ETM Interface pins
The ETM interface pins consist of the following signals: Table 3. ETM interface signals
STR91x name Not used Not used VSSQ Not used nRSTIN JTDO JRTCK JTCK JTMS JTDI JNTRST Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used ETM_TRCLK Not used ETM_EXTRIG VDDQ Signal pin 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 2 4 6 8 10 12 Description No Connect No Connect Signal ground Debug request Open-collector output from the run control to the target system reset. Open-collector output from the run control to the target system reset Return test clock from the target JTAG port Test clock to the run control unit from the JTAG port Test mode select from run control to the JTAG port Test data input from run control to the JTAG port Active-low JTAG reset The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port No Connect No Connect Clocks trace data on rising edge or both edges Debug acknowledge from the test chip, high when in debug state Optional external trigger signal to the Embedded trace Macrocell (ETM) Signal level reference
Target board NC NC VSSQ DBGRQ NSRST TDO RTCK TCK TMS TDI NTRST Por t A TRACEPKT[15] Por t A TRACEPKT[14] Por t A TRACEPKT[13] Por t A TRACEPKT[12] Por t A TRACEPKT[11] Por t A TRACEPKT[10] Por t A TRACEPKT[9] Por t A TRACEPKT[8] NC NC Por t A TRACECLK DBGACK EXTRIG VTRef
15/20
Development and debugging tool support Table 3. ETM interface signals
STR91x name V33 Not used Not used Not used Not used ETM_PCK3 ETM_PCK2 ETM_PCK1 ETM_PCK0 ETM_TRSYNC ETM_PSTAT2 ETM_PSTAT2 ETM_PSTAT1 Signal pin 14 16 18 20 22 24 26 28 30 32 34 36 38 Description Supply voltage The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port The trace packet port
AN2339
Target board Vsupply Por t A TRACEPKT[7] Por t A TRACEPKT[6] Por t A TRACEPKT[5] Por t A TRACEPKT[4] Por t A TRACEPKT[3] Por t A TRACEPKT[2] Por t A TRACEPKT[1] Por t A TRACEPKT[0] Por t A TRACESYNC Por t A PIPESTAT[2] Por t A PIPESTAT[1] Por t A PIPESTAT[0]
Star t of branch sequence signal RAM pipeline status RAM pipeline status RAM pipeline status
5.2.2
Minimizing signal skew (balancing PCB track lengths)
You must attempt to match the lengths of the PCB tracks carrying all of TRACECLK, PIPESTAT, TRACESYNC, and TRACEPKT from the STR91x to the Mictor connector to within approximately 0.5 inches (12.5mm) of each other. Any greater differences directly impact the setup and hold time requirements.
5.2.3
Minimizing crosstalk
Normal high-speed design rules must be observed. For example, do not run dynamic signals parallel to each other for any significant distance, keep them spaced well apart, and use a ground plane and so forth. Particular attention must be paid to the TRACECLK signal. If in any doubt, place grounds or static signals between the TRACECLK and any other dynamic signals.
5.2.4
Impedance matching and termination
Termination is almost certainly necessary, but there are some circumstances where it is not required. The decision is related to track length between the STR91x and the Mictor connector.
5.2.5
Rules for series terminators
Series (source) termination is the most commonly used method. The basic rules are:
16/20
AN2339 1. 2. 3.
Development and debugging tool support The series resistor must be placed as close as possible to the STR91x pins (less than 0.5 inches) The value of the resistor must equal the impedance of the track minus the output impedance of the output driver. A source terminated signal is only valid at the end of the signal path. At any point between the source and the end of the track, the signal appears distorted because of reflections. Any device connected between the source and the end of the signal path therefore sees the distorted signal and might not operate correctly. Care must be taken not to connect devices in this way, unless the distortion does not affect device operation.
17/20
STR91x basic schematic
AN2339
6
STR91x basic schematic
The following schematic describes the minimum hardware requirements to get the STR91x running.
1 2 3 4
D
The values of the load capacitors C2 and C3 depend on the crystal type.
+3V3 +3V3 D
R3
R4
R5
C3 20pF
R2 1M
R6
25MHz
10K
10K
10K
10K
JP801 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20
X1
98 99 101 106 109 110 114 116
+3V3
P00 P01 P02 P03 P04 P05 P06 P07
P10 P11 P12 P13 P14 P15 P16 P17
P20 P21 P22 P23 P24 P25 P26 P27
P30 P31 P32 P33 P34 P35 P36 P37
P40 P41 P42 P43 P44 P45 P46 P47
20pF R1 10K RESET# C PB2 1 4 C1 100nF RESET 2 3 74 75 22 21 104 103 100 89
3 2 1 128 127 126 125 124
67 69 71 76 78 85 88 90
10 11 33 35 37 45 53 54
55 59 60 61 63 65 66 68
C2
MCU_X1 MCU_X2 RESET_OUT RESET_IN EMI_ALE EMI_RD EMI_WRH EMI_WR/WRL U1A STR912FW
10K R10
10K R11
10K R8
TRST TCK TMS TDI TDO RTCK RTC-X2 RTC-X1 RTC_TAMPER1 MII_MDIO USBUSB+
107 108 111 115 117 97 41 42 91 94 95 96 +3V3
RESET#
R9
HEADER 10X2 C
10K
X2 R12 10K C42 32.768KHz C43 6pF PB1 1 4 TAMPER 2 3 The values of the capacitors C42 and C43 depend on the crystal type. B 6pF
P50 P51 P52 P53 P54 P55 P56 P57
P60 P61 P62 P63 P64 P65 P66 P67
P70 P71 P72 P73 P74 P75 P76 P77
P80 P81 P82 P83 P84 P85 P86 P87 26 28 30 32 34 36 38 44
+3V3
5 6 7 13 14 15 118 119
12 18 25 27 70 77 79 80
29 31 19 20 83 84 92 93
U1B B 113 82 48 16 +1V8 81 49 17 112 123 122 4 VSS VSS VSS VSS VDD VDD VDD VDD
STR912FW VCCQ VCCQ VCCQ(RTC) VCCQ VCCQ VCCQ VCCQ(PLL) VCCQ 9 23 43 57 73 86 102 120 8 24 40 56 72 87 105 121
+3V3
C8 +3V3AN 100nF
39 BT1 3V
VSSQ AVREF VSSQ AVDD VSSQ(RTC) AGND VSSQ VSSQ VSSQ VSSQ(PCLL) VBAT VSSQ
46 47 50 51 52 58 62 64
P90 P91 P92 P93 P94 P95 P96 P97
+1V8 C21 100nF C22 100nF C23 100nF C24 100nF C32 100nF C25 100nF C41 100nF C31 100nF
+3V3
L1 BEAD
+3V3AN C15 10uF C16 10nF
C17 100nF
C18 100nF
C19 100nF
C20 100nF
A
A
1
2
3
4
18/20
AN2339
Revision history
7
Revision history
Table 4.
Date 14-Apr-2006 10-May-2006
Document revision history
Revision 1 2 Initial release. Added Section 6: STR91x basic schematic. Changes
19/20
AN2339
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST's terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZE REPRESENTATIVE OF ST, ST PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS, WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
2006 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
20/20
|