Menu

PLL was not locked

alvin
2016-04-01
2016-04-13
  • alvin

    alvin - 2016-04-01

    I flashed the 3.01 firware down to board but find a problem. The PLL chip was unlocked. I captured the i2c bus signals find that the register for PLL chip were correctly written but the the reading data were zeros. So the firmware report a assertion error:PLL_REGRD(0x03) == 0x07" failed: file ".././src/pll/pll.xc", line 47. Could you giave some advice or the source code for the XMOS processor?

     
  • Dominic Letourneau

    Hello Alvin,

    You assembled the board yourself?

    A few ideas :
    1) R57, R58, R64, R65, pull up resistors OK?
    2) Something wrong with the CS2300?
    3) Check your power supply

    We write & read back registers to the CS2300 chip. If you get this error, I2C communication is not working.

    For the code, we cannot distribute the code because of the XMOS license. However, you can obtain the original firmware here:

    http://www.xmos.com/support/boards?product=14771

     
    • alvin

      alvin - 2016-04-02

      Hi Dominic
      Thanks. yes, I assembled the board myself. I measure the power pullup resistor and ACK of the i2c, and found they are all working. Mybe I should try to replace the cs2300 chip.

       
  • alvin

    alvin - 2016-04-08

    Hi Dominic
    Could you share the prints on the cs2300cp chip for me? The pints on my cs2300-cp chip is "2PLC 1029".If they are different, I will replace the cs2300-cp chip with the exactly the same prints with yours. Thanks a lot.

     

    Last edit: alvin 2016-04-08
  • Dominic Letourneau

    The markings on the chips I have in hand is "2PLC 1425". I think the only difference you have is the operating temperature. Last time we assembled the boards we used : CS2300CP-CZZ. I hope this helps.

     

    Last edit: Dominic Letourneau 2016-04-13
  • Roman Zhukov

    Roman Zhukov - 2017-03-23

    Hello. It seems that we have found another design feature.
    I tested the refactoring version of board which I have made and in all boards after correct soldering I get this error. I also checked all resistors and they are OK.
    I have also soldered the original board with my components. And the original board was flashed correctly without this error. So sorry the the topic starter disappeared so we don't know whether it had been fixed or not. I cann't fix it.

     
  • Dominic Letourneau

    Roman, just to make sure I understand correctly, are you able to flash the boards you have assembled? Have you compiled the firmware?

    On U15 (CS2300), you should check if you get a 300Hz clock on pin 5 (SYNC_OUT->CLK_IN). Verify if the I2C communication occurs and there is no NACK on the bus, pin 9 = SCL, pin 10= SDA. Verify that pin 8 = AD0 is grounded (I2C address depends on it).

    The firmware makes an assertion if the CS2300 is not responding on the bus and then halts.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB