cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
309 Views
Registered: ‎08-06-2019

dpd host-api cmd error

Jump to solution

Hi all:

I want to run xilinx dpd example app (host-dpd) using Digital Pre-Distortion (DPD), v9.1, Vivado® 2018.3  on zcu111 platform

The boot.bin image.ub files are generated according to pg076v9-dpd_WtMkX.pdf  Table 7-14

After booting procedure, we run

1.dpd-smp -u 1 &

2.dpd-host-app 

we select 1 or 2 or 3  in the dpd-host-app ,the cmd status all failed : 

Is there anything I lost?   

Thanks a lot

------------------------------------------------------------

boot message

-------------------------------------------------------------------------------------------------------------------

root@xilinx-zcu111-2018_3:~# cd /usr/bin/
root@xilinx-zcu111-2018_3:/usr/bin# dpd-smp -u 1 &
[1] 2336
--- Xilinx Digital Pre-Distortion Software v9.0 rev0
--- Build: Linux SMP: CL2454068
--- Opened DPD Device at /dev/uio1
root@xilinx-zcu111-2018_3:/usr/bin# dpd-host-app
===================================
** DPD HOST API MENU **
===================================
[1] Display DPD build settings
[2] Display DPD parameters
[3] Set default DPD parameters
[4] Exit DPD Host API demo
===================================
Please select your choice: 1
Your selection was 1

--- Host Example APP: DPD Build Settings
--- CMD status: -3003
--- CL Number: 0
--- Hardware Version:
--- Device Family: 3
--- Major Version: 9
--- Minor Version: 0
--- Revision: 0
--- Software Version:
--- Major Version: 0
--- Minor Version: 0
--- Revision: 0
--- Software Build date: 0/0/2000
--- Software Build time: 0:0:0
--- Software Build settings:
--- Number of Antennas: 0
--- Number of Phases: 0
--- Number of Hybrid Phases: 0
--- Filter memory depth: 0
--- Capture RAM depth: 512
--- Acceleration level: 0
--- Peak in Window capture mode: 0
--- DCL mode: 0
--- Low resolution coefficients: 0
--- Has QMC: 0
===================================
** DPD HOST API MENU **
===================================
[1] Display DPD build settings
[2] Display DPD parameters
[3] Set default DPD parameters
[4] Exit DPD Host API demo
===================================
Please select your choice: 2
Your selection was 2

--- Host Interface: ARCH parameters:
--- CMD status: -3000
--- Architecture: 3e80
--- Datapath Gain: 2145336164

--- Host Interface: ECF parameters:
--- CMD status: -3000
--- samples2process: 16000
--- Leakage value: 0.999000
--- Damping value: 0.400000
--- ls_regularization: -10
--- TX ratio: 1
--- RX input format: 1
--- Spectral inversion: 0
--- RX phase step: 0.250000
--- Correction BW: 80
--- Enable linear correction: 1
--- Max delay: 1000
--- Min delay: 0

--- Host Interface: CAP parameters:
--- CMD status: -3000
--- Capture mode: 16000
--- Capture delay: 2145336164
--- Capture piw size: 858993459
--- Hires monitor: 4294967286

--- Host Interface: DCL parameters:
--- CMD status: -3000
--- DCL algorithm: 16000
--- Port control: 2145336164
--- Port sequencing: 858993459
--- SRX select delay: 4294967286
--- DCL skip port: 1
--- Enable VSWR power measurement: 1
--- Min update time: 0
--- DCL step: 1073741824
--- DCL TX low power: 80
--- DCL RX low power: 1
--- DCL startup damping: 1000

--- Host Interface: ODD parameters:
--- CMD status: -3000
--- Average power change: 0.000954
--- Enable PA protection: 2145336164
--- Overdrive threshold: 26214.399994
--- Overdrive threshold: 131071.999695
--- Overdrive threshold: 0.003906
--- Overdrive threshold: 0.003906

--- Host Interface: MET parameters:
--- CMD status: -3000
--- Number of samples: 16000
--- Magnitude threshold: 2145336164

[ 257.197014] macb ff0e0000.ethernet eth0: link down
[ 259.245020] macb ff0e0000.ethernet eth0: link up (100/Full)
--- Host Interface: MET parameters:
--- CMD status: -3000
--- Start delay for window 0: 16000
--- Stop delay for window 0: 2145336164
--- Start delay for window 1: 858993459
--- Stop delay for window 1: -10
--- Start delay for window 2: 1
--- Stop delay for window 2: 1
--- Start delay for window 3: 0
--- Stop delay for window 3: 1073741824
--- Start delay for window 4: 80
--- Stop delay for window 4: 1
--- Start delay for window 5: 1000
--- Stop delay for window 5: 0
--- Start delay for window 6: 0
--- Stop delay for window 6: 0
--- Start delay for window 7: 0
--- Stop delay for window 7: 0
--- Start delay for window 8: 0
--- Stop delay for window 8: 0
--- Start delay for window 9: 0
--- Stop delay for window 9: 0

