Post Go back to editing

AD9213 PLL Unlocked, Link status CGS

Category: Software

Hi team,


            I am building driver for AD9213 with VCU118. I have taken AD9208 VCU118 reference, I have tried to configure it, but I am facing some issues related to SDK. Since there are no APIs for AD9213, I am configuring the registers of AD9213 provided in the data sheet. After programming the FPGA, I am facing 2 issues - AD9213 PLL is unlocked & link status is CGS. I am configuring the JESD204B settings as: L = 16, N = 12, N' = 16, M = 2 (Complex ADC), F = 1, Sampling rate of 6 GSPs. So the Lane rate is 15 GBPs. Here I am attaching the debug prints, as observed..

Thanks in Advance

GOLI GANESH

  • Hi, are you following the setup sequence given in the datasheet?

  • Hii  ,

                 Yes, I am following the startup sequence in the datasheet. I actually solved the issue of AD9213 PLL Unlocked status but now I am stuck in CGS state. Can you please guide how to resolve this CGS state to Data state.

    Thanks in Advance

    Goli Ganesh

  • It looks like your fpga is not getting out of SYNC~ mode. you need to contact the fpga vendor to understand what is happening there. if the PLL inside AD9213 shows locked it means the chip is ready to initialize the link with the fpga. 

  • Hi  ,

                 The axi_jesd rx_sync is captured on ILA and it shows always 1 and  I also captured the phy_charisk,phy_notintable, phy_disperr signals ,since those three signals (phy_charisk,phy_notintable, phy_disperr signals) are inputs to the jesd204_rx as part of rx_phy* and are connected to the output rx_0 of util_adxcvr IP, I probe the output side and connected to ILA . Here I'm attaching those ILA captures.
     
     
     
    I also read all AD9213 registers. Here I am also attaching those values. I observed some register values differ from default values of AD9213. The register 0x52D = DE instead of C5 . 

     

    the reg 0x0 value is : 24

     the reg 0x2 value is : f0

     the reg 0x3 value is : 3

    the reg 0x4 value is : e5

    the reg 0x5 value is : 0

    the reg 0xA value is : fb

    the reg 0xC value is : 56

    the reg 0xD value is : 4

    the reg 0x26 value is : 0

    the reg 0x100 value is : 0

    the reg 0x101 value is : 0

    the reg 0x102 value is : 0

    the reg 0x103 value is : 0

    the reg 0x104 value is : 0

    the reg 0x105 value is : 0

    the reg 0x106 value is : 0

    the reg 0x120 value is : 0

    the reg 0x121 value is : 0

    the reg 0x122 value is : 0

    the reg 0x123 value is : 0

    the reg 0x124 value is : 0

    the reg 0x125 value is : 0

    the reg 0x126 value is : 0

    the reg 0x127 value is : 0

    the reg 0x128 value is : 0

    the reg 0x129 value is : 0

    the reg 0x131 value is : 0

    the reg 0x332 value is : 0

    the reg 0x500 value is : 0

    the reg 0x501 value is : 80

    the reg 0x503 value is : 14

    the reg 0x504 value is : 10

    the reg 0x505 value is : 0

    the reg 0x506 value is : 0

    the reg 0x507 value is : 0

    the reg 0x508 value is : 0

    the reg 0x509 value is : 2

    the reg 0x50A value is : 0

    the reg 0x50E value is : 0

    the reg 0x50F value is : 0

    the reg 0x510 value is : 0

    the reg 0x511 value is : 1

    the reg 0x512 value is : 2

    the reg 0x513 value is : 3

    the reg 0x514 value is : 4

    the reg 0x515 value is : 5

    the reg 0x516 value is : 6

    the reg 0x517 value is : 7

    the reg 0x518 value is : 8

    the reg 0x519 value is : 9

    the reg 0x51A value is : a

    the reg 0x51B value is : b

    the reg 0x51C value is : c

    the reg 0x51D value is : d

    the reg 0x51E value is : e

    the reg 0x51F value is : f

    the reg 0x520 value is : 8f

    the reg 0x521 value is : 1

    the reg 0x522 value is : 1f

    the reg 0x523 value is : 0

    the reg 0x524 value is : cf

    the reg 0x525 value is : 2f

    the reg 0x526 value is : 2f

    the reg 0x527 value is : 0

    the reg 0x52B value is : dc

    the reg 0x52C value is : dd

    the reg 0x52D value is : de ------------ C5

    the reg 0x52E value is : df

    the reg 0x52F value is : e0

    the reg 0x530 value is : e1

    the reg 0x531 value is : e2

    the reg 0x532 value is : e3

    the reg 0x533 value is : e4

    the reg 0x534 value is : e5

    the reg 0x535 value is : e6

    the reg 0x536 value is : e7

    the reg 0x537 value is : e8

    the reg 0x538 value is : e9

    the reg 0x539 value is : ea

    the reg 0x53A value is : eb

    the reg 0x53B value is : 0

    the reg 0x53C value is : 0

    the reg 0x53D value is : 10

    the reg 0x53E value is : 32

    the reg 0x53F value is : 54

    the reg 0x540 value is : 76

    the reg 0x541 value is : 98

    the reg 0x542 value is : ba

    the reg 0x543 value is : dc

    the reg 0x544 value is : fe

    the reg 0x547 value is : 7d 

    the reg 0x557 value is : 0

    the reg 0x558 value is : 0

    the reg 0x559 value is : 0

    the reg 0x55A value is : 0

    the reg 0x55B value is : 0

    the reg 0x55C value is : 0

    the reg 0x55D value is : 0

    the reg 0x55E value is : 0

    the reg 0x55F value is : 0

    the reg 0x560 value is : 0

    the reg 0x561 value is : 0

    the reg 0x564 value is : 0

    the reg 0x565 value is : 0

    the reg 0x570 value is : 1

    the reg 0x5B0 value is : 0

    the reg 0x5B1 value is : 0

    the reg 0x5B2 value is : 11

    the reg 0x5B3 value is : 11

    the reg 0x5B4 value is : 11

    the reg 0x5B5 value is : 11

    the reg 0x5B7 value is : 11

    the reg 0x5B8 value is : 11

    the reg 0x5B9 value is : 11

    the reg 0x5BA value is : 0

    the reg 0x5BB value is : 0

    the reg 0x5BC value is : 0

    the reg 0x5BD value is : 0

    the reg 0x5BE value is : 0

    the reg 0x5BF value is : 0

    the reg 0x5C0 value is : 0

    the reg 0x5C1 value is : 0

    the reg 0x5EA value is : 0

    the reg 0x5EB value is : 0

    the reg 0x600 value is : 2

    the reg 0x601 value is : 0

    the reg 0x602 value is : 0

    the reg 0x606 value is : 21

    the reg 0x607 value is : 0

    the reg 0x608 value is : 0

    the reg 0x609 value is : 0

    the reg 0x620 value is : 0

    the reg 0x621 value is : 0

    the reg 0x622 value is : 0

    the reg 0x623 value is : 1 ---

    the reg 0x624 value is : 0

    the reg 0x625 value is : 0

    the reg 0x626 value is : 0

    the reg 0x630 value is : 12

    the reg 0x631 value is : 0

    the reg 0x632 value is : 0

    the reg 0x633 value is : 0

    the reg 0x634 value is : 60

    the reg 0x635 value is : 12

    the reg 0x636 value is : 83

    the reg 0x637 value is : c0

    the reg 0x638 value is : ca

    the reg 0x639 value is : 1

    the reg 0x63A value is : 0

    the reg 0x63B value is : 0

    the reg 0x63C value is : 0

    the reg 0x63D value is : 0

    the reg 0x63E value is : 0

    the reg 0x63F value is : 0

    the reg 0x640 value is : 4a

    the reg 0x641 value is : 0

    the reg 0x642 value is : 0

    the reg 0x643 value is : 0

    the reg 0x644 value is : 0

    the reg 0x645 value is : 0

    the reg 0x646 value is : 7d

    the reg 0x647 value is : 0

    the reg 0x648 value is : 0

    the reg 0x649 value is : 0

    the reg 0x64A value is : 0

    the reg 0x64B value is : 0

    the reg 0x64C value is : 0

    the reg 0x64D value is : 0

     

    the reg 0x650 value is : 0

     

    the reg 0x651 value is : 0

     

    the reg 0x652 value is : 0

     

    the reg 0x653 value is : 0

     

    the reg 0x654 value is : 0

     

    the reg 0x655 value is : 0

     

    the reg 0x656 value is : 0

     

    the reg 0x657 value is : 0

     

    the reg 0x65F value is : 0

     

    the reg 0x660 value is : 0

     

    the reg 0x661 value is : 0

     

    the reg 0x662 value is : 0

     

    the reg 0x663 value is : 0

     

    the reg 0x664 value is : 0

     

    the reg 0x665 value is : 60

     

    the reg 0x666 value is : 12

     

    the reg 0x667 value is : 83

     

    the reg 0x668 value is : c0

     

    the reg 0x669 value is : ca

     

     

    the reg 0x66A value is : 1

     

    the reg 0x66B value is : 0

     

    the reg 0x66C value is : 0

     

    the reg 0x66D value is : 0

     

    the reg 0x66E value is : 0

     

    the reg 0x66F value is : 0

     

    the reg 0x670 value is : 0

     

    the reg 0x671 value is : 0

     

    the reg 0x672 value is : 0

     

    the reg 0x673 value is : 0

     

    the reg 0x674 value is : 0

     

    the reg 0x675 value is : 0

     

    the reg 0x676 value is : 0

     

    the reg 0x677 value is : 0

     

    the reg 0x678 value is : 0

     

    the reg 0x679 value is : 0

     

    the reg 0x681 value is : 10

     

    the reg 0x690 value is : 0

     

    the reg 0x691 value is : 0

     

    the reg 0x692 value is : 0

     

    the reg 0x693 value is : 1

     

    the reg 0x1507 value is : 40

     

    the reg 0x1508 value is : 0

     

    the reg 0x1509 value is : 8

     

    the reg 0x150A value is : 1

     

    the reg 0x150C value is : 0

     

    the reg 0x150D value is : 0

     

    the reg 0x150E value is : 0

     

    the reg 0x150F value is : 0

     

    the reg 0x1510 value is : 0

     

    the reg 0x1511 value is : 0

     

    the reg 0x1512 value is : 3f

     

    the reg 0x1513 value is : 1f

     

    the reg 0x1514 value is : 3

     

    the reg 0x1515 value is : fe

     

    the reg 0x1516 value is : 0

     

    the reg 0x1509 value is : 0

     

    the reg 0x1518 value is : 0

     

    the reg 0x1519 value is : 0

     

    the reg 0x151A value is : 1

     

    the reg 0x151B value is : 5

     

    the reg 0x151D value is : 3

     

    the reg 0x151E value is : 0

     

    the reg 0x1521 value is : 64

     

    the reg 0x1523 value is : 1f

     

    the reg 0x1600 value is : 0

     

    the reg 0x1601 value is : 0

     

    the reg 0x1602 value is : 0

     

    the reg 0x1606 value is : 0

     

    the reg 0x1609 value is : 3d

     

    the reg 0x160A value is : 1b

     

    the reg 0x160D value is : ab

     

    the reg 0x160E value is : 18

     

    the reg 0x160F value is : 0

     

    the reg 0x1612 value is : 0

     

    the reg 0x1613 value is : 40

     

    the reg 0x1614 value is : 0

     

    the reg 0x1615 value is : 0

     

    the reg 0x1616 value is : 0

     

    the reg 0x1617 value is : 0

     

    the reg 0x1621 value is : 9

     

    the reg 0x1622 value is : 2

     

    the reg 0x1623 value is : 4d

     

    the reg 0x1624 value is : d2

     

    the reg 0x1625 value is : ff

     

    the reg 0x1626 value is : ff

     

    the reg 0x1627 value is : 0

     

    the reg 0x1628 value is : 1

     

    the reg 0x1629 value is : 0

     

    the reg 0x162A value is : e8

     

    the reg 0x162B value is : 3

     

    the reg 0x162D value is : 0

     

    the reg 0x162E value is : 0

     

    the reg 0x162F value is : 64

     

    the reg 0x1630 value is : 0

     

    the reg 0x1636 value is : 1