• Content Count

  • Joined

  • Last visited

Everything posted by Stefan0

  1. Hi @JColvin, thanks for the quick response, that's what i needed. Best Stefano
  2. Hi JColvin, I'm designing a expansion PCB for the Cora that uses the unpopulated J1 connector. J1 seems to be not aligned with any other connector on the board. Can you please provide me the measurements highlighted in green in the figure below (or anything else that will help me to place J1 correctly)? Thanks Stefano
  3. Hi @jpeyron, here's another piece of the puzzle. With the I2C at 1MHz and Microblaze running at 83 MHz it takes 19018 clock cycles or 0.000229 sec to bring in 4 samples from the AD2 (one per channel). This is done by calling 4 times the function AD2_ReadConv(). I modified that function to read 4 samples (1 per channel) in one shot (source code below) and the acquisition time it's reduced to 12970 clock cycles or 0.000156. However this is still quite low (below 7 kHz sampling rate). Do you know if it's possible to further speed up the data transfer? XStatu
  4. I managed to increase the I2C speed up to 1MHz and the data is correctly read from the ADC. When entering values higher than 1MHz in PmodAD2_axi_iic_0_0.xci Vivado 2018.3 crashed during the design run updates (after it recognizes that the IP had been updated), and when restarted, the synthesis of the I2C uses the default speed of 100 kHz.
  5. Hi @jpeyron, thanks for your reply. Attached there are the screenshots you requested. It seems that is not possible to change the I2C data rate from there. In my previous post I explained that I unsuccessfully attempted to change the I2C rate by modifying the file PmodAD2_axi_iic_0_0.xci . This approach actually works, but I had to manually delete all Pmod-related sources in the project and adding the modules to the block once again again (probably resetting and generating the Vivado block diagram output products will do as well). Now I'm running the I2C at 400 kHz and the
  6. I'm using an Arty A7-35 board with a Pmod AD2 module. The design includes a a Microblaze running at 83MHz and the Pmod interface. To build the system (block design in Vivado and Microblaze code in SDK) and I've followed the guidelines in this tutorial and in this example. The conversion works well but it's very slow (i.e. the maximum rate at which I can read samples in Microblaze is extremely low). I've added a timer to the design and I noticed the function AD2_ReadConv() takes about to 0.00036 sec to return (an eternity!!!), while the AD7991 on the AD2 has a conversion ti