background image

CodecControl Software

www.ti.com

3.4.2

Command Dialog

Open the command dialog (View->Command…) to write, edit, load, save, and run command scripts.
Command scripts are text files that contain commands to communicate with the TI audio codec. The
syntax is described in

Section 3.5

. The command dialog is shown in

Figure 4

.

Figure 4. Command Dialog

The primary area of the command dialog is the command buffer (editable text) which contains the
command script. Clicking the Run button runs the command script.

The smaller, read-only text area on the right side of the command dialog displays control data read
from the TI audio codec. The Clear button clears the Read Data field.

The one-line text edit field on the left bottom allows single command execution.

The Record check box enables recording of commands generated by the control software.

12

PCM5122/42EVM-U

SLAU444 – May 2012

Submit Documentation Feedback

Copyright © 2012, Texas Instruments Incorporated

Содержание PCM5122/42EVM-U

Страница 1: ...U also employs the TAS1020B USB controller and the SRC4392 asynchronous sample rate converter This User s Guide describes the operation of the PCM5122 42EVM U and the Texas Instruments CodecControl software CodecControl provides a graphical user interface for supported TI audio codecs The software is compatible with Microsoft Windows XP Vista and Windows 7 Contents 1 Introduction 2 2 PCM5122 42EVM...

Страница 2: ...ning carefully 1 2 Related Documentation from Texas Instruments The following document provides information regarding TI s integrated circuits used in the assembly of the PCM5122 42EVM U These documents are available from the TI web site The last character of the literature number corresponds to the document revision that is current at the time of the writing of this document Newer revisions are a...

Страница 3: ... 42EVM U is an easy to use USB interface multi functional system allowing for digital optical SPDIF line or external I2 S input with varying options for clock sources and clock frequencies Along with onboard sample rate conversion this architecture allows for versatile use and testing of the PCM5122 42 family of parts Figure 1 shows the PCM5122 42EVM U with the jumper and switch locations noted 1 ...

Страница 4: ... and scenarios for the PCM5122 42 device The digital interface section or left half of the PCM5122 42EVM U is a four layer design However the PCM5122 42 device and analog circuitry or right half of the EVM board consists only of two layers For the analog circuitry surrounding the PCM5122 42 device certain components can be removed at the cost of higher performance This configurability allows for o...

Страница 5: ... 4 for AVDD W5 MCLK RXCKO select Test Points TP1 GPIO4 GPIO4 MAST TP2 GPIO5 GPIO5 ATT0 TP3 MC SCL ATT1 TP4 MOSI SDA ATT2 TP5 GPIO3 GPIO3 AGNS TP6 GPIO2 ADR2 DOUT TP7 MODE1 TP8 MS MODE2 MODE2 TP9 FLT TP10 SCK TP11 BCK TP12 DIN TP13 LRCK TP14 FMT TP15 XSMT TP16 PCM5122 42 analog output R TP17 PCM5122 42 analog output L TP18 1 8 V TP19 3 3 V TP20 3 3 VA TP21 GND TP22 GND TP23 GND TP24 AGND TP25 AGND ...

Страница 6: ... PDIF input it automatically derives the MCLK of the input which is sent to the RXCKO pin Dividers are used to send the generated BLCK and LRCLK from the audio ports if they are in master mode For certain use cases the SRC4392 is set up so that these ports are used When routing through the audio serial ports on the SRC4392 it is important to use RXCKO as the master clock source for the PCM5122 42 ...

Страница 7: ...IF input for example there may need to be changes made in the scripts and jumper configuration to accommodate these cases Likewise the shunts on header W3 may need to be installed accordingly Section 2 6 3 and Section 2 6 4 are some example use cases for the PCM5101 for USB playback and optical SPDIF input respectively 2 6 3 USB Playback The following script is used for playback via USB RESET RESE...

Страница 8: ...wer Status Disable RCVR PDRX and Port B PDPB power down and enable All Function power down w E0 01 14 w E0 03 29 2 6 4 Optical SPDIF Input via J4 48 kHz RXCKO Master Clock RESET RESET THIS IS MASTER RESET FOR SRC SW3 2 7 turned on rest turned off Page 0 DEFAULT for Control Write to page 0 w E0 7F 00 Register 01 Bit 7 1 resets to default d 100 w E0 01 80 Delay 0 1 sec to allow part to reset d 100 R...

Страница 9: ... OFF TX MUTE ON optical disabled w E0 08 03 TX MUTE OFF w E0 08 01 PLL Configuration Set P 2 J 8 D 0 w E0 0F 22 w E0 10 1B w E0 11 A3 GPIO1 Config GPIO1 RCVR non audio data w E0 1B 06 GPIO2 Config GPIO2 RCVR non valid data w E0 1C 07 Power Status Disable RCVR PDRX and Port B PDPB power down and enable All Function power down w E0 01 14 Unmute Port A Output w E0 03 29 Disable All Function power dow...

Страница 10: ...e NOTE Before a PC running Windows can use the TI audio converter EVM as a sound card the EVM must be properly configured sampling rate audio routing internal amplifier settings etc with the CodecControl software This configuration occurs automatically once an EVM is detected by the CodecControl software Figure 3 illustrates the CodecControl software with the PCM5122 42EVM U window as an example o...

