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.

PCM5142: instruction memory issue

Part Number: PCM5142

Hi 

I'm developing PCM5142 with Pure Path Studio.

In pcm5142 data sheet 21P, it says 'The miniDSP can run up to 1024 instructions on every audio sample at a 48KHz sample rate'

Actually, I'm using 44.1KHz sampling rate. In PPS, If I use components, EQ and Click remover, it exceed resource. and its value is 603 (117.77% )

Why do I get an error when I do not exceed 1024? 

and How to increase resource? 

  • Hi Minkyo,

    If you select the properties tab (and do not have any blocks selected) is the sample rate correctly set?

    In addition, if you select the PCM5142App_1 framework and look at the properties menu, do you have the correct number of instructions (0x200)?

    Please check those two things,

    Thanks,

    Paul

  • Hi Paul.

    I checked that and It is same.

  • Hi Minkyo,

    Can you share the file with me? This is a strange issue. Also, for example, if you create a new file using PCM5142 framework with a simple process flow, do you still have the error?

    Thanks,
    Paul
  • Hi, Pual.

    When I tried to process with just I2S_In - EQ - Int8xOutROM,   it was fine.

    and When I tried to process with just I2S_In - Click remove- Int8xOutRom, it was fine

    But I tried both of them together, it had the error.

    Is it normal??

    I attached PPS project file. Please check.

    file : EQ + Click Remover.zip

  • Hi.

    Could you give me some opinion?
  • Hi Minkyo,

    Sorry for the delay, I had to do some reading to figure this out :)

    The device is capable of completing 1024 instructions at 44.1kHz, but only 512 instructions are available for the user.  See register map:

    These reserved instructions are where some of the custom functions, like the interpolator and ROM functions are stored.  These functions are available to the user, though.  See below.  I have created three flows, the first of which omits the 5-band EQ and it uses 234 instructions.  The second implements the EQ, and uses 581 instructions, which is more than available.  The final version, I use the 5-band ROM EQ component, which leverages the EQs in the reserved instruction section. That version uses 261 instructions.

    Try switching the 5-band EQ with the ROM version, and see if you can get the functionality you want.  

    Thanks,

    Paul