ST AN1529 Application note

AN1529
APPLICATION NOTE
EXTENDING THE CURRENT & VOLTAGE CAPABILITY
ON THE ST7265 VDDF SUPPLY
by Microcontroller Division Applications
INTRODUCTION
The ST7265 features a VDDF pin to make it easier to interface between the its own MCU supply (V a selectable 2.4 to 3.6V power supply to external devices and to supply some of the ST7265 I/Os: consequently, a device supplied by the VDDF pin can interface with the ST7265 directly without any electrical voltage adaptation.
In some cases, th e programm able voltage v alues or the current capability of the emb edded regulator may not match the application needs. An alternative solution is required.
This application note describes two such solutions, based on practical implementations: A
3.3V/500mA power supply for driving a Microdrive Storage media on the ST7265x_EVAL/MS
“5in1” USB Mass Storage evaluation board from STMicroelectronics.
) and external devices with a lower voltage suppl y. This VDDF pin can be used as
DD
AN1529/0201 1/6
1
EXTENDING THE CURRENT & VOLTAGE CAPABILITY
1 FEATURE OVERVIEW
Two implementations are described in this application note, covering two different require­ments:
– The required voltage value is outside the range of the embedded programmable regulator – Higher current capability
Both solutions feature a low power mode to meet the USB suspend mode specification.
1.1 REPLACING THE EMBEDDED REGULATOR
An external regulator can be used to obtain an output voltage that is outside the range of the embedded programmable regulator. This solution can also be a way to bypass the output cur­rent limitations. A dedicated MCU I/O pin is needed to reduce the consumption of the external circuitry to typically 50µA when in suspend mode.
1.2 ADDING A CURRENT AMPLIFIER
This solution is a cost-effective way to extend the output current capability of the internal reg­ulator. This solution involves a voltage follower which is referenced on the VDDF output from the internal regu lator. Ze ro cons umpti on is r eached by turning o ff th e V DD F outpu t from the embedded regulator.
2/6
EXTENDING THE CURRENT & VOLTAGE CAPABILITY
2 REPLACING EMBEDDED REGULATOR BY THE STMICROELECTRONICS KF33
The proposed solution is based on the STMicroelectronics KF33 regulator device and features the following caracteristics:
– 3.3V output voltage. – 500mA output current. – 50µA low power mode consumption.
This schematic can be adapted for other voltage regulators.
Refer to STMicroelectronics KFxx specification. Figure 1. Example Schematic for connecting external KF 33 Regulator
USB 5V
Pin 8
.
USB 5V
– With this type of implementation, the OUTPUT of the regulator must be connected to the
VDDF pin of the MCU in order to supply its I/O pin s. In this case VDDF is an input for the ST7265.
– It is also mandatory to use a ST7265 I/O supplied by MCU VDD for the INHIBIT control.
Input
100nF
GND GND
10K
INHIBIT
Pin 5
KF33
Pin 2,3,6,7
GND
USB 5V
Pin 1
Output
MCU I/O
VDDF 3.3V
2uF
2.1 HARDWARE IMPLEMENTATION ON THE 5 IN 1 EVALUATION BOARD
Figure 1 shows how to connect the regulator to the board.
USB 5V is the USB bus power. VDDF 3.3V is the media card supply. The INHIBIT pin is used to control the regulator through the PF2 port of the ST7265.
3/6
EXTENDING THE CURRENT & VOLTAGE CAPABILITY
2.2 MODIFICATION OF THE 5-IN-1 FIRMWARE
The Media Configuration Layer o f the Mass Storage firmware has to be mo dified so that the external regulator is controlled instead of the internal one and to use the PF2 port control IN­HIBIT pin of the external regulator.
PF2 is initialized before MAL_POWER_ON in the USER_init() function, in the Appli.c file:
SetBit(PFDR,2); // Ext Reg OFF SetBit(PFDDR,2);// PF2 Output, INHIBIT ctrl
You should remove the PF2 configuration from the Init_port() function, in the Appli.c file:
//ClrBit(PFDDR,2);// PF2 Input: SLOT1
The MAL_POWER_ON & MAL_POWER_OFF functions in the Mconfig.h file are redefined as follows:
#define MAL_POWER_ON {PEDDR |= 0x08; PFDR &= ~0x04;} #define MAL_POWER_OFF {PEDDR &= ~0x08; PFDR |= 0x04;}
4/6
EXTENDING THE CURRENT & VOLTAGE CAPABILITY
3 ADDING A CURRENT AMPLIFIER
The VDDF voltage output from the internal regulator is the voltage reference of the current amplifier. The output voltage follows VDDF. When the reference voltage is 0V, the current am­plifier stage is conumes 0mA. This is a good solution for USB suspend mode.
Figure 2. Example current amplifier schem atic
USB 5V
100
2N22222N2222
2N2905
10PF
.
VDDF 3.3V
100
GND
VddF 3.3V
The PNP 2N2905 transistor can be replaced to increase the output current value.
3.1 HARDWARE IMPLEMENTATION ON THE 5 IN 1 EVALUATION BOARD
Figure 2 shows how to connect the current amplifier to the board.
USB 5V is the USB bus power. VDDF 3.3V is the internal regulator output.
3.3V SUPPLY I
max
1K
GND
: 500mA
3.3V supply is the MICRODRIVE supply Low power mode is controlled by cutting VDDF.
3.2 MODIFICATION OF THE 5-IN-1 FIRMWARE
No modification needed.
5/6
EXTENDING THE CURRENT & VOLTAGE CAPABILITY
"THE PRESENT NOTE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH INFORMATION REGARDING THE IR PRO DUCT S IN OR DER FO R THEM TO SAV E TIME . AS A RES ULT, STMIC ROEL ECTR ONI CS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH A NOTE AND/OR THE USE MADE BY CUSTOMERS OF THE INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS."
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implic ation or otherwise under any patent or patent ri ghts of STM i croelectr oni cs. Specifications mentioned in thi s publicati on are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as cri tical comp onents in life support dev i ces or systems wi thout the express written approv al of STMicroel e ctronics.
The ST logo is a registered trademark of STMicroelectronics
2003 STMicroelectronics - All Rights Reserved.
STMicroelectronics Group of Compan i es
http://www.s t. com
Purchase of I
2
C Components by STMicroelectronics conveys a license under the Philips I2C Patent. Rights to use the se components in an
2
C system i s granted pro vid ed that the sy stem conforms to the I2C Standard Specification as defined by Philips.
I
Australi a - Brazil - Canada - China - Fi nl and - France - Germany - Hong Kong - India - Israel - I taly - Japan
Malaysi a - M al ta - Morocco - Singapore - Spain - Sw eden - Switz erland - United Kingdom - U.S.A.
6/6
Loading...