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.

continuing on with 8520..

Other Parts Discussed in Thread: CC8531, CC8520, TLV320AIC3101, DIR9001

I'm trying to build a system with a CC8520. I have a purepath wireless audio EB 1.2 with a CC8531 to work with. 

- Will my slave 8520 link with the master 8531 eval board? 

- I loaded "CC85XXDK Preloaded Demo" SLAVE onto my 8520 board and it programmed successfully. However, the status LED for the radio is really dim and doesn't seem to respond to what I program it to be (whether that's 50% on/off or 90%/10%). I've tried both 1k resistor and 560ohm resistor in line with my LED. The 8531 status LED indicates ALONE pattern, so the 2 boards are not linked at this point. Any thoughts? TIA

Thanks, 

Wang

 

  • Wang,

    1. It should work!

    2. Which IO are you using for the LED and pairing button, respectively?

     

    -P

  • Using GIO9_AD2, same as the EB, for the LED. I don't have a pairing button right now. I figured if I selected "Pairing Trigger: None (fixed network ID)" as opposed to "Button" it should be ok?

    For the slave, the default network ID(hex): is FFFFFFFE. How does this work since there is no network ID on the master side?

  • Wang,

    GIO9_AD2 should work fine! It has LED driving capabilities.

    A network ID for a PPW network is always the (unique) device ID of the master. Thus, instead of FFFFFFE, write the Master’s ID as the default network ID. The simplest way to see the device ID of a CC85xx, is to connect the CCdebugger and check it on the flash programming page in the PPW Configurator.

     Let me know if it works!

    -P

  • Yes, it is now linked. My status LED on my 8520 is still very dim. I'm using a 100ohm resistor and a green LED. Thanks for your help Pelle

  • Perfect!

    You have configured it as on the AudioEB? VDD--R--LED--CC85xx_GIO9_AD2

     How much is the voltage drop over the resistor (or current running through it)?

     

    -P

  • I have it setup as GIO9_AD2 -- R -- LED -- GND. I will try your setup. 

    Also, I noticed the master is in ACTIVE state "device is connected and stream audio" (from the help doc). 

    The slave, however, is in STANDBY state "device is connected ,but is not streaming audio". Is that a setting in PPWC? Or does it sound like something is wrong with my board?

  • I think that is the answer to the LED problem.

    Hzve to check on the all details on the STAND BY mode tomorrow but I think both of them should indicate ACTIVE if they were "ready" to stream audio. Do you have the AIC3101 on your board? What happens if you choose DSP as your audio device on your board?

    -P

  • Pelle,

    I am going to call you the answer man.

    Yes, that fixed the LED. Changing to DSP also put my slave in ACTIVE mode. At this point, I don't have anything on the board besides the CC8520. I'm guessing if I put AIC3101 it'll look for the codec on one of the pins? 

    Thanks.

     

  •  It is my middle name…. ;-)

    Yes, the CC8520 expects the an answer over the I2C interface  from the AIC3101 before going to ACTIVE mode.

     -P

  • Perfect. I got my board and the eval board to work as both TX/RX and RX/TX. Again, thanks Pelle.

  • I have read a number of your posts and I have a question. I programmed the master and slave using the demo program with the AIC3101. I set them up for no button, fixed network ID. When I activate the master I get an alone LED and when I activate the slave I receive an active LED without audio in. The slave indicates standby. Adding audio does not change. Using a scope on the master the SCL & SDA do not toggle. MCLK, BCLK & WCLK are all active. The boards are custom. Any suggestions?

  • Hi LYNN,

    Let me see if I can help...Can you post the PPW Configurator projects you have and the schematics of your board?

     

    Cheers

    P

  • Hi Pelle:

    Thank you for the help. Attached are the schematics and the PPW Configurator projects.

    projects.zip
  • Hi LYNN,

    A few comments:

    1. I hope the regulator you are using is a 3.3V output (Not the REG104GA-5)

    2. In order to get the Audio to stream you will need to setup the Codec to reflect the connections you have on your board. To do this; enable the custom setup of the Audio Device and set-up the correct inputs and outputs in the “Audio device customization” tab. Change in the  "OFF to inactive mode". To see the default setup we are using; click on "insert default sequen..." You will need to do some changes to reflect the fact that you are using single-ended inputs whereas we have differential inputs.

    /P

     

     

  • Yes the regulator is 3.3v.

    I changed to Audio device customization and reset all sequences. At the line W 30 13 80 I see the differential input but where are the single ended values listed? I have looked thru the Users Guide and help menus.

  • LYNN,

    You can find that information in the TLV320AIC3101 data sheet. I also believe you can use the Purepath studio and export the settings (I2C transactions) after you have configured the Codec as you want it in the Purepath Studio. Anyway, I think the easiest way is to have a look in the data sheet of the AIC3101

    Hope it helps!

    Cheers,

    Per H

     

  • LYNN,

    Can you check the Dout on the AIC3101 on the slave and Din on the Master? This will give us some additional information.

    Also, From the AIC3101 data sheet: 

    Setting 00 to register 19 (hex 13) will set it up to be single-ended. For more deatils about the register check page 55 in the AIC3101 data sheet.

     

    -P

  • I set register 19 & 22 to 04. The Master went to standby but when audio was connected it stayed at standby. The DOUT of the AIC3101 is a DC level of 0.5 v. I reprogrammed the master with the preloaded demo and now it indicates standby. I have no idea what is happening since you can not look at the 8520 registers. The Slave is indicating standby with a few pulses as shown on attached.

  • Hi Lynn !

    If I2C on your slave is working correctly, which it seems to be since you get to the point where both are in standby ?

    From your scope image it seems to me that the cc8520 is switching quickly between different modes in the center of your picture, does this continue on and on ?

    I assume you are running a digital master, since the master is indicating standby ?

    If so check that the valid flag (AUDIO pin 1) from the DIR9001 is indicating to the master cc8531 that the input audio is valid (should be "0").

    Try to connect an AudioEB in slave mode to the master and verify that it connects and streams correctly with the same source connected to the master.

    I would believe that your problem is related to the input audio to the master. If it where a register set wrong in the slave, it would still get the link into active state.

     

    Best Regards

    Ole A.

     

     

     

     

  • I am using an AIC3110. It seems that the codec is not being programmed correctly at reset. The pulses on the Slave repeat every 4 or 5 pulses of the status signal.

  • Sorry it is an AIC3101.

  • Hi Lynn !

    If the codec is not responding correctly, the cc85xx will respond by restarting and trying to access the codec again and again.

    Do you see that the codec acks the I2C transactions correctly ?

    The AIC3101 is set up to listen to address 0x30, if a transaction in the PPWC is not set up with that address the configuration will fail since the ACK will not be returned.

    Could you attach a scope picture of the I2C lines (SCL, SDA, RESET (codec reset) and CS) ?

     

    Best regards

    Ole A.

  • Sorry for the delay. Attached are scope displays starting with a reset. It does not appear to be 0x30. The status display stays on without audio in. The slave is indicating standby