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.

PCM5121: question about programming registers

Part Number: PCM5121
Other Parts Discussed in Thread: PCM5142,

Hi team,

I've been working with the PCM5121EVM. Recently, I was able to generate a header file with the following approach:

  1. Open PCM512xEVM project in PurePath Studio
  2. Configure desired filtering
  3. Connect and run PCM512xEVM with PPS
  4. Open PPC 1 (PCM5142 target)
  5. In "Direct I2C Access" tab, register dump all coefficients into a header file.

I am trying to determine what to do next with regards to programming the PCM5121 with these coefficients:

  1. Which registers do I need to write to for audio processing? The generated header file contains coefficients for both "Coefficient Buffer A" (pg44-52) and "Coefficient Buffer B" (pg62-70).
  2. What is the sequence of steps for programming the coefficients? The datasheet states the following sequence must be following to change the ROM program. Should I program the coefficients after existing Standby Mode?
    1. Enter Standby Mode (Set Page 0, Register 2, D(4))
    2. Change program number (Set Page 00, Register 43, D(4:0))
    3. Exit Standby Mode (Reset Page 0, Register 2, D(4))

Thanks for your help!

Brian Angiel

  • Hi Brian,

    1. You only need to write to one of the CRAMs if you are just going to use the one flow.
    2. To program the device coefficients, first enter standby, write CRAM buffer, then change program, then exit standby.

    Thanks!
    Paul