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.

TAS2555YZEVM: I2C data for PPC3

Guru 18490 points
Part Number: TAS2555YZEVM
Other Parts Discussed in Thread: TAS2555

Please let me know about I2C function for TAS2555 and PPC3.

①Which default I2C ckock frequency 100kHz or 400kHz?

②Is there way to register dump file on PPC3?

③If there any detailed document for the mean of script file, please let me know.

 For example, below script data is unsure and very much data size.

w 98 08 7f
> ff
> ff
> ff
> 00
> 00
> 04
> e2
> 4b
> 47
> b2
> 35
> 00
> 00
> 00

test3_combined_configuration_0_ROMMode1_48KHz.txt
# Mute / Powerdown / Reset begins

# Delay 1 ms
d 01
# Page 0
w 98 00 00
# Book 100
w 98 7f 64
# soft mute classD
w 98 07 01
# 10ms wait time for DSP to mute classD after soft step down of audio
d 0a
# Book 0
w 98 7f 00
# CLASSD, Isense muted
w 98 07 03

# Set PLL In to internal clock
# Page 0
w 98 00 00
# Book 0
w 98 7f 00
# Page 0
w 98 00 01
# Set PLL In
w 98 74 0f


# Page 0
w 98 00 00
# Book 0
w 98 7f 00
# DSP , MDAC and MADC power down
w 98 04 60
# CLASSD ,Boost  Vsense and Isense power down
w 98 05 00
# NOP
w 98 00 00
# NDIV, PLL power down after DSP power down to allow DSP to reset itself
w 98 04 00

# Page 0
w 98 00 00
# Book 0
w 98 7f 00
# Software reset
w 98 01 01
# use delay >= 100us
d 01

# Mute / Powerdown / Reset ends

# Mute / Powerdown / Reset begins

# Delay 1 ms
d 01
# Page 0
w 9a 00 00
# Book 100
w 9a 7f 64
# soft mute classD
w 9a 07 01
# 10ms wait time for DSP to mute classD after soft step down of audio
d 0a
# Book 0
w 9a 7f 00
# CLASSD, Isense muted
w 9a 07 03

# Set PLL In to internal clock
# Page 0
w 9a 00 00
# Book 0
w 9a 7f 00
# Page 0
w 9a 00 01
# Set PLL In
w 9a 74 0f


# Page 0
w 9a 00 00
# Book 0
w 9a 7f 00
# DSP , MDAC and MADC power down
w 9a 04 60
# CLASSD ,Boost  Vsense and Isense power down
w 9a 05 00
# NOP
w 9a 00 00
# NDIV, PLL power down after DSP power down to allow DSP to reset itself
w 9a 04 00

# Page 0
w 9a 00 00
# Book 0
w 9a 7f 00
# Software reset
w 9a 01 01
# use delay >= 100us
d 01

# Mute / Powerdown / Reset ends

