Post Go back to editing

How to loopback RX to TX on ADRV9009 EVB board?

Category: Software
Product Number: ADRV9009

Hi:

I have a environment set up with ZC706+adrv9009+sdcard(download adrv9371+adrv9009 SDCARD image),  I want to loopback  RX signal to TX signal in digital terminal,  how can I loopback framer input data to De-framer output on EVB board?

Best regards!

Aihua

Parents
  • ########################
    #ADI Demo Python Script
    ########################
    
    #Import Reference to the DLL
    import clr
    import System
    import time
    clr.AddReferenceToFileAndPath("C:\\Program Files (x86)\\Analog Devices\\ADRV9009 Transceiver Evaluation Software_3p6p0p6\\ADRV9009 Transceiver Evaluation Software\\AdiCmdServerClient.dll")
    from AdiCmdServerClient import AdiCommandServerClient
    from AdiCmdServerClient import Talise
    from AdiCmdServerClient import FpgaTalise
    from System import Array
    
    #Create an Instance of the Class
    Link = AdiCommandServerClient.Instance
    
    #Connect to the Zynq Platform
    if(Link.hw.Connected == 1):
        Connect = 0
    else:
        Connect = 1
        Link.hw.Connect("192.168.1.10", 55555)
    
    print Link.Version()
    #print Link.SpiWrite(0x00000101,0xDD)
    print Link.SpiWrite(0x00000101,0xDD) ## 0xDD for enabling loopback 
    print hex(Link.SpiRead( 0x00000101))
    Link.Talise.SetRxTxEnable(Link.Talise.RxOrxChannel.Rx1Rx2,Link.Talise.TxChannel.Tx1Tx2)
    
    #Disconnect from the Zynq Platform
    if(Connect == 1):
        Link.hw.Disconnect()
    
    

    use the above script for the loopback

Reply
  • ########################
    #ADI Demo Python Script
    ########################
    
    #Import Reference to the DLL
    import clr
    import System
    import time
    clr.AddReferenceToFileAndPath("C:\\Program Files (x86)\\Analog Devices\\ADRV9009 Transceiver Evaluation Software_3p6p0p6\\ADRV9009 Transceiver Evaluation Software\\AdiCmdServerClient.dll")
    from AdiCmdServerClient import AdiCommandServerClient
    from AdiCmdServerClient import Talise
    from AdiCmdServerClient import FpgaTalise
    from System import Array
    
    #Create an Instance of the Class
    Link = AdiCommandServerClient.Instance
    
    #Connect to the Zynq Platform
    if(Link.hw.Connected == 1):
        Connect = 0
    else:
        Connect = 1
        Link.hw.Connect("192.168.1.10", 55555)
    
    print Link.Version()
    #print Link.SpiWrite(0x00000101,0xDD)
    print Link.SpiWrite(0x00000101,0xDD) ## 0xDD for enabling loopback 
    print hex(Link.SpiRead( 0x00000101))
    Link.Talise.SetRxTxEnable(Link.Talise.RxOrxChannel.Rx1Rx2,Link.Talise.TxChannel.Tx1Tx2)
    
    #Disconnect from the Zynq Platform
    if(Connect == 1):
        Link.hw.Disconnect()
    
    

    use the above script for the loopback

Children
No Data