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.

RE: LM48901 Control Software

Hello

I am trying to use LM48901 control software and I am connecting the eval board through AARDVARK.

I have installed totalphase and the USB driver for AARDVARK is working ok.But when i try to use LM48901 control software and after connecting, when I scan for devices then it goes into not responding mode.

When i go to Digital mixer and try to change output for example Out1 Select to ADCL then it gives me an error that I2C bus seems to be locked.Rest the board and try again.

Can you please help me with this problem

Thanks

  • Uday,

    Make sure you have the following jumpers installed:

    JU7, JU8, JU9, , JU10, JU11, JU15, JU16, JU18, JU19, and a jumper installed on JU1 between VDD and the middle pin. 

    Make sure there is no jumper on JU2.

    Connect a power supply between PVDD and GND0.  Make sure that supply is between 3.3V and 5V.  The EVM is not powered through the Aardvark, and will not respond to any I2C commands without the external power supply.

    Also check that the Aardvark is connected corrrectly to the EVM.  With the EVM oriented so  J12 is in the lower left corner, make sure the Aardvark is connected with the red wire on the ribbon cable towards the top of the EVM.  Basically, the Aadrvark should be sitting upside down on your bench.

    What operating system are you using?  There are some issues running the GUI on Windows 7.  Please switch to a Windows XP machine if at all possible.

    Regards,

    royce

  • Hi Royce

    Thanks a lot for your reply

    Actually I have my jumper settings as you said ,except for the fact that i had JU17 short to SDIO and JU20 short to coax.But there was problem with the AARDVARK cable connection I had put it as top side up,but now i have changed to top side down. But i opened those two jumpers also,but still I had problem.

    And I am using Windows 7,I will change to windows XP if the peoblem is related to that.

    I am getting the error "I2C slave at address 30 not responding"

    As soon as I launch the control software I also get the warnings of could not restore.

    After I have lmcontrolsoftware,MCR and totalphase installed and I have made sure that i have .NET version 4, the procedure I am following is

    1. I do the jumper settings

    2. I connect the EVM to computer via AARDVARK and let the computer install the USB driver

    3. I connect the power

    4 I launch the control software and scan the devices when i get the error on I2C not responding

    It'll be of great help if you could suggest why could tthis error be coming

    Thanks

    Uday

  • When you install the aardvark driver on Windows 7 - select "Run as administrator"

    and when installing the LM48901 GUI on Windows7 - select "Run as administrator"

    This should help with issues when running on Windows 7.

     

    You can also try running it on XP to see if that helps.

     

    Regards,

    Eric

  • Hi Eric

    Thanks for your reply.

    I tried the solution of running as adminstrator,but i still have the same problem

    1. Warnings of 'Could not restore editor'

    2. Error 'I2C slave at address 30 is not responding' 

    Regards

    Uday

  •  

    Hi Uday,

    Royce is out of office today. I've not played with LM48901 much, so I looked at it to see if I run into the same issues.

    Basically I see the second error "I2C slave at address 30 is not responding" if the demo board is not powered up or if some of the jumpers are not in place. Please make sure you apply ~4.0V between PVdd & Gnd0 (These pins are at one of the corners of the board) and all the jumpers are installed as per Royce's message.

    I was not able to reproduce the warning you mentioned. If you still see the Warning of ''Could not restore editor", please take a screen shot and send it to us and one of us will get back to you on this.

    Best Regards,

    -Harini :-)

     

     

     

  • Hello

    Please find inline the screenshot of the warnings regarding could not restore.

    Thanks and Regards

    Uday Takyar

  • Hi

    I even tried it on Windows XP but still it gives the same error I2c slave at address 30 not responding and warning of could not restore.

    I am writing the steps(in the order) i followed(in detail) below,please tell where am i going wrong

    1. Install Totalphase

    2. Plugged in the USB connected to aardvark(at the moment aardvark is not connected to the EVM),the usb driver gets installed.After installation,disconnect

    3. Install LM48901 control software

    4. Did the jumper setting(JU 7,8,9,10,11,15,16,18,19 short and JU1 short to VDD and JU17 short to SDIO) 

    5. Connect powersupply of 4.5V to the EVM board

    6. Connect USB cable(connected to AARDVARK) to the PC

    7. Connect the ribbon of AARDVARK to J12 with the ribbon upside(the one on which arrow is made) down 

    8. Launch LM48901 control software

    9. As soon as I launch it,i have 'could not restore'

    10 Click on connect and scan devices,then error of 'I2C slave at address 30 is not responding'

    Please help with suggestions.

    Thanks and Regards

    Uday Takyar

  •  

    Hi Uday,

    Thank you for the screenshot and detailed steps. I'll look at it today afternoon and get back to you on this as soon as I can.

    Best Regards,

    -Harini :-)

  •  

    Hi Uday,

    Thank you for pointing out this issue. I reproduced the problem which you pointed out at our end on a different setup. We'll get back to you as soon as we understand the source of this issue and a fix.

    Best Regards,

    -Harini :-)

  • Hi Harini

    Thanks.In case you require any more inputs from my side,please let me know

    Regards

    Uday

  • Uday,

    You can ignore the warning messages in the logger.  Those do not have any effect on the operation of the GUI.  In fact you can minimize the warning window. 

    The bigger issue is the "I2C slave at address 30 is not responding".  That means that the device is not acknowledging the I2C writes.  I get those errors when I try to write to the device when it is unpowered, I2C_EN is low (JU2 installed), the pull ups are not in circuit (JU15 and 16 not installed).  Please check the voltage on IOVDD, it should be 3.3V, and the voltage on DVDD it should be 1.8V.  If those voltages are not there, or not at the correct value, something happened to the on board regulators.  .  You can probe the points on the board labeled 1.8V next to C27, and 3.3V next to R13.  If those voltages are not there, make sure JU7 is installed.  If that doesn't solve it, remove JU8 and JU10, connect 3.3V to IOVDD and connect 1.8V to DVDD.

    Regards,

    royce

  • Hi Royce

    Thanks for your reply.

    I checked the voltages at IOVDD and DVDD,they are correct(3.3V and 1.8V respectively). Jumper2 is not installed. 

    I am following the exact steps(in that order) as i mentioned in a post above.Could there be any issue with the order in which the steps need to be followed(any specific instructions during the power up or power down?) or am i missing something?When i connect the ribbon then the side with the arrow is down.Is that correct?Jumper17 is connected to SDIO.When i have the ribbon with the arrow side up,then the software hangs.

    I am not able to figure out where else could there be problem. 

    Thanks and Regards

    Uday Takyar

  • Uday,

    Your sequence is correct, and as long as you have everything connected as I've described, it should be working....Can you connect up your board, take a photo of it that shows the connections and headers and send it to me?  I just want to make sure that nothing has gotten lost in the emails. 

     

    Thanks,

    royce

  • Hi Royce

    Please find inline with this mail,the image of the connected boards

    Thanks and Regards

    Uday Takyar

  •  

    Hi Uday,

    Your board setup looks good to me. Do you still see the error "I2C slave at address 30/40 is not responding" ?

    Best Regards,

    -Harini :-)

  • Hi

    Thanks for the reply. Unfortunately,i still see the error.

    Please tell what more inputs could i provide?

    Thanks and Regards

    Uday Takyar

  • Uday,

    Can you check one more thing, how much current is being drawn by the PVDD supply?  It should be between 20-40mA.  If the current is not in that range, please make sure the current limit on the supply is not set too low.  If the current limit is ok, or the current draw is above that, (assuming the class Ds are not switching) you might have a bad board.

    Regards,

    royce

  • Hi

    Thanks for your reply and your suggestion

    I checked the current drawn.

    If i have voltage of 5V and I draw current of 55mA or more and then when i connect the power supply to EVM then the voltage across PVDD and GND0 remains at 5 V otherwise when i decrease the current then the voltage drops to around 2.5V .

    Thanks and Regards

    Uday Takyar

     

  • Uday,

    That looks like there is an issue with the board you have.  Do you have a TI feild or Sales person you can get in contact with?  I would like to get that board back from you to check out.  And in the mean time, I can send you another board to test.

    Regards,

    royce

  • Hi Royce

    Thanks a lot

    I recieved the new board today and I tried it.

    Now i donot get the error of I2C slave not responding and scan devices is succesful.

    But now i have an error of  Short Circuit/Thermal error.

    I am attaching inline the screenshot of the same.

    Thanks and Regards

    Uday Takyar

  • Uday,

    The part may have started up with the Debug register not clearing properly.  Try this:

    Disconnect any speakers and audio source from the board.  Look at the Debug tab, see whcih error flags are red. That indicates which channels the part thinks has an issue.  Go to Digital Mixer and enable one of the channels that has an error flag.  Watch the output on the scope, make sure that both outputs are switching between GND and PVDD with 50% duty cycle, no jitter.  Check the supply current draw before and after you enable the output.  The supply current should only increase by a 2-3mA for the first channel enabled, and then 1mA for each additional channel.  If all channels start up with good switching waveforms and normal current draw, then you just need to clear the Debug register. 

    Go to the Memreg Tab, and selec register 0x528.  A pop up window with controls will appear, deselect Short1-4 and Thermal, if they are selected.  That will clear the debug register, and you should be able to start up the device with no problems.

    Regards,

    royce

  • Hi Royce

    Thanks for the reply.

    In the debug,the flag which is red is for thermal.So I went to the memreg and deselected themal.But i got the error 'Cross check failed upon write,given value 0 existing value 4096'. The current at pvdd grnd is 50 mA. Is there a limit of the supply current,so that thermal shutdown doesnt occur?

    Thanks and Regards

    Uday Takyar

  • Uday,

    Do you have the DSP enabled?  50mA current is a bit high when the device is enabled and unloaded, unless the DSP is on.  But, its not enough to cause the device to go into thermal shutdown.  You have to run all 4 channels at full power into 4 ohms before it goes into thermal shutdown.  Can you enable the outputs and drive speakers with the device?  If so, try this.  Disocnnect the device completely for power, USB, clocks, audio source, and restart the GUI.  This should wipe both the device registers and the GUI memory.  Let me know if you still see the same problem.

    I apologize, this part is not that difficult to get going,  and we do test our EVMs before shipping.  I don't know why you've received two boards that do not function properly.  But I will get you up and running with the LM48901.

    Regards,

    royce

  • Hi Royce

    Is there any other option do without "Aadrvark" like through using micro-controller.  I want to do its user programmable. 

    Regards,

    Tirthraj

  • Tirthraj,

    What exactly are you trying to do?  The Aardvark is the easiest way to evaluate the LM48901 using the GUI.  We have a reference design wtih example code using the MSP430 to control the LM48901 that can be used in a final design, but its not as easy to experiment with.  I can send those files to you if you like.  Please have your TI sales or Field Apps get in touch with me.

    Regards,

    royce

  • Hi Royce,

    I have problems with Short Circuit/Thermal error too. I tried this:

     

    Royce Higashi said:

    Disconnect any speakers and audio source from the board.  Look at the Debug tab, see whcih error flags are red. That indicates which channels the part thinks has an issue.  Go to Digital Mixer and enable one of the channels that has an error flag.  Watch the output on the scope, make sure that both outputs are switching between GND and PVDD with 50% duty cycle, no jitter.  Check the supply current draw before and after you enable the output.  The supply current should only increase by a 2-3mA for the first channel enabled, and then 1mA for each additional channel.  If all channels start up with good switching waveforms and normal current draw, then you just need to clear the Debug register. 

    Go to the Memreg Tab, and selec register 0x528.  A pop up window with controls will appear, deselect Short1-4 and Thermal, if they are selected.  That will clear the debug register, and you should be able to start up the device with no problems.

    but i still have problems with outputs 2-4. OUT_1 is working ok, i have no problems with Thermal, when speakers are switched they all work ok on OUT_1

    Regards,

    Pawel

  • Pawel,

    What exactly is happening with OUT2-4, is it not switching, or is the switching odd?  If you have no audio input, the outputs should switch at 50% duty cycle.  If the outputs are not switching, then most likely the device has been damaged.

    royce