# PLL begins
w 98 00 00
w 98 7f 00
w 98 00 01
w 98 73 0f
w 98 74 0d
w 98 00 00
w 98 7f 64
w 98 1b 01
w 98 1c 07
w 98 1d 00
w 98 1e 00
w 98 20 07
w 98 22 08
w 98 02 10
w 98 21 04
w 98 01 08
w 98 2b 00
w 98 2c 20
w 98 1f 20
w 98 2a 40
w 9a 00 00
w 9a 7f 00
w 9a 00 01
w 9a 73 0f
w 9a 74 0d
w 9a 00 00
w 9a 7f 64
w 9a 1b 01
w 9a 1c 07
w 9a 1d 00
w 9a 1e 00
w 9a 20 07
w 9a 22 08
w 9a 02 10
w 9a 21 04
w 9a 01 08
w 9a 2b 00
w 9a 2c 20
w 9a 1f 20
w 9a 2a 40
# PLL ends
# Program begins
w 98 00 00
w 98 7f 00
w 98 22 01
w 98 00 00
w 98 7f 8c
w 98 00 1a
w 98 08 7f
> ff
> ff
> ff
> 00
> 00
> 04
> e2
> 4b
> 47
> b2
> 35
> 00
> 00
> 00
> 00
> 54
> 3c
> 87
> 46
> 54
> 55
> 5e
> ab
> 80
> 74
> 4d
> 6e
> 7f
> 17
> 65
> 24
> 7f
> 8b
> b2
> 92
> 00
> 00
> 00
> 01
> 00
> 00
> cf
> 3e
> 05
> 39
> 32
> 50
> 00
> 00
> 00
> 3c
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 01
> 00
> 00
> 00
> 01
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 2b
> 33
> 33
> 33
> 40
> 00
> 00
> 00
> 2c
> cc
> cc
> cc
> 2c
> 00
> 00
> 00
> 50
> 00
> 00
> 00
> 30
> 00
> 00
> 00
> 00
> 88
> 3f
> d1
> 00
> 06
> d3
> 72
> 3c
> 6b
> 7e
> 4f
> 01
> 10
> eb
> 08
> 02
> 00
> 00
> 00
> 00
> e7
> c8
> 00
w 98 00 1b
w 98 08 00
> e7
> c8
> 00
> 7e
> 30
> 6c
> 00
> 11
> c2
> 8f
> 5c
> 00
> 8e
> 36
> 8f
> 20
> cc
> cc
> cc
> 24
> 14
> 7a
> e0
> 27
> 5c
> 28
> f5
> 2a
> a3
> d7
> 09
> 2d
> eb
> 85
> 1e
> 31
> 33
> 33
> 32
> 34
> 7a
> e1
> 47
> 37
> c2
> 8f
> 5b
> 00
> 6b
> b7
> 3d
> 00
> 3c
> 92
> b2
> 00
> 00
> 00
> 7b
> 00
> 00
> 00
> 7b
> 75
> c2
> 8f
> 5c
> 02
> 66
> 66
> 66
> 6e
> 14
> 7a
> e1
> 00
> 00
> 00
> 04
> 00
> 00
> 00
> 01
> 01
> 10
> eb
> 08
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
w 98 00 1c
w 98 08 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 01
> 00
> 00
> 00
> 78
> d6
> fc
> 9e
w 98 00 1a
w 98 44 00
> 00
> 00
> 01
w 98 50 2b
> 33
> 33
> 33
w 98 5c 2c
> 00
> 00
> 00
w 98 60 50
> 00
> 00
> 00
> 30
> 00
> 00
> 00
> 00
> 88
> 3f
> d1
> 00
> 06
> d3
> 72
w 98 78 02
> 00
> 00
> 00
w 98 00 00
w 98 7f 00
w 98 2b 03
w 98 06 7c
w 98 00 00
w 98 7f 64
w 98 28 00
w 98 00 00
w 98 7f 00
w 98 00 02
w 98 19 00
w 98 1a 00
w 98 1b 00
w 98 00 00
w 98 08 00
w 98 15 05
w 98 00 00
w 98 7f 8c
w 98 00 1a
w 98 3c 00
> 00
> 00
> 00
w 98 00 1b
w 98 18 ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
w 98 30 ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
w 98 48 75
> c2
> 8f
> 5c
w 98 50 6e
> 14
> 7a
> e1
w 9a 00 00
w 9a 7f 00
w 9a 22 01
w 9a 2a 02
w 9a 00 00
w 9a 7f 8c
w 9a 00 1a
w 9a 08 7f
> ff
> ff
> ff
> 00
> 00
> 04
> e2
> 4b
> 47
> b2
> 35
> 00
> 00
> 00
> 00
> 54
> 3c
> 87
> 46
> 54
> 55
> 5e
> ab
> 80
> 74
> 4d
> 6e
> 7f
> 17
> 65
> 24
> 7f
> 8b
> b2
> 92
> 00
> 00
> 00
> 01
> 00
> 00
> cf
> 3e
> 05
> 39
> 32
> 50
> 00
> 00
> 00
> 3c
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 01
> 00
> 00
> 00
> 01
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 2b
> 33
> 33
> 33
> 40
> 00
> 00
> 00
> 2c
> cc
> cc
> cc
> 2c
> 00
> 00
> 00
> 50
> 00
> 00
> 00
> 30
> 00
> 00
> 00
> 00
> 88
> 3f
> d1
> 00
> 06
> d3
> 72
> 3c
> 6b
> 7e
> 4f
> 01
> 10
> eb
> 08
> 02
> 00
> 00
> 00
> 00
> e7
> c8
> 00
w 9a 00 1b
w 9a 08 00
> e7
> c8
> 00
> 7e
> 30
> 6c
> 00
> 11
> c2
> 8f
> 5c
> 00
> 8e
> 36
> 8f
> 20
> cc
> cc
> cc
> 24
> 14
> 7a
> e0
> 27
> 5c
> 28
> f5
> 2a
> a3
> d7
> 09
> 2d
> eb
> 85
> 1e
> 31
> 33
> 33
> 32
> 34
> 7a
> e1
> 47
> 37
> c2
> 8f
> 5b
> 00
> 6b
> b7
> 3d
> 00
> 3c
> 92
> b2
> 00
> 00
> 00
> 7b
> 00
> 00
> 00
> 7b
> 75
> c2
> 8f
> 5c
> 02
> 66
> 66
> 66
> 6e
> 14
> 7a
> e1
> 00
> 00
> 00
> 04
> 00
> 00
> 00
> 01
> 01
> 10
> eb
> 08
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
w 9a 00 1c
w 9a 08 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 01
> 00
> 00
> 00
> 78
> d6
> fc
> 9e
w 9a 00 1a
w 9a 44 00
> 00
> 00
> 01
w 9a 50 2b
> 33
> 33
> 33
w 9a 5c 2c
> 00
> 00
> 00
w 9a 60 50
> 00
> 00
> 00
> 30
> 00
> 00
> 00
> 00
> 88
> 3f
> d1
> 00
> 06
> d3
> 72
w 9a 78 02
> 00
> 00
> 00
w 9a 00 00
w 9a 7f 00
w 9a 2b 03
w 9a 06 7c
w 9a 00 00
w 9a 7f 64
w 9a 28 00
w 9a 00 00
w 9a 7f 00
w 9a 00 02
w 9a 19 00
w 9a 1a 00
w 9a 1b 00
w 9a 00 00
w 9a 08 00
w 9a 15 05
w 9a 00 00
w 9a 7f 8c
w 9a 00 1a
w 9a 3c 00
> 00
> 00
> 00
w 9a 00 1b
w 9a 18 ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
w 9a 30 ff
> ff
> ff
> ff
> ff
> ff
> ff
> ff
w 9a 48 75
> c2
> 8f
> 5c
w 9a 50 6e
> 14
> 7a
> e1
# Program ends
# PRE begins
w 98 00 00
w 98 7f 00
w 98 00 02
w 98 06 01
w 98 00 00
w 98 7f 8c
w 98 00 1a
w 98 68 00
> 88
> 3f
> d1
> 00
> 06
> d3
> 72
w 98 00 00
w 98 7f 64
w 98 01 08
w 9a 00 00
w 9a 7f 00
w 9a 00 02
w 9a 06 01
w 9a 00 00
w 9a 7f 8c
w 9a 00 1a
w 9a 68 00
> 88
> 3f
> d1
> 00
> 06
> d3
> 72
w 9a 00 00
w 9a 7f 64
w 9a 01 08
# PRE ends

