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 Audio

Part Number: CC8520

Hi all,

I'm using cc8520 chip to transfer audio between two cards. I set one of the cards as slave and using it in host-operated mode, and set the other one master and using it on autonomous mode. I set the registers as written in the document(family user guide) and I'm trying to make an audio transfer but I can't hear anything. 

Do you know if any special setting I must do? Is the slave comes silent in host-operated? Which registers should I set to make this unmute? Or any special settings I have to do?

Thank you for your time,

Sincerely,

Damla

  • Hi Damla,

    You must ensure you follow all the guidelines for API calls when running in EHIF mode. Have you tried running both devices in autonomous mode?

    Regards,
    Fredrik
  • Hello,
    Yes I tried them in autonomous mode and they're working fine. I'm sure I don't do one thing properly in code and it kills the system.
    I use NWM_ACH_SET_USAGE, NWM_GET_STATUS, VC_SET_VOLUME functions in the slave(that described in family user guide), which I'm using host-operated.
    I think I'm not writing the right parameters in VC_SET_VOLUME. My parameter is audioVolume ;

    void VC_SET_COLUME(void)
    {
    uint8_t audioVolume = {0x01,0x90,0x00,0x00};
    statusWord = EHIF_CMD_REQ(0x17, 4, audioVolume);
    }

    I think the array is not the one which works with the chip. What do you think is it OK to be the last items 0x00,0x00? I'm not sure in this part

    Thank you for your time

    Damla