Download Print this page

Advertisement

Quick Links

Introduction
The CS2600 incorporates a customer-programmable OTP memory which can be used to automatically configure the
device after power-up. The OTP memory enables the device to be factory programmed for a specific target application,
removing the need for a host system to configure the device.
The OTP memory is programmed using the I2C or SPI interface. The CS2600 supports two different OTP programming
methods, for production and prototyping respectively. A device may be programmed using either method, but not both.
• Prototype programming provides greater flexibility to reprogram the device during product development.
• Production programming ensures data integrity using an error correction code (ECC) algorithm.
This document describes how to program the CS2600 OTP memory using the Hazelburn development platform and
SoundClear Studio (SCS) tools. It also describes how the device can be programmed in a production environment.
Table of Contents
1
Hardware Connections and OTP Programming Supply ............................................................................................. 2
1.1 Hazelburn Development Platform ................................................................................................................................. 3
1.1.1 Select VDD_OTP from USB ...................................................................................................................................................... 4
1.1.2 Select VDD_OTP from External Supply .................................................................................................................................... 4
1.2 CDB2600-DC-SKT Daughter Card ............................................................................................................................... 5
1.2.1 Select VDD_OTP from Internal Regulator (VDD = 3.3V) .......................................................................................................... 7
1.2.2 Select VDD_OTP from Hazelburn System (VDD = 1.8V) .......................................................................................................... 7
2
SoundClear Studio Support ........................................................................................................................................... 8
2.1 SoundClear Studio ........................................................................................................................................................ 8
2.2 SoundClear Studio Quick Start Guide .......................................................................................................................... 9
2.2.1 Installing Packages ................................................................................................................................................................... 9
2.2.2 SoundClear Studio User Guide ................................................................................................................................................. 9
2.2.3 Executing SoundClear Studio Scripts ...................................................................................................................................... 10
3
Customer OTP Programming ...................................................................................................................................... 11
3.1 OTP Programming Workflow ...................................................................................................................................... 11
3.2 Prototype OTP Programming ..................................................................................................................................... 11
3.3 Production OTP Programming.................................................................................................................................... 15
3.3.1 Generating CSV Image File in OTP Panel (SCS) ................................................................................................................... 16
3.3.2 Pseudo-Code Script Example ................................................................................................................................................. 16
4
CDB2600-DC-SKT Reference Clock Selection ........................................................................................................... 20
5
Revision History ............................................................................................................................................................ 23
http://www.cirrus.com
CS2600 OTP Programming Guide
Cirrus Logic
©
Copyright
2024 Cirrus Logic, Inc. and
Cirrus Logic International Semiconductor Ltd.
All Rights Reserved
AN0650
AN0650R1
SEP 2024

Advertisement

loading
Need help?

Need help?

