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.

TLV320ADC3101EVM-K: TLV320ADC3101:

Part Number: TLV320ADC3101EVM-K

Dear Expert,

do you have any idea how to combine the CS and PPS together to generate a script? 

for example, I use the CS software to recording a configuration script and want to import to PPS for further process flow validation

  • Dear Expert,

    I am waiting for the reply! 

  • wxyxiangyang,

    The CS software and PPS are unfortunately not directly compatible,  ie there is no way to export a file from Cs that will import directly into PPS and work without any manual effort.

    The CS software will allow you to control the device and test out different modes of operation,  you can either create a script by opening the command line interface and clicking "record"  which will allow you to record all of the changes you make,  however,  this may still need to be optimized as it is possible that the GUI will write multiple times to the same register.

    The CS software alternately allows you to open the Register table, so if you open the register table and dump it to spreadsheet you have a full device configuration. This would need a little work if you wanted to only write non-default registers. 

    once you know which registers you want to write to,  you need to convert the CS software format into the PPS format

    for example,  in the GUI you might have a sequence like so:

    # Left ADC Vol = 0dB

    w 30 53 00

    # # Right ADC Vol = 0dB

    w 30 54 00

    ## Select Page 1

    w 30 00 01

    # # Mic Bias Powered Down

    w 30 33 00

    w = write

    first hex value = device address (shifted to the left 1 bit)

    second hex value = register address

    third hex value = register value

    In PPS this would translate to 

    reg[  0][ 83] = 0x00 ; Left ADC Vol = 0dB

    reg[  0][ 84] = 0x00 ; Enable MicPGA_L Gain Control, 0dB

    reg[  1][ 21] = 0x00 ; Mic Bias Powered Down

    Where the first bracket contains the page number (in decimal) the second bracket is the register address (in decimal) and then the register value in hex.

    The PPS configuration file can be changed by clicking on the framework, clicking on "system settings" in the properties menu,  and then click the "..."  on the right side. This will open the device configuration for PPS.  

    Best regards,

    -Steve Wilson