AN4440 Application note

Similar documents
AN2261 APPLICATION NOTE

STM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1:

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

AN2667 Application note

Main components USB charging controller with integrated power switch

AN4321 Application note

LD A very low drop adjustable positive voltage regulator. Description. Features

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:

AN4274 Application note

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

ECMF02-3F3. Common mode filter with ESD protection. Features. Description. Applications. Complies with the following standard:

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

AN4113 Application note

AN2061 APPLICATION NOTE

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

UM1719 User manual. The STPM3x evaluation software. Introduction

Description of STM8 LIN software package (STSW-STM8A-LIN) release 4.1. Table 1. Release information. STM8 LIN package

AN626 Application note

AN2676 Application note

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

AN4308 Application note

ST10F271B/E, ST10F272B/E Errata sheet

AN2672 Application note

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512

AN4464 Application note

AN2143 Application note

AN2474 Application note

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

AN3996 Application Note

AN3279 Application Note

AN2240 Application note

EV-VNQ5E050AK VNQ5E050AK evaluation board

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

AN2855 Application note

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STTS V memory module temperature sensor. Features

AN3354 Application note

STEVAL-IDW001V1. Wi-Fi daughterboard for STM32F0DISCOVERY. Description. Features

AN2825 Application Note

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

AN1335 APPLICATION NOTE

UM1488 User manual. STPMC1 evaluation software. Introduction

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer

AN3250 Application note

AN2734 Application note S-Touch design procedure Introduction

STEVAL-VNH5019A. Motor driver evaluation board based on VNH5019A. Description. Features

EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards

SOT23-6L ESDALCL6-2SC6

Obsolete Product(s) - Obsolete Product(s)

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

AN3348 Application note

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions.

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

AN3965 Application note

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.

AN2673 Application note

STM8 I 2 C optimized examples

AN3001 Application note

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.

STA bit single chip baseband controller for GPS and telematic applications. Features

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

AN3980 Application note

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards:

Main components 1 A, high efficiency adjustable single inductor dual mode buckboost DC-DC converter

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)

AN3154 Application note

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

UM1750 User manual. STEVAL-IPE023V1: STPMxx programmer. Introduction

STEVAL-ILL055V1: 11 W offline LED drive with high power factor based on HVLED815PF (EU input range) Figure 1. STEVAL-ILL055V1

Obsolete Product(s) - Obsolete Product(s)

STLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description

AN2202 Application note

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

AN2361 Application note

AN4290 Application note

UM1677 User manual. Getting started with STM32F030 Value Line Discovery development tools. Introduction

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

AN2592 Application note

AN3964 Application note

AN3975 Application note

AN3265 Application note

AN2557 Application note

AN2408 Application note

AN2594 Application note

SMP75. Trisil for telecom equipment protection. Features. Description. Applications. Benefits

How to interpret the LPS331AP pressure and temperature readings. Main components mbar absolute barometer with digital output

AN4371 Application note

AN3423 Application note

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

L6460. SPI configurable stepper and DC multi motor driver. Features. Description

AN2430 Application note

AN2792 Application note

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

Transcription:

Application note RFFE HVDAC control Pascal Paillet Introduction The purpose of this application note is to familiarize mobile phone designers with RFFE HVDAC control. Common tasks are explained and more advanced functions such as trigger mode, extended mode or USID reprogramming are also detailed. Each frame or the significance of the sequence is explained and illustrated with concrete examples tested with the antenna utility tools (AUT) and the HVDAC control board either in full automatic mode or manually (bit by bit). HVDAC is used in mobile phones for antenna tunability. This is a programmable DC/DC converter supplying the bias voltage for PTIC variable capacitors. Although both SPI and RFFE interface options exist, this document concerns the latter which is now mainstream. April 2014 DocID025913 Rev 1 1/36 www.st.com