Страница 11: ... object is triggered If a register that is linked to an active object is changed through other components for example the script interpreter or the register inspector the active object changes its state accordingly The CodecControl software automatically detects a supported TI audio codec EVM once it is connected to an available USB port of the PC If no TI audio codec EVM is connected to the PC th...

Страница 12: ...dialog is the command buffer editable text which contains the command script Clicking the Run button runs the command script The smaller read only text area on the right side of the command dialog displays control data read from the TI audio codec The Clear button clears the Read Data field The one line text edit field on the left bottom allows single command execution The Record check box enables...

Страница 13: ...io codec EVMs Program the new firmware to a TI audio codec EVM by choosing File Update Firmware and select the new firmware file The update process takes a few seconds there is no progress bar and is completed once the update firmware dialog disappears The EVM must be disconnected and reconnected to finish the firmware update process 3 5 Script Syntax A script is a text file that contains data to ...

Страница 14: ...illiseconds Command f address register mask optional timeout This commands suspends script execution until the value read from address register matches mask address is the device address in hexadecimal format For example 30 for device address 0x30 register is the register that is read from in hexadecimal format mask is a 8 bit binary format mask that is compared with the data from the device Each ...

Страница 15: ...DE2 DVDD DGND LDOO XSMT FMT LRCK DIN BCK SCK FLT CPVDD CAPP CPGND CAPM VNEG OUTL OUTR AVDD AGND VCOM 19 20 21 22 23 24 25 26 10 9 8 7 6 5 4 3 1 2 28 27 PCM5142 11 12 13 14 18 17 16 15 GPIO4 GPIO5 SCL SDA GPIO3 ADR2 MODE1 MODE2 DVDD DGND LDOO XSMT ADR1 LRCK DIN BCK SCK GPIO6 CPVDD CAPP CPGND CAPM VNEG OUTL OUTR AVDD AGND VCOM 19 20 21 22 23 24 25 26 10 9 8 7 6 5 4 3 1 2 28 27 27 28 2 1 3 4 5 6 7 8 ...

Страница 16: ...6 3 V Capacitors Digi Key 445 1422 2 ND Kemet C0805C226M9PACTU 20626 1 100 µF C21 P5 D10 H16 85 C 20 25 V Capacitors Nichicon UKZ1E101MPM 12689 P 4 1 10 0 kΩ C5 1206 1 4W 1 150 V Resistors Venkel CR1206 4W 49R9FT Venkel CR1206 4W 49R9FT 11493 P 2 1 0 0 zero R7 1206 1 8W 5 250 V Resistors Digi Key P0 0ETR ND Venkel CR1206 8W 000T Ω 11464 N 5 1 1 50 kΩ R11 0603 1 10W 1 150 V Resistors Digi Key 311 1...

Страница 17: ... TPS7361 U2 SOT 23 5 400 mA 1 8 V Integrated Texas TPS73618DBVT Texas Instruments TPS73618DBVT 8DBVT Circuits Instruments 17696 1 TPS7363 U3 SOT 23 5 400 mA 3 3 V Integrated Texas TPS73633DBVT Texas Instruments TPS73633DBVT 3DBVT Circuits Instruments 19633 1 SN74LVC U10 SOT 23 6 40 C 3232 1 65 V 5 5 V Integrated Texas SN74LVC2G04DBVR Texas Instruments SN74LVC2G04DBV 2G04DBV 85 C Circuits Instrumen...

Страница 18: ...07 G D Samtec HTSW 150 07 G D Temp 11758 1 5227699 J6 BNC 50 Ω Connectors Future 5227699 2 Tyco Electronics Amp 5227699 2 2 Electronics 19083 1 Phono J5 T H R A Connectors Digi Key CP 1469 ND CUI Inc RCJ 047 Jack Orange 19085 1 Phono J1 T H R A Connectors Digi Key CP 1419 ND CUI Inc RCJ 042 Jack Red 19084 1 Phono J2 T H R A Connectors Digi Key CP 1420 ND CUI Inc RCJ 043 Jack White 14421 1 USB J3 T...

Страница 19: ...ency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC or ICES 003 rules which are designed to provide reasonable protection against radio frequency interference Operation of the equipment may cause interference with radio communications in which case the user at his own expense will be required to take whatever measures may be required t...

Страница 20: ... its gain should be so chosen that the equivalent isotropically radiated power e i r p is not more than that necessary for successful communication This radio transmitter has been approved by Industry Canada to operate with the antenna types listed in the user guide with the maximum permissible gain and required antenna impedance for each antenna type indicated Antenna types not included in this l...

Страница 21: ...er you obtained the Technical Regulations Conformity Certification as provided in Radio Law of Japan with respect to this product Also please do not transfer this product unless you give the same notice above to the transferee Please note that if you could not follow the instructions above you will be subject to penalties of Radio Law of Japan Texas Instruments Japan Limited address 24 1 Nishi Shi...

Страница 22: ... property damage personal injury or death If there are questions concerning these ratings please contact a TI field representative prior to connecting interface electronics including input power and intended loads Any loads applied outside of the specified output range may result in unintended and or inaccurate operation and or possible permanent damage to the EVM and or interface electronics Plea...

Страница 23: ...for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications and acknowledge and agre...

Страница 24: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments PCM5142EVM U PCM5122EVM U ...

Отзывы: