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.

PCM5142EVM-U: PCM5142

Part Number: PCM5142EVM-U
Other Parts Discussed in Thread: PCM5142

Hello experts

I'm trying to use PCM5142EVM-U and PurePath Studio to generate a 1khz  sinewave. I have several questions.

Q1: I wanna know whether it is feasible? Can I generate such a sinewave directly without external I2S data input? What should I do?

Q2: I'm following the User's Guide for PCM5142EVM-U to use the board, I have downloaded the latest TAS1020 USB firmware and shorted the SDA and SCL EEPROM pins. My computer also can recognize the drive as "DFU USB". After that  I could run the “DFUTEST.exe” and click the "Program EVM" buttom. Then I select the "DFUEE.bin", it also runs successfully as the Guide describes. But when the “DFUTEST”  automatically opens a second browser and I should choose “USB-xxx_441KHZ.bin” as the Guide describes. It always appears "GetStatus call failed" and "Download terminated due to GetStatus failure". I don't know why and how to continue my work.

I would appreciate it if you could offer me some solutions.

Thanks

  • Hi Wuxin,

    We will take a look at this tomorrow after the US holiday. 

    Thanks,

    Paul

  • Hi Wuxin,

    1.  Are you trying to make a product with that? If you are just trying to create a clean 1kHz sine generator, consider the PSI-EVM.  This board uses a PCM5142 to generate a sinewave for ADC testing.  The board features a MCU that automatically configures an onboard PCM5142 to do this.

    2. You likely do not need to run the DFU software at all.  Can you just create an example PCM5142 flow and connect PPS to the EVM?

    Thanks,

    Paul

  • Hi Paul,

    I use the  PCM5142 example process flow but I can't run.The GDE appears that Hardware device not connected. Before, I just shorted the SDA and SCL pins before and the D1 light is off.

    Thanks,

    Wuxin

  • Wuxin,

    Can you install the PurePath Console 1.16 from the ti.com/mysecuresoftware page and confirm if that software can interact with the EVM?

    Thanks,

    Paul

  • Hi, Paul

    Now, I no longer short the SDA and SCL pins and the D1 light is on. I don't run the DFUTEST software as you suggest and I can run the process flow.

    I want to create a 1kHz sine wave, how can I see the waveform? I add the probe point but no data can be collected and I can't see the waveform.

    Should I load the I2C command file? I'm really confused about how to write the I2C command file.

    Can you help me?

    Thanks,

    wuxin

  • If you have ran the process flow in PurePath Studio, the EVM should now be playing your sine wave.  There is no analog probing in the Purepath Studio application.  If you want to confirm the sine wave, you will need to use an audio analyzer or oscilloscope.  In addition to configuring the EVM directly, the PPS software will generate some .cfg files and a .c and .h file.  These files contain all of the commands needed to configure the PCM51xx.  You can load that .cfg in PurePath Console to program the same process flow into the device, but he .h and .c should be used for reference when creating your microcontroller firmware in your final application.

    Thanks,

    Paul

  • Hi, Paul

    There are still some problems.

    1. I wonder why the software tells me the following:

    I just click the "Build-Generate Code" and then "Build-Download and Run".

    Sometimes it can download the code to the board, but sometimes cannot.

    2. I connect the TP16 and TP17 to the oscilloscope, but still can't show any wave.Why?

    3. I can't find any .c file or .h file which is generated by the PPS as you said. Where are they?

    4. I don't load the I2C command file in the PPS? Should I load? Just load the generated .cfg file or I need to write a specialized file?

    5. Is it necessary to use the PurePath Console software?

  • Using PurePath Console  1.16 software will at least confirm if you can communicate to the EVM. 

    Make sure you are using the "Generate Code" option.

    Look in your project folder:

    C:\Users\USERNAME\Documents\Texas Instruments Inc\PurePath Studio (Home Audio) MiniDSP 5.95\MyProcessFlows\YOUR_PROCESSFLOW_NAME\

    The .cfg file is just a list of I2C commands, but this can be imported into PPC and executed for convenience.

    The pps_driver.c and pps_driver.h file is an example header that can be implemented in your MCU.

    Thanks,

    Paul

  • Hi Paul,

    I'm sure I am using the "Generate Code" option. But there still no .h or .c file in my folder.

  • In PPS, please go to Tools> Options> Build and make sure the "Generate Device Driver Interface" and "Generate Driver Code" buttons are selected.