Contents AN4440 Contents 1 Tools installation............................................ 4 1.1 AUT software installation...................................... 4 1.2 HVDAC control board connection............................... 4 1.3 HVDAC connection to the HVDAC control board.................... 4 1.4 AUT startup................................................ 5 1.5 Register information.......................................... 7 2 RFFE frame................................................ 8 3 RFFE normal modes......................................... 9 3.1 Basic mode................................................. 9 3.1.1 Definition................................................. 9 3.2 Trigger mode.............................................. 13 3.2.1 Purpose................................................. 13 3.2.2 Methodology............................................. 13 4 RFFE extended mode....................................... 19 4.1 Purpose.................................................. 19 4.2 Methodology............................................... 19 4.3 Frame construction.......................................... 19 5 USID modification.......................................... 23 5.1 One HVDAC............................................... 23 5.1.1 Introduction.............................................. 23 5.1.2 Sequence construction..................................... 23 5.2 Two HVDACs.............................................. 27 5.2.1 Introduction.............................................. 27 5.2.2 Schematic............................................... 28 5.2.3 Frame construction........................................ 29 5.3 N HVDACs on the same RFFE bus............................. 33 6 Conclusion................................................ 34 2/36 DocID025913 Rev 1

Contents 7 Revision history........................................... 35 DocID025913 Rev 1 3/36 36

Tools installation AN4440 1 Tools installation 1.1 AUT software installation Install the latest release from ST of the AUT software on a computer. Follow the AUT installation manual instructions. 1.2 HVDAC control board connection Connect the HVDAC control board to the computer. Release 3.00.01 embeds an RFFE HVDAC-204 Release 2.00.01 embeds an RFFE HVDAC-204 Release 1.00.01 embeds an RFFE HVDAC-304 Release 0.00.01 does not embed any HVDAC as its purpose is to connect an external HVDAC to one of the numeric SPI or RFFE outputs. 1.3 HVDAC connection to the HVDAC control board An RFFE HVDAC-253M is used in the examples provided in this document. The HVDAC-253M EVB RFFE input is connected to the HVDAC control board RFFE output connector. The HVDAC control board should be configured in order to send RFFE commands to this connector instead of the onboard RFFE HVDAC. To do this, move switch N 2 in order to have the green D8 LED OFF and the yellow D5 LED ON. Figure 1. HVDAC control board 4/36 DocID025913 Rev 1

Tools installation 1.4 AUT startup 1. Click on the AUT icon on the desktop. Figure 2. AUT startup: screenshot 1 2. Choose the HVDAC tab 3. Choose the "SPI/RFFE Out" tab in the center of the window, select the HVDAC Control Board in the COM Port dropdown menu, and press CONNECT. Then when the demoboard description is successfully updated, press the "START HVDAC CONTROL" button. DocID025913 Rev 1 5/36 36

Tools installation AN4440 Figure 3. AUT startup: screenshot 2 Finally, click on the HVDAC-253M tab. Figure 4. AUT startup: screenshot 3 6/36 DocID025913 Rev 1

Tools installation 1.5 Register information If HVDAC-204 (on the HVDAC control board) is used (for samples only), the registers are shifted because this is a 4-output HVDAC, then: DAC A: Register 2 HVDAC-253M => Register 3 HVDAC-204 DAC B: Register 1 HVDAC-253M => Register 2 HVDAC-204 DAC C: Register 0 HVDAC-253M => Register 1 HVDAC-204 DAC D: N/A HVDAC-253M => Register 0 HVDAC-204 Please note that the examples given in this document concern HVDAC-253M and the designer must adapt HVDAC-204. Please note also that HVDACs (204 versus 252x or 253M) do not have the same resolution. For more information, please refer to the respective product datasheet. DocID025913 Rev 1 7/36 36

RFFE frame AN4440 2 RFFE frame The RFFE frame is a sequence composed of the start code, the unique slave identifier, operation code (read or write), the register address, the data and the bus park. Two parity bits check the frame integrity. The first bit counts from the unique slave identifier to the register address. The second one checks the data. Figure 5. RFFE frame 8/36 DocID025913 Rev 1

