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.

CC8520: cc8520 multiple slaves

Part Number: CC8520

Hi all.

CC8520 can get multiple slaves?

e.g ->  1 Master(Only receive voice audio data from Slaves)      2 Slaves (Only transmitte voice audio data to one Master)

This project wireless microphone.

If this function possible where can I modify PPW command?

Thanks

  • Hi,

    Yes, with CC852x you can have 2 slaves (4 slaves with CC853x).

    To transmit from slave to master you need to select Upstream audio on both your Master and Slave(s).

    Master:

    Slave(s):

     

    Audio channel(s) on Slave(s) can be selected under the Audio Streaming tab (Dynamic selection mechanism).

    Best Regards,

    R.M 

  • Dear sir.

    Thank you for your reply.

    I tried but Can not work two slave microphones.

    Below are my PPW setting.

  • Dear sir.

    I can not change  I2S Channel Left.   As you can see still  Red color X box.

    How can I change this function?

    I think 2 slaves microphones should be setting I2S channel Left.

    Two slaves One master pairing good  but  one slave no sound.

    I want use two slaves microphones   and one master speaker at the same time.

    Thank you.

  • Hi,

    Both microphones can't be using the same I2S channel Left (CC85xx Master can't mix the two channels together).

    What you can do if you want to mix the two channels together is to do it in the audio codex. You can configure the codec so that it outputs a mix of left- and right input data:

    To do this you need to do a Custom setup on your codec under that Audio Interface tab and then you'll get a new tab called Audio Device Customization

    Best Regards,

    R.M

  • Dear R.M

    Thank you for your answer.

    But I can not understand 100% because I don't have full AIC3204 codec data sheet include I2c register setting.

    This is AIC3204 codec "Audio device customization" tab




    ****************************** S T A R T ***********************************************

    # PIN RESET
    p Reset 1 # Release the reset pin
    # RESET
    w 30 00 00 # Select register page 0
    w 30 01 01 # I2C reset
    # CLOCK SETTINGS
    w 30 0B 81 # Power up the NDAC divider with value 1
    w 30 0C 82 # Power up the MDAC divider with value 2
    w 30 0D 00 # Program OSR for DAC to 128 (MSB)
    w 30 0E 80 # Program OSR for DAC to 128 (LSB)
    # DIGITAL INTERFACE
    w 30 1B 00 # I2S, 16-bit, BCLK and WCLK are inputs
    # PROCESSING BLOCK USAGE
    w 30 3C 08 # Select DAC processing block PRB_P8
    # ANALOG POWER SUPPLY
    w 30 00 01 # Select register page 1
    w 30 01 08 # Disable internal crude AVDD before powering up the internal AVDD LDO
    w 30 02 01 # Enable internal analog LDO, analog blocks powered
    w 30 0A 40 # Common mode set to 0.75V
    # MICPGA DELAY, REFERENCE CHARGING AND HEADPHONE DE-POP
    w 30 7B 01 # Reference charging time is 40 ms
    w 30 14 65 # HP driver power-up: 50 ms soft routing step time, 5.0 time constants, 6k resistance
    # AUDIO ROUTING
    w 30 0C 08 # HPL routing: Left channel's DAC reconstruction filter's positive terminal
    w 30 0D 08 # HPR routing: Right channel's DAC reconstruction filter's positive terminal
    w 30 0E 08 # LOL routing: Left channel's DAC reconstruction filter output
    w 30 0F 08 # LOR routing: Right channel's DAC reconstruction filter output

    ****************************** E N D ***************************************************

    # AUDIO ROUTING
    w 30 0C 08 # HPL routing: Left channel's DAC reconstruction filter's positive terminal

    I already modify value w 30 0C 08 -> w 30 0C 18 but not change anything.
    (final output is HPL headphone left channel)

    What can I change if I want use two microphones together?

    And Where can I find AIC3204 codec's full datasheet with I2C register value descrpition?

    Thank you for reading.

    Best regards,
    KIM
  • Dear Kim,

    Application reference guide for AIC3204 can be found here:

    The register to modify for AIC3204 should, according to the doc linked above, be register 63 on page 0. Try to change to w 30 3F FE below:

    Best Regards,

    R.M

  • Dear R.M

    Good to see you again ^^

    I tried that It's very good work ^^

    Thank you very much.

    Best Regards,

    KIM