This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCM5102EVM-U Rev A

Other Parts Discussed in Thread: PCM5102EVM-U, PCM5102, TSC2100

I am trying to get the PCM5102EVM-U to work but nothing I have done has got it do anything.  I have set the jumpers and switches to the following;

SW3: LLLL (All pointing left)

W1: I2C

W2: I2C

W3: All set

W4: set

W5: MCLK

Below is the script I am attempting, although I have tried all the examples as well and nothing happens:

# The following script is used for playback via USB

# RESET RESET THIS IS MASTER RESET FOR SRC (48kHz)

# 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

# Register 01, Bit 7 = 0 for normal operation

w E0 01 00

d 100

w E0 7F 00

# Register 01, Bit 7 = 1 resets to default

#----- Setup Port A ------#

# 24bit I2S, Master mode, DIR source, at mute

# Divide by 256, MCLK input source
# Unmute Port A Output



# power on port A and B
w E0 01 38
r E0 01 01


# set up port A as master, 24 bit I2S sourced from port B

w E0 03 19
r E0 03 01

# select MCLK as source at 256fs
w E0 04 01
r E0 04 01


# port B slave, 24 bit I2S
w E0 05 01
r E0 05 01

#----- Setup DIR ------#

#DIR Config 1

# Input source: RX2 - S/PDIF RCA (default)

#w E0 0D 01


# Input source: RX1 - S/PDIF optical, RX_MUX = RX1

w E0 0D 08
r E0 0D 01

#DIR Config 2 - default

w E0 0E 00
r E0 0E 01

#----- Setup DIT -----#

# DIT COnfig 1

# Port A data in, DIv 256

w E0 07 00
r E0 07 01

# DIT Config 2

# Default is to output to RCA

# Commment out RCA and uncomment Optical for optical outputs

#Output to RCA

# TX - ON, TX MUTE - ON, Optical disabled

w E0 08 06
r E0 08 01

# TX Mute - OFF

w E0 08 04
r E0 08 01

#Output to Optical

# TX - OFF, TX MUTE - ON, optical disabled

#w E0 08 03

# TX MUTE - OFF

#w E0 08 01

#----- PLL Configuration -----#

# Set P=1, J=8, D=7075

w E0 0F 12
r E0 0F 01

w E0 10 1B
r E0 10 01

w E0 11 A3
r E0 11 01

# GPIO1 Config

# GPIO1 = RCVR non-audio data

w E0 1B 06
r E0 1B 01

# GPIO2 Config

# GPIO2 = RCVR non-valid data

w E0 1C 07
r E0 1C 01

# Power Status

# Disable RCVR (/PDRX) and Port B(/PDPB) power down and enable All Function power down

#w E0 01 14

r E0 01 01

#w E0 03 29

There are no signals on TP27, TP28 or TP29.  Also when I try and read Register 01, all I get is 00 even after I've set it.

All I want to do is send audio in from either USB or Toslink out to the RCA ports.

Advice greatly appreciated,


Gavin

  • Hi, Gavin,

    Sorry for the delay. I've asked my colleague to get back to you by the end of the week.

    -d2

  • Don,

    I replaced the board and that fixed it.  The first was DOA.

    Thanks,


    Gavin

  • Hello,

    I have the same problem as Gavin, must I also take a new board? 

    what is the error?,can I repair it?, what is DOA?

    Thanks,


    David

  • David,

    That's what fixed it for me. You could try replacing the PCM5102 and see if that helps. DOA = Dead on Arrival

    Regards,

    Gavin

  • Hello,

    thanks a lot, the new board is OK (was OK ;o(  )

    I did a Firmware update:

    Device: TAS1020B
    SW: DFUTEST.exe
    Example Firmware: TAS1020-Firmware Dev Kit/TAS1020BEVM Firmware/v1.8/Application/bin/APP124

    TAS1020B connected via USB to 7
    PCM5102EVM-U in DFU-Mode OK (Windows Device Manager: DFUUSB.Sys TI DFU class driver)
    DFUTEST.EXE: downloading APP124.BIN or App116.bin to the TAS1020B device
    DFUTEST.EXE: Get State=0x06 à Get Status à GetState=0x02
    DFUTEST.EXE: Reset the device - always Error

    the DFUUSB.Sys TI DFU class driver device in the Windows Device Manager vanished and no further USB devices are recognized.

    is there any default APP for the PCM5102EVM-U or some ready Firmware I can use? 

    When I am using the APP8.BIN (13.10.2003) that is included in the firmware package (TAS1020-Firmware Dev Kit\TSC2100_FW8\Headset), once the TAS1020B device update was OK, but I cant reproduce this, now there is 
    always an Error after DFUTEST.EXE: Reset 


    please Help,

    David

  • Hello Don,

    thanks a lot, the new board is OK (was OK ;o( )

    I did a Firmware update:

    Device: TAS1020B
    SW: DFUTEST.exe
    Example Firmware: TAS1020-Firmware Dev Kit/TAS1020BEVM Firmware/v1.8/Application/bin/APP124

    TAS1020B connected via USB to 7
    PCM5102EVM-U in DFU-Mode OK (Windows Device Manager: DFUUSB.Sys TI DFU class driver)
    DFUTEST.EXE: downloading APP124.BIN or App116.bin to the TAS1020B device
    DFUTEST.EXE: Get State=0x06 à Get Status à GetState=0x02
    DFUTEST.EXE: Reset the device - always Error

    the DFUUSB.Sys TI DFU class driver device in the Windows Device Manager vanished and no further USB devices are recognized.

    is there any default APP for the PCM5102EVM-U or some ready Firmware I can use?

    When I am using the APP8.BIN (13.10.2003) that is included in the firmware package (TAS1020-Firmware Dev Kit\TSC2100_FW8\Headset), once the TAS1020B device update was OK, but I cant reproduce this, now there is
    always an Error after DFUTEST.EXE: Reset


    please Help,

    David