RFFE normal modes 3 RFFE normal modes 3.1 Basic mode 3.1.1 Definition This mode is the easiest way to set one DAC value. The value of the DAC changes as soon as the frame is sent. The register selected in the frame sent defines the modified DAC and DATA sets its value. Example 1 Set HVDAC output B to 2.8 V USID: 0111b; B Register: 1 = 00001b; Data value: 2.8/0.1 V = 28d = 1C = 00011100b Frame definition Parity bit 1 = 0 (5 bytes to 1) Parity bit 2 = 0 (3 bytes to 1) Figure 6. Basic mode DocID025913 Rev 1 9/36 36

RFFE normal modes AN4440 Test with AUT (automatic mode) Note: HVDAC-253M does not need any configuration frame as it starts at power-up with boost ON at 27 V and DAC A, B and C active at 0 V. Write 2.8 (for 2.8 V) in the DAC B setting textbox. and press Send. Read the command sent for DAC B which is in the rich text box: 0x0 0x1D 0x4 0x38 (The last bit in the schematic is the bus park => protocol bits are not indicated by the software). Measure HVDAC B output: should be 2.8 V. Change the DAC B value for the next exercise Figure 7. Test with AUT (automatic mode) 10/36 DocID025913 Rev 1

RFFE normal modes Test with AUT (manual mode) On the right of the HVDAC window, enter manually each bit in the Manual Command text boxes. USID Write Register address First parity bit Data Second parity bit To send the manual frame, click Send. Figure 8. Test with AUT (manual mode) Measure HVDAC B output: should be 2.8 V. DocID025913 Rev 1 11/36 36

RFFE normal modes AN4440 Example 2 Set HVDAC output A to 22.8 V USID: 0111b; A register: 2 = 00001b; Data Value: 22.8 V -> 120d = 01111000b Frame definition Parity bit 1 = 0 (5 bytes to 1) Parity bit 2 = 1 (4 bytes to 1) Figure 9. RFFE frame for 22.8 V on DAC A 12/36 DocID025913 Rev 1

RFFE normal modes 3.2 Trigger mode 3.2.1 Purpose When several PTICs are implemented in a mobile phone, it can be necessary to change all or at least more than one DAC value simultaneously, for example, to re-match the antenna when the band or use case changes. The basic mode updates the DAC value immediately after each frame, thus DAC values are sequentially updated. The trigger mode provides a solution for storing the DAC values without updating them and then updates simultaneously all DAC outputs when the trigger occurs. 3.2.2 Methodology 1 st step: trigger mode activation - trigger mask to 0 in register 28 2 nd step: DAC values program: identical to basic mode but no change will occur on the outputs. These values are stored in the shadow registers. 3 rd step: trigger - set trigger bits to 1 in register 28 - Values are transferred from the shadow registers to DAC. All selected DAC values are updated simultaneously. Example 3 First step: activate trigger mode Active trigger mask bits (in register 28): Reset bits D3, D4 and D5. Figure 10. Active trigger mask bits register Second step: program several DACs Program DAC A for 15.6 V and DAC B for 13.2 V DAC A corresponds to register 2, 15.6 V -> 96d = 01100000h Figure 11. RFFE frame for 15.6 V on DAC A DocID025913 Rev 1 13/36 36

RFFE normal modes AN4440 DAC B corresponds to register 1, 13.2 V -> 88d = 01011000b Figure 12. RFFE frame for 13.2 V on DAC B Third step: trigger bits Set trigger bits (in register 28): only one register to update for this operation then all DACs will be updated simultaneously. Figure 13. Set trigger bits register Continue with trigger mode To update DACs with other values, still with trigger mode, repeat : Second step: program several DACs and : Third step: trigger bits. 14/36 DocID025913 Rev 1

RFFE normal modes Test with AUT (automatic mode) Connect an oscilloscope on A and B HVDAC outputs in order to visualize their simultaneous update when the trigger occurs. HVDAC-253M does not need any configuration frame as it starts at power-up with boost ON at 27 V and DAC A, B and C active at 0 V. Remove trigger mask bits and click on "Program". Figure 14. Test with AUT (automatic mode - detail) DocID025913 Rev 1 15/36 36

