AN4536 Application Note Rev. 2.0 1/2014
8
Freescale Semiconductor
OTP Overview
2.3
Try-Before-Buy Mode Example
As shown in
Table 1
, it is possible to start the MMPF0100 directly from the TBBOTP registers without actually
programming the part. Shown below is an example of the Try-Before-Buy mode.
Note: All code examples in this document represent a script using the KITPFPGMEVME and the associated GUI.
Command syntax may vary if the user utilizes a different tool for communication.
///---------------------------------------------------------------------------
// F0 – Sample Try-Before-Buy Configuration
// Set VDDOTP = 0 V, PWRON = HIGH, LICELL = 3.0 V (Optional), VIN = VDDIO = 3.3 V
//---------------------------------------------------------------------------
WRITE_I2C:7F:01
// Access PF0100 EXT Page1
//[Extended Page 1 Registers: 0xA0 - 0xAF] ----------------------------------
WRITE_I2C:A0:2B
// Sw1AB Voltage = 1.375 V
WRITE_I2C:A1:01
// Sw1AB Sequence = 1
WRITE_I2C:A2:05
// Sw1AB Freq = 2 MHZ, Mode = Single phase
WRITE_I2C:A8:2B
// Sw1c Voltage = 1.375 V
WRITE_I2C:A9:02
// Sw1c Sequence = 2
WRITE_I2C:AA:01
// Sw1c Freq = 2.0 MHZ
WRITE_I2C:AC:72
// Sw2 Voltage = 3.30 V
WRITE_I2C:AD:05
// Sw2 Sequence = 5
WRITE_I2C:AE:01
// Sw2 Freq = 2 MHZ
//[Extended Page 1 Registers: 0xB0 - 0xBF] ----------------------------------
WRITE_I2C:B0:2C
// Sw3A Voltage = 1.500 V
WRITE_I2C:B1:03
// Sw3A Sequence = 3
WRITE_I2C:B2:05
// Sw3A Freq = 2 MHZ, Mode = Single phase
WRITE_I2C:B4:2C
// Sw3B Voltage = 1.500 V
WRITE_I2C:B5:03
// Sw3B Sequence = 3
WRITE_I2C:B6:01
// Sw3B Freq = 2 MHZ
WRITE_I2C:B8:6F
// Sw4 Voltage = 3.150 V
WRITE_I2C:B9:06
// Sw4 Sequence = 6
WRITE_I2C:BA:01
// Sw4 Freq = 2 MHZ
WRITE_I2C:BC:00
// Swbst Voltage = 5.0 V
WRITE_I2C:BD:0D
// Swbst Sequence = 13
//[Extended Page 1 Registers: 0xC0 - 0xCF] ----------------------------------
WRITE_I2C:C0:06
// Vsnvs Voltage = 3.0 V
WRITE_I2C:C4:03
// Vsnvs Sequence = 3
WRITE_I2C:C8:0E
// Vgen1 Voltage = 1.50 V
WRITE_I2C:C9:09
// Vgen1 Sequence = 9
WRITE_I2C:CC:0E
// Vgen2 Voltage = 1.5 V
WRITE_I2C:CD:0A
// Vgen2 Sequence = 10
//[Extended Page 1 Registers: 0xD0 - 0xDF] ----------------------------------
WRITE_I2C:D0:07
// Vgen3 Voltage = 2.5 V
WRITE_I2C:D1:0B
// Vgen3 Sequence = 11