CDB6271-2

CDB6271-2 Datasheet


For example, recent codec minicards such as Moon CDB47L91-M-1 do not use the DBVDD1, DBVDD2, DBVDD3, AVDD_1V8 rails, but instead derive all 1.8V rails from the single 1V8_CDC supply rail on Lochnagar and split the rails on the minicard .

Part Datasheet
CDB6271-2 CDB6271-2 CDB6271-2 (pdf)
PDF Datasheet Preview
Lochnagar 2 User Guide

Lochnagar 2 User Guide

For firmware version:

Cirrus Logic Confidential

Copyright Cirrus Logic, Inc., 2016 All Rights Reserved

Lochnagar 2 User Guide JAN ‘17

Lochnagar 2 User Guide

Contents
1 Introduction 6 2 Hardware 7

USB connection to PC 7 Power options 7 USB Power 8 Wall socket Supply 8 Battery / Bench Supply 9 Minicard 9 DSP 10 Codec 10 Microphone 10 Expansion 10 Buttons / 11 LED indicators 11 Other 12 I2C/SPI 12 JTAG 12 SLIMbus 12 Jumper 13 3 Driver Installation and WISCE Support 15 WISCE Device 15 Minimum WISCE Version 15 Controlling Lochnagar 2 16 Lochnagar 2 Firmware Update 16 Hardware setup during update 16 Optional Update 17 Forced 17 Updating the 18 4 Clocking 19 Configuring Clock Routing 19 Clock Setup Guide 19 Example Configuration 20

Cirrus Logic Confidential 2

Lochnagar 2 User Guide JAN ‘17

Lochnagar 2 User Guide

Descriptions of clock sinks and sources 20 List of Clock Sinks 20 List of Clock Sources 21 5 Digital Audio 22 Digital Audio Connection Diagrams 22 Configuring Digital Audio Routing 23 BCLK / LRCLK Routing Operation 23 High Frequency Mode 24 Example Configuration 24 Advanced Clocking 24 AIF interfaces on codec 25 AIF interfaces on the expansion headers 25 PSIA Headers 25 S/PDIF and ADAT 26 Standard use cases 26 Advanced use cases 27 Sound Card 28 Sound Card Audio 28 Enabling the Sound 29 Descriptions of AIF sinks and 30 List of AIF Sinks 30 List of AIF Sources 31 6 USB Audio 32 CLUSBAudio Control Panel 32 Using Lochnagar 2 with Windows DirectSound 34 Using Lochnagar 2 with WASAPI 35 Using Lochnagar 2 with ASIO 36 Adobe Audition 36 Foobar Setup 37 I2S Format on Lochnagar 2 39 7 I2S TDM 40 I2S TDM Mux/Demux Operation 40 Configuring the I2S TDM Peripheral 41 Example Configuration 41

Cirrus Logic Confidential 3

Lochnagar 2 User Guide JAN ‘17

Lochnagar 2 User Guide

Description of I2S TDM sinks and sources 42 Clocking 42 8 Analogue Audio 43 Analogue Port Connection 43 Configuring Analogue Audio 44 Save Settings to 44 RCA Phono Input 44 P1 phono 44 P2 phono 45 Input 46 Analogue/Digital Microphones 46 Analogue Mics 47 Digital Mics 47 RCA Phono Output Ports 48 P3 phono 48 P4 phono 48 Speaker Outputs 49 Analogue I/O on the minicard 49 9 GPIOs 50 Setting up GPIO routing 50 GPIO level 51 Lochnagar 2 on-board GPIOs/LEDs 51 GPIOs on Codec Minicards 52 Descriptions of GPIO sinks and sources 53 GPIO Sink List 53 GPIO Source List 54 10 JTAG 55 Required Chess toolchain update 55 JTAG configuration 55 Example configuration 56 11 58 SLIMbus Header 59 SLIMbus through Expansion Headers 59

Cirrus Logic Confidential 4

Lochnagar 2 User Guide JAN ‘17

Lochnagar 2 User Guide
12 60 Configuring Power Options 60 MICVDD 60 Example Configuration 61
13 Current Monitor 62 Lochnagar 2 Power Rails 62 Monitored Voltage Rails 62 Unmonitored Voltage 63 Current Monitor Plugin 63 Voltage / Current Rail 64 Power Measurement 64 Measurement Modes 64 Export Measurements 65 Save/Load/Restore Settings 65 Board Temperature 65
14 Example Setup Scripts 66 WISCE Profile Scripts 66 Lochnagar 1 and Lochnagar 2 Register 66 Details of Scripts Provided 67 Configuration Template Script 67 Lochnagar Setup 68
15 Troubleshooting 69 Lochnagar 2 Drivers in Device Manager 69 Common issues with Lochnagar 2 69 Audio Driver Issue Drivers reinstalled while audio playing 69 COM Port Issue Run out of COM port numbers 70 Lochnagar 2 does not appear in WISCE 70
16 Contacting Cirrus Logic Support 71

Cirrus Logic Confidential 5

Lochnagar 2 User Guide JAN ‘17

Lochnagar 2 User Guide
1 Introduction

Lochnagar 2 6271-EV2 is the next generation evaluation and development board for Cirrus Logic Smart Codec and Amps devices. It is designed to provide a variety of audio inputs and outputs to the Cirrus devices and to allow for configuration and programming them in a variety of possible use cases. Lochnagar 2 is the same form factor as the original Lochnagar board and is compatible with the same Smart Codec and Amp minicards. It provides all the same functionality as the previous generation, and in addition adds many new features and capabilities. This includes the ability to stream up to 16 channels of USB audio, and built-in current monitor feature that allows the power consumption of the Cirrus devices to be measured without any external equipment. This document describes the features and usage of Lochnagar 2 in detail. The first two sections deal with the initial steps of hardware configuration and driver installation. The sections after this detail each of the features of the board and how to set it up in any potential use case. The final sections detail how to use the setup scripts provided with the Lochnagar 2 Device Pack and a guide on troubleshooting the board if any problems occur.

Cirrus Logic Confidential 6

Lochnagar 2 User Guide JAN ‘17

Lochnagar 2 User Guide
2 Hardware Connections

USB connection to PC

Lochnagar 2 is powered and controlled via a single USB connection. This provides
• Power
• I2C/SPI communications to control device and board
• JTAG communications for DSP debug
• Multichannel USB streaming audio USB class 2
• USB serial port to communicate with Cirrus devices with UART interfaces

The board is provided with a Y-shaped USB cable, connecting a single USB B socket on Lochnagar 2 to two USB A ports on the computer Black plug for power + communications, Red for power only . Both USB connectors must be plugged in to allow for the power consumption of the board.

A Total Phase Aardvark connector is NOT required for Lochnagar 2 to operate, and neither does it require a separate power supply. All power and communications is provided to the board via this single USB link.

Power options

For most use cases, the provided USB cable is enough to power the entire board. In some scenarios, especially those using speakers, it may be necessary to plug a second power source into the Lochnagar 2 board. The onboard WM8310 PMIC will select the highest voltage from each of the three potential power supply inputs and use this to power the board's main SYSVDD bus. This is nominally 5V, but may be lower if a battery is used to supply the board.
More datasheets: AT49BV001AN-55VU | AT49BV001AN-55TU | AT49BV001ANT-55VU | A-USB/2-A-E-R | FJX3001RTF | HSP-7 | ACP-1320BP-00XE | ACP-1010MB0-00XE | ACP-1320MB0-00XE | W2E250-HJ32-01


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived CDB6271-2 Datasheet file may be downloaded here without warranties.

Datasheet ID: CDB6271-2 523238