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.

CC8530: Problem with WCLK frequency (sample rate) on a slave device

Part Number: CC8530

Hello, 

I am using the CC8530 on my board, one in master mode and one in slave mode, and I have a problem on the second one when the network is not active. 

I need to use the I2S clock even when the two CC8530 are not paired. The problem is that by default on slave the clock are : 

  • MCLK : 12.29MHz
  • BCLK : 3.07MHz
  • WCLK : 48KHz

My other device which need the clock to generate I2S is working at 44.1KHz and cannot use 48KHz for sample rate (WCLK frequency).

So my question is, with "EHIF library" is there a way to change that frequency ? 

Thank you for help

  • Hello,

    After checking the example provided in DN120, I was not able to locate any example showing the freq change.

    Best wishes
  • Hello JXS,

    I hope you are doing well.

    Mr.Mallyck is my customer, I wanted to follow-up with you regarding your anwser.

    If I well understood there is no way to change the clock frequency then?

    Regards,

  • Hi Mallyck,

    The slave device will default to the highest setting until it joins a network. After connecting to a master it will change the clock speed to the master configuration and then stay on this even after losing the connection to the master device.

    A way to work around this is to remove the 48 kHz option from the configuration file.
    1) Go to C:\Program Files (x86)\Texas Instruments\PurePath Wireless Configurator\audio_devices
    2) Copy appropriate file to C:\Users\xxxxx\Documents\Texas Instruments\PurePath Wireless Configurator\audio_devices
    3) Locate this line in the file: "<attr_spec name="Sample rate">32000,40275,44100,48000</attr_spec>"
    4) Remove ",48000"

    The slave should then default to 44100 instead of 48000.

    Regards,
    Fredrik