CS47L63 DSP

HI!

I am currently working in an audio project using nRF5340 Audio DK. We are using the nRF only to configure Cirrus’ CS47L63. Our audio chain is picking up an external analog mic, amplifying it using the input PGA, converting it in the input ADC and sending this data directly to the output DAC.

We want to add some algorithms in between those parts using Cirrus’ DSP. Since there is no native function to right FW into the DSP in the nRF Audio Application, we went to Cirrus’ WISCE SW to see how it works. It seems like it uses a proprietary .wmfw format we had never heard of. In WISCE, when you load the algorithm in this format on the DSP programmer (found a generic one online), it logs a fairly large amount of registers being written with data we don't know.

Long story short, we don’t know what to right and how to right it to prove our concepts.

Is there a guideline Nordic offers to use the DSP in CS47L63?? Is there someone you’ve heard of that has done something similar?

Best regards!
João.

  • Hi João,

    We do not have such a guide for the CS47L63 DSP. If anyone in the DevZone community has experience, please share your findings!

    Some resources you can use are

    • The CS47L63 driver: https://github.com/nrfconnect/sdk-mcu-drivers/tree/master/cs47l63
    • These sections from the CS47L63 datasheet, 4.4 DSP Firmware Control:
      To use the programmable DSP, the required firmware configuration must first be loaded onto the device by writing the appropriate files to the CS47L63 register map; the firmware configuration comprises program and data memory contents.
      After loading the DSP firmware, the DSP functions must be enabled using the associated control fields

      Details of the DSP firmware memory registers are provided in Section 4.4.2. Note that the WISCE evaluation board control software provides support for loading the CS47L63 program and data memories. A software programming guide can be provided to assist users in developing their own software algorithms — please contact your Cirrus Logic representative for further information.

    Best regards,

    Maria

  • Hi Maria,

    I've been searching for a firmware design tool or something similar, but they don't offer anything. It's also disappointing that their support team won't respond to me.

    I suppose we'll have to either select another codec or wait for a miracle, haha.

    Thanks for your attention!

    João.

Related