RFFE normal modes AN4440 Set DAC values and press "Send" - no DAC value change on HVDAC outputs. Figure 15. Updating DAC values 16/36 DocID025913 Rev 1

RFFE normal modes Set trigger bits and press "Program" - all DAC values change simultaneously. Figure 16. Trigger Test with AUT (manual mode) On the right of the HVDAC window, enter manually each bit in the text boxes of the Manual Command section. Remove trigger mask bits in register 28: 11100b, set Data = 0b, parity 1 = 0, parity 2 = 1. Figure 17. Set trigger mode in manual mode DocID025913 Rev 1 17/36 36

RFFE normal modes AN4440 Set DAC A value: in register 2: 10b, set data = 1100000b, parity 1 = 0, parity 2 = 1. Figure 18. Update DAC A in manual mode Set DAC B value: in register 1: 01b, set data = 1011000b, parity 1 = 0, parity 2 = 0. Figure 19. Update DAC B in manual mode Set trigger bits in register 28: 11100b, set data = 111b, parity 1 = 0, parity 2 = 0. Figure 20. Trigger in manual mode 18/36 DocID025913 Rev 1

RFFE extended mode 4 RFFE extended mode 4.1 Purpose The extended mode allows updating simultaneously several registers (Ex: DAC A, B and C) using a unique but longer frame than the standard one and is faster than using the trigger mode. 4.2 Methodology Note: The frame is no longer the standard one as this methodology consists in defining the quantity of consecutive registers to update, the first register address followed by each register data. Updated registers are consecutive. If a register which does not need an update is between two registers that need a change, it is necessary to re-send its values. 4.3 Frame construction Note: The beginning of the frame has almost the same structure as other frames. Instead of the write code, 3 x 0 bits indicates the use of the extended mode. Instead of the register address, the byte count defines the quantity of registers that will be updated which corresponds to the byte quantity after the start register. Byte count starts from 0 so byte count = n means (n+1) registers updated. Figure 21. Start of extended mode frame This is followed by data values for each register: Figure 22. First half of extended mode data DocID025913 Rev 1 19/36 36

RFFE extended mode AN4440 The frame is ended by the bus park. Figure 23. End of extended mode data Example 4 Update in extended mode DAC A = 15.6 V, DAC B = 13.2 V, DAC C = 22.8 V USID = 0111b Extended mode = 000b Byte Count: 3 registers to update (A, B, C - registers 2, 1, 0) => Byte Count = 2d = 00010b Parity 1 = 1 (4 bits equal to 1) Start register = 0 Parity 2 = 1 (0 bits equal to 1) Figure 24. Extended mode - example Register 0 value: 22.8 V => 01111000b Parity bit for register 0 = 1 (4 bits equal to 1) Figure 25. First extended mode data 20/36 DocID025913 Rev 1

RFFE extended mode Register 1 value: 13.2 V => 01011000b Parity bit for register 1 = 0 (3 bits equal to 1) Figure 26. Second extended mode data Register 2 value: 15.6 V => 01100000b Parity bit for register 2 = 1 (2 bits equal to 1) Figure 27. Third extended mode data and end of frame DocID025913 Rev 1 21/36 36

RFFE extended mode AN4440 Test with AUT (automatic mode) Check the box "Enable Extended Mode" and set the DAC values. Click on "Send" button. Figure 28. Enable extended mode with AUT Test with AUT (manual mode) The AUT is not ready for extended mode performed manually because its manual mode sends a "bus park" after each transmission of 22 bits. The next bytes are out of the protocol, thus, not understood and the frames are refused. No HVDAC change occurs. 22/36 DocID025913 Rev 1

