Post Go back to editing

Adapting AD4134-FMC HDL Project from Zedboard to UltraZed-EG

Thread Summary

The user is porting the AD4134 HDL project from a Zedboard (PS7) to an UltraZed-EG board (PS8/MPSoC) and encounters issues with ADC outputs showing 0 V for the first 300 samples and garbage data thereafter. The final answer suggests checking the register map, SPI timing, and using the ILA for debugging. The user has also tried reducing the number of samples per channel to 256 to avoid DMA read errors, and confirmed that the DCLK, ODR, DOUT0, and DOUT1 signals are consistent with the Zedboard. The user is advised to enable debug messages over UART and use the Vitis debugger for further insight.
AI Generated Content
Category: Hardware
Product Number: AD4134

Hello,

I'm currently working with the 2023_r2 Patch1 release of the Analog Devices HDL Github repository and attempting to port the ad4134_fmc project from a Zedboard (PS7) to an UltraZed-EG board (PS8/MPSoC). I'm using the EVAL-AD4134 board.

What I've Done:

  • Updated the HDL project to target the UltraZed-EG. The block design is attached below, based on feedback from my previous post about porting the HDL project to the KCU105.

  • Compiled the modified project in Vivado, generated the bitstream, and exported the XSA file.

  • Previously, I was able to get the ZedBoard version of this project working with the ad7134x_fmcz.

  • For the UltraZed-EG version, I followed a similar approach by updating the parameters.h file accordingly (attached below along with the modified no-OS code). I'm using Vitis to compile and run the code on the UltraZed-EG.

The Problem:

When I check the UART output using PuTTY, the ADC outputs 0 V for all channels (even when I have a 1 V DC signal going into one of the channels) for the first 300 samples before outputting garbage. I am not sure if the problem lies with SPI or the data being written to the DMA.

My Questions:

1. Does anyone have any experience with porting the AD4134 HDL project to an MPSoC system?

2. Any suggestions for debugging this further?

Please let me know if there is any other information I should provide.

Regards,

Paul

PDF8883.ad4134_fmc.zipadi_project_xilinx.zipno-os-test_system.ide.zip

system_top.zip