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.

Limit on number of I2C commands for audio configuration

Other Parts Discussed in Thread: CC8520
We are trying to load the code for miniDSP in our ADC3101 through the Audio custimazation I2C commands.  The 1.3 configurator complains that we have too many I2C commands.  Is that possible??? Is there a limit of number of I2C register commands we can have for audio device configuration?  It will make any miniDSP usage impossible since we are loading a bunch of coefficients created by the Purepath studio.
Vlad
  • Hi Vlad, 

    Yes. The memory available for audio customization within the CC85xx is limited to ~1500 bytes. 
    Many of the miniDSP configurations can be extensive (10kB or more) and to be able to utilize this one will have to use a external MCU to handle the audio device directly.  

    Best regards, 
    Kjetil 

  • KJetil,

    How much space does each I2C command take?  Trying to figure out how much ~1500 will last me.  Where is this limit documented in the User Guide?

    We do have an external MCU since we are running host-control mode.  Is there a way to issue commands through CC8520 from the MCU (SPI to I2C bridge?) or so I have to have direct I2C connections from the MCU to the DSP?

    Thanks,

    Vlad

  • Hi Vlad, 

    That depends on the command. A single byte write to a given address is 6 bytes (3 overhead, 1 I2C address, 1 register address and register value). 
    I have to verify the documentation, but if it is not stated, then I'll make sure this is added in the next revision.

    There is no way to issue command through the CC85xx device. The MCU must communicate directly with the AIC3101.

    Regards,
    Kjetil