# Powerup - begins

# Power up 1

# Page 0
w 98 00 00
# Book 0
w 98 7f 00
# DSP,PLL, Ndiv , MDAC, MADC  power up
w 98 04 f8

# Page 0
w 98 00 00
# Book 0
w 98 7f 00

w 98 05 a0
w 98 05 a3

# Powerup - ends


# Powerup - begins

# Power up 1

# Page 0
w 9a 00 00
# Book 0
w 9a 7f 00
# DSP,PLL, Ndiv , MDAC, MADC  power up
w 9a 04 f8

# Page 0
w 9a 00 00
# Book 0
w 9a 7f 00

w 9a 05 a0
w 9a 05 a3

# Powerup - ends

# Configuration begins
d 01
w 98 00 00
w 98 7f 78
w 98 00 0f
w 98 58 39
> 99
> 99
> 99
> 39
> 99
> 99
> 99
d 01
w 9a 00 00
w 9a 7f 78
w 9a 00 0f
w 9a 58 39
> 99
> 99
> 99
> 39
> 99
> 99
> 99
w 98 00 00
w 98 7f 8c
w 98 00 2b
w 98 1c 00
> 00
> 00
> 00
w 98 00 2c
w 98 38 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
w 98 00 2d
w 98 08 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
w 98 00 19
w 98 7c 00
> 00
> 00
> 01
w 9a 00 00
w 9a 7f 8c
w 9a 00 2b
w 9a 1c 00
> 00
> 00
> 00
w 9a 00 2c
w 9a 38 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
w 9a 00 2d
w 9a 08 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 00
> 7f
> ff
> ff
> ff
> 00
> 00
> 00
> 00
w 9a 00 19
w 9a 7c 00
> 00
> 00
> 01
# Configuration ends

# Unmute Begins

# Delay
d 01

# Page 0
w 98 00 00
# Book 0
w 98 7f 00

# CLASSD, Isense unmuted
w 98 07 00
# Book 100
w 98 7f 64
# classD soft unmute
w 98 07 00

# Unmute Ends


# Unmute Begins

# Delay
d 01

# Page 0
w 9a 00 00
# Book 0
w 9a 7f 00

# CLASSD, Isense unmuted
w 9a 07 00
# Book 100
w 9a 7f 64
# classD soft unmute
w 9a 07 00

# Unmute Ends

④About question ③, is there script for no need to write data? 

 If the above and imitate script unnecessary to write, data size will be efficient.

  

Best regards,

Satoshi

  • Hi Satoshi,

    1) The default clock frequency is 100KHz.
    2) Regarding dumb file, Do you want to generate a binary file through PPC3?
    3) We always recommend to use PPC3 in order to create a script file, Did you use PPC3 to create it?

    Best Regards
    José Luis Figueroa
    Audio Applications Engineer
  • Jose-san

    Thank you for reply.

    I answer your question below.
    ----------------------------------------------------------
    2) Regarding dumb file, Do you want to generate a binary file through PPC3?
    ⇒Yes, We want to generate a binary file through PPC3.

    3) We always recommend to use PPC3 in order to create a script file, Did you use PPC3 to create it?
    ⇒Yes, I used PPC3 and create script file.
     But customer is trying to handwriting this script to other Audio DSP(non TI DSP).
     For that reason, customer want a script point that can be omitted are omitted.
    ----------------------------------------------------------

    Best regards,
    Satoshi
  • Satoshi-san,

    The attached file explains as you can generate a binary file through PPC3. I hope that this helps you.

    2.PPC3_Process.pdf

    Best Regards
    José Luis Figueroa 
    Audio Applications Engineer