USID modification 5 USID modification 5.1 One HVDAC 5.1.1 Introduction USID stands for Unique Slave Identifier. It is coded on 4 bits at the beginning of each RFFE frame. Any HVDAC has a USID, by default 0111b, but can be reprogrammed. This is the way to discriminate one slave from another and send instructions to the right device. 5.1.2 Sequence construction USID reprogramming can be performed in 3 steps: 1. Register 29 update During this instruction, the USID, SELSID and product ID are checked and must match the device Figure 29. Register 29 update 2. Register 30 update During this instruction, the manufacturer ID is checked and must match the device Figure 30. Register 30 update 3. Register 31 update During this instruction, the New USID is defined: here 0001b Figure 31. Register 31 update DocID025913 Rev 1 23/36 36

USID modification AN4440 Example 5 Change HVDAC USID to 0001b First frame: register 29 update: initial USID = 0111b, register 29 = 11101b, SELSID = 1, product ID = 00000010b, parity 1 = 1, parity 2 = 0 Figure 32. Update register 29 Second frame: register 30 update: initial USID = 0111b, register 30 = 11110b, manufacturer ID = 00000100b, parity 1 = 1, parity 2 = 0 Figure 33. Update register 30 Third frame: register 31 update: initial USID = 0111b, register 31 = 11101b, manufacturer ID (Short) = 0001b, New USID = 0001b, parity 1 = 1, parity 2 = 0 Figure 34. Update register 31 24/36 DocID025913 Rev 1

USID modification Test new USID Send a frame with new USID: Send 96d to register 1: New USID = 0001b, register 1 = 00001b, date = 96d = 01100000b, parity 1 = 0, parity 2 = 1 Figure 35. Send data to DAC B with new USID DAB value will be updated to 15.6 V Send a frame with old USD: Try to send 56d to register 1: Old USID = 0111b, register 1 = 00001b, date = 56d = 00011100b, parity 1 = 0, parity 2 = 0 Figure 36. Send data to DAC B with old USID DAB B value will not be updated. Test with AUT (automatic mode) Set SELSID: if the SELSID pin is tied to Vcc: SELSID = 1 or if SELSID is to GND: SELSID = 0 Set new USID Click on program Figure 37. USID modification with AUT (automatic mode) HVDAC is reprogrammed with new USID. Now each frame (programming DAC value, for example) is sent with this new USID. DocID025913 Rev 1 25/36 36

USID modification AN4440 Test with AUT (manual mode) Updated register 29 Figure 38. USID modification with AUT - register 29 Updated register 30 Figure 39. USID modification with AUT - register 30 Updated register 31 Figure 40. USID modification with AUT - register 31 The following text is displayed in the rich text box in the bottom left of the window Figure 41. USID modification with AUT - frames sent 26/36 DocID025913 Rev 1

USID modification Send a value to register 1 Figure 42. Test new USID Check that the old USID is no longer valid Figure 43. Check that old USID is no longer valid 5.2 Two HVDACs 5.2.1 Introduction When two HVDACs are connected on the same RFFE bus, the first preoccupation is to distinguish them. Initially both have the same USID: 0111b. The unique difference is the SELSID pin. One HVDAC should be connected to GND and the other should be connected to VCC. This differentiation allows reprogramming differently the USID of each one. Finally, when the HVDACs have two different USIDs, it is possible to send commands independently to one or the other. DocID025913 Rev 1 27/36 36

USID modification AN4440 5.2.2 Schematic Figure 44. Schematic 28/36 DocID025913 Rev 1

USID modification 5.2.3 Frame construction The USID modification procedure is described for one HVDAC in Section 5.1.2: Sequence construction. Example 6 Change USID of HVDAC1 (SELSID to GND) and set it to 0001 First frame: register 29 update: initial USID = 0111b, register 29 = 11101b, SELSID = 0, product ID = 00000010b, parity 1 = 1, parity 2 = 0. SELSID is equal to 0 which is different from HVDAC2 and differentiates both HVDACs. Figure 45. HVDAC1 USID - register 29 Second frame: register 30 update: initial USID = 0111b, register 30 = 11110b, manufacturer ID = 00000100b, parity 1 = 1, parity 2 = 0 Figure 46. HVDAC1 USID - register 30 Third frame: register 31 update: Initial USID = 0111b, register 31 = 11101b, manufacturer ID (short) = 0001b, New USID = 0001b, parity 1 = 0, parity 2 = 0 Figure 47. HVDAC1 USID - register 31 DocID025913 Rev 1 29/36 36