Do you have a question about the CS2600 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cirrus Logic CS2600

  • Page 1 The OTP memory is programmed using the I2C or SPI interface. The CS2600 supports two different OTP programming methods, for production and prototyping respectively. A device may be programmed using either method, but not both.
  • Page 2 Figure 1 OTP Programming Supply Connections Programming the OTP memory is supported using the Hazelburn development platform (CDB-CLOCKING-MB with daughter cards). The CS2600 device is accommodated in a socket on the CDB2600-DC-SKT daughter card. The SoundClear Studio (SCS) tool is used to support OTP programming.
  • Page 3 The Hazelburn system generates all the required power supplies from the 5 V USB supply. The VDD supply to the CS2600 (on the daughter card) can be set to 3.3 V or 1.8 V using Switch S7. An external VDD can be provided via test point TP1 if required.
  • Page 4 (2.5 V) can be used as the programming supply using test points TP2 (VDD_OTP_EXT) and TP4 (GND). Figure 4 External Programming Supply AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 5 The Hazelburn system uses interchangeable daughter cards to support a variety of devices. The CDB2600-DC-SKT is a daughter card designed to support OTP programming. The daughter card incorporates a socket for a CS2600 device. The CDB2600-DC-SKT daughter card connects to J1 and J2 of the Hazelburn board as shown in Figure 5. The daughter- card connectors are keyed and can only plugged in one way.
  • Page 6 The bottom side of the CDB2600-DC-SKT daughter card is shown in Figure 7. Figure 7 CDB2600-DC-SKT Daughter Card Bottom Side Further information regarding the CDB2600-DC-SKT daughter card is provided in Section 4. AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 7 This configuration must be used if the VDD supply is 1.8 V. See Section 1.1 to set the VDD operating voltage. CS2600 socket Figure 9 CDB2600-DC-SKT with VDD_OTP from Hazelburn System AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 8 The latest release of SoundClear Studio is available on the Cirrus Logic website and on the Cirrus Logic software (please contact your Cirrus Logic representative for access). Note that, by downloading software from the Cirrus Logic website or software portal, you agree to the terms of our license agreement; please read the terms before downloading.
  • Page 9 The SoundClear Studio User Guide can be accessed from the main menu using “Help → Open Help Contents..." Figure 12 SoundClear Studio – User Guide AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 10 <User Documents>\Cirrus Logic\SCS\Scripts\<Package Name>. The scripts can be accessed from SoundClear Studio using “File→Show User Script Folder…→<Package Name>” Figure 14 SoundClear Studio – Show User Script Folder AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 11 AN0650 3 Customer OTP Programming The CS2600 supports two different methods for OTP programming: prototyping and production respectively. A device may be programmed using either method, but not both. 3.1 OTP Programming Workflow Prototype programming is used to fine-tune the device settings for a specific application. The prototype programming configures selected fields only, with all other fields initializing to their respective default values.
  • Page 12 The preparation for OTP Write is shown in Figure 17. Note that, if the device has already been programmed as a production device, an error message indicates that prototype programming is no longer possible. Figure 17 OTP panel – Prepare for OTP Write AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 13 Figure 18 OTP Panel – Select Register Fields The prototype programming is executed by clicking on “Write” A successful write is indicated as shown in Figure 19. Figure 19 Successful OTP Write AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 14 OTP prototype program. Use the check boxes to select the fields for programming. In the example shown in Figure 21, the S_RATIO_SEL field is selected for update. Figure 21 SoundClear Studio – Updated OTP Panel with S_RATIO_SEL Selected AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 15 OTP program in the target application. The OTP memory can be programmed up to seven times. Each time the OTP memory is programmed, the previous images are automatically superseded. AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 16 If the status is 1 (Prototyping Mode), the device has been used for prototyping mode and cannot be used for production programming. # Check OTP_MODE status. otp_sts = readReg(“OTP_STS6”, bit 0”) if (otp_sts & 1) AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 17 # Read in production csv file open('name.csv', mode='r') as csv_file: csv_reader = csv.DictReader(csv_file) # Enable OTP programming – Set OTP_PROG_EN to 1 (OTP writes permissible) writeReg(“OTP_CONTROL1”, 0x041A) AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 18 == 0: print(f'Column names are {", ".join(row)}') line_count += 1 print(f'\t{row["address"]} , {row["value"]}') writeReg(int(row["address"],16), int(row["value"],16)) wait 200 us line_count += 1 print(f'Processed {line_count} lines.') AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 19 24 address/data pairs: value = readReg(address) if (value != data) print (“Error: data mismatch at ‘address’. Read ‘value’, expected ‘data’.”) exit() AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 20 AN0650 4 CDB2600-DC-SKT Reference Clock Selection The CS2600 frequency reference (REF_CLK) can be provided using a crystal, external reference, or internal oscillator. This section describes how to configure the reference clock on the CDB2600-DC-SKT daughter card. Note that the choice of reference has no effect on OTP programming. The REF_CLK options are documented here as the CDB2600-DC-SKT board is not described in the Hazelburn user guide.
  • Page 21 The configuration is illustrated in Figure 25. Figure 25 Daughter Card with External Reference Clock Option (R9) • The REF_CLK can be provided from the internal LCO of the CS2600. This option is configured by moving jumpers P1 and P2 to positions 2 and 4.
  • Page 22 The daughter card configuration is R , R6 populated 0 Ω); R3, R , R , R8, R9 non-populated. The configuration is illustrated in Figure 28. Figure 28 Daughter Card with Crystal Y3 as Reference Clock Option (R5 and R6) AN0650R1 Cirrus Logic © Copyright 2024 Cirrus Logic, Inc. and Cirrus Logic International Semiconductor Ltd.
  • Page 23 CONNECTION WITH THESE USES. This document is the property of Cirrus Logic, and you may not use this document in connection with any legal analysis concerning Cirrus Logic products described herein. No license to any technology or intellectual property right of Cirrus Logic or any third party is granted herein, including but not limited to any patent right, copyright, mask work right, or other intellectual property rights.