===================================
** DPD HOST API MENU **
===================================
[1] Display DPD build settings
[2] Display DPD parameters
[3] Set default DPD parameters
[4] Exit DPD Host API demo
===================================
Please select your choice: 3
Your selection was 3

--- Setting default ECF parameters. cmd_status = -3000
--- Setting default ARCH parameters. cmd_status = -3000
[ 338.541007] macb ff0e0000.ethernet eth0: link down
[ 340.589016] macb ff0e0000.ethernet eth0: link up (100/Full)
--- Setting default CAP parameters. cmd_status = -3000
--- Setting default DCL parameters. cmd_status = -3000
--- Setting default ODD parameters. cmd_status = -3000
[ 405.101006] macb ff0e0000.ethernet eth0: link down
[ 407.149015] macb ff0e0000.ethernet eth0: link up (100/Full)
--- Setting default MET parameters. cmd_status = -3000
--- Setting default CAPWIN parameters. cmd_status = -3000
===================================

 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
283 Views
Registered: ‎03-13-2019

Hello,

This may be the reset problem. (these commands will reset pll,ddr)
Try these commands before running dpd-host-app and check

 devmem 0xac001000

 devmem 0xac001008

 devmem 0xac001000 32 0x17

devmem 0xac001000 32 0x10

 devmem 0xac001008

 ./dpd-host-app

Please tell me if they are working or not

Regards

Pavan

View solution in original post

5 Replies
Highlighted
Adventurer
Adventurer
284 Views
Registered: ‎03-13-2019

Hello,

This may be the reset problem. (these commands will reset pll,ddr)
Try these commands before running dpd-host-app and check

 devmem 0xac001000

 devmem 0xac001008

 devmem 0xac001000 32 0x17

devmem 0xac001000 32 0x10

 devmem 0xac001008

 ./dpd-host-app

Please tell me if they are working or not

Regards

Pavan

View solution in original post

Highlighted
Visitor
Visitor
268 Views
Registered: ‎08-06-2019

Hi Pavan :

It works. Thanks a lot.

I have another problem:

If I want to observe host-dpd-app DPD performance,and modify source code to add option 5 (run dcl mode)  and build the app ok.

How do I  feed transmit data to the platform?

Many Thanks.

0 Kudos
Highlighted
Adventurer
Adventurer
260 Views
Registered: ‎03-13-2019

Hello 
Glad to hear it is working.

Please mark as a solution so it may help others.

If I want to observe host-dpd-app DPD performance,and modify source code to add option 5 (run dcl mode)  and build the app ok.

> Since DPD is a secure lounge or licensed IP from Xilinx you can open service request from Xilinx. It is very useful and they will provide good support.

Regarding your question,
I think source codes you can modify in SDK but it is better to use MATLAB debugging (MATLAB debug interface).
It is user friendly and powerful.

 How do I  feed transmit data to the platform?

> You can do performance check in MATLAB and for real time waveform check you have to connect to spectrum analyzer. Since ZCU111 has built in ADC and DAC component it will be easier to debug in spectrum analyzer.

If you want to check the DPD IP behavior you can send custom test pattern or know pattern and cross verify with spectrum analyzer.

As I told you for DCL mode characteristics it is better to contact Xilinx.

regards
Pavan.

0 Kudos
Highlighted
Visitor
Visitor
241 Views
Registered: ‎08-06-2019

Hi Pavan:

Thank you for the prompt reply.

I already build the source code using SDK and can enter  DPD HOST API MENU

===================================
** DPD HOST API MENU **
===================================
[1] Display DPD build settings
[2] Display DPD parameters
[3] Set default DPD parameters
[4] Exit DPD Host API demo
===================================

If I want to run dcl mode, Is the procedure right? 

First run 3 and run 5

3:default_dpd_parameters();

5:xdpd_run_dcl();

When I run 5:  the return cmd status: is 2

But it seems dcl mode not wok  as attach file.( File1: After DPD_dcl mode , File 2:Before DPD)

Thanks a lot~

 

Before DPD.jpg
After DPD_dcl mode.jpg
0 Kudos
Highlighted
Adventurer
Adventurer
190 Views
Registered: ‎03-13-2019

Hello,

Glad you checked with spectrum analyzer.

Currently I am not sure what DCL algorithm will do to input

But if you look close there are differences in the waveform

1. After DPD ( Power is reduced -13.15dBm)
2. Before DPD (Power is -7.23dBm)

Note: Waveform looks like it is having some spurious signals. (Kindly ignore if this is irrelevant)

Regards
Pavan

0 Kudos