USID modification AN4440 Change USID of HVDAC2 (SELSID to VCC) and set it to 0010 First frame: register 29 update: initial USID = 0111b, register 29 = 11101b, SELSID = 1, product ID = 00000010b, parity 1 = 1, parity 2 = 1. SELSID is equal to 1 which is different from HVDAC2 and now HVDAC1 USID is no longer 0111 but 000, differentiating both HVDACs. Figure 48. HVDAC2 USID - register 29 Second frame: register 30 update: Initial USID = 0111b, register 30 = 11110b, manufacturer ID = 00000100b, parity 1 = 1, parity 2 = 0 Figure 49. HVDAC2 USID - register 30 Third frame: register 31 update: Initial USID = 0111b, register 31 = 11101b, manufacturer ID (Short) = 0001b, New USID = 0010b, parity 1 = 1, parity 2 = 1 Figure 50. HVDAC2 USID - register 31 30/36 DocID025913 Rev 1

USID modification Tests Send value 40d (00101000) for 4 V to HVDAC1, register 1, USID is now 0001 Figure 51. Send data to HVDAC1 Send value 112d (01110000) for 20.4 V to HVDAC2, register 1 USID is now 0010 Figure 52. Send data to HVDAC2 Tests with AUT (manual mode) HVDAC1 USID programming Register 29 programming Figure 53. HVDAC1 USID modification with AUT - register 29 Register 30 programming Figure 54. HVDAC1 USID modification with AUT - register 30 DocID025913 Rev 1 31/36 36

USID modification AN4440 Register 31 programming Figure 55. HVDAC1 USID modification with AUT - register 31 HVDAC2 USID programming Register 29 programming Figure 56. HVDAC2 USID modification with AUT - register 29 Register 30 programming Figure 57. HVDAC2 USID modification with AUT - register 30 Register 31 programming Figure 58. HVDAC2 USID modification with AUT - register 31 32/36 DocID025913 Rev 1

USID modification Send value 40d (00101000) for 4 V to HVDAC1 Figure 59. Send data to HVDAC1 with AUT Send value 112d (00100000) for 20.4 V to HVDAC2 Figure 60. Send data to HVDAC2 with AUT 5.3 N HVDACs on the same RFFE bus For more than 2 HVDACs (N) on the same RFFE bus, the recommendation is to connect one HVDAC SELSID to GND and other ones to the MCU GPIOs (N-1). This will allow reprogramming each HVDAC USID in order to transmit commands independently to each. For USID reprogramming, the task of the MCU is to set GPIO polarity in order to have a unique couple "USID + SELSID" on the HVDAC in the USID reprogramming phase. HVDAC with SELSID to GND reprogramming while all GPIOs are high level (it is unique with SELSID = 0) Set the next HVDAC SELSID to GND using GPIO (as the previous HVDAC USID is no longer 0111, it is unique with USID = 0111 AND SELSID=0) Repeat for all HVDACs (N-2 times) Then each HVDAC has a unique USID. DocID025913 Rev 1 33/36 36

Conclusion AN4440 6 Conclusion The purpose of this application note has been to assist the designer in programming RFFE HVDAC, either in basic mode, trigger mode, or the more complex extended mode. This document may also serve as a reference for managing HVDAC programming when several HVDACs are implemented on the same platform and connected to the same RFFE bus. 34/36 DocID025913 Rev 1

Revision history 7 Revision history Table 1. Document revision history Date Revision Changes 29-Apr-2014 1 Initial release. DocID025913 Rev 1 35/36 36

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. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. 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. 2014 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 - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 36/36 DocID025913 Rev 1