Quantcast
Channel: EngineerZone : Discussion List - All Communities
Viewing all 51060 articles
Browse latest View live

What do you recommend setting 0xDE of ADV7513 ?

$
0
0

What do you recommend setting 0xDE of ADV7513 ?

Please give me answer.

 

-----
In the ADV7513_programming_Guide Page 165

0xDE  R/W
[7:4] 0001**** Fixed Must be set to Default for proper operation

[3] ****0*** TMDS Clock Inversion TMDS Clock Inversion
   
0 = Normal TMDS Clock
1 = Inverted TMDS Clock

[2:1] *****000 Fixed Must be set to Default for proper operation


I think that best setting is 0x10 of 0xDE.

Is it true?

 

-----
In ADV7611-VER.3.0c.txt

(https://ez.analog.com/docs/DOC-1745)


72 DE D8 ; ADI Recommended Write

 

[7:4] 0001**** Fixed Must be set to Default for proper operation

[3]     ****0*** TMDS Clock Inversion TMDS Clock Inversion

 

Why is [7:4] bit changed?

And why is [3]bit changed? Why is TMDS Clock inverse?

Must TMDS Clock set Inversion?


Best regard.


AD7177-2, Missing conversions

$
0
0

Hi,

 

I'm having a particularly weird issue where I'm not receiving half of the converted values. When streaming conversions, I will receive three (seemingly) consecutive conversions, and then three or four conversions disappear, and then I'll get another three seemingly consecutive conversions. 

 

I know I'm getting 3 and missing 3 (or 4) because I'm feeding a sine wave in the ADC ch0 input and plotting the converted values on my computer. Every 3 points, there's a jump. 

 

Does this seem like a familiar issue? Am I somehow not accounting for some cooldown period?

 

I'm currently operating the chip in:

 

Ch0 on (Ch1,2,3 are all off)

Continuous Conversion mode (Sync_en off, Err_en = 11)

10KSps

WL32

Default Setup0, Gain0, Offset0

Internal reference

IOCLK = 500Khz

AD5933 Complex impedance measurement

$
0
0

I am trying to measure a microfluidic circuit, a conduction circuit which can be modeled down to a CRC circuit using the AD5933 Evaluation Board. Page 8 of the Data Sheet ,the AN- 1252  states that:

 

MEASURING A COMPLEX IMPEDANCE

To measure complex impedance, refer to the conversion table (see Table 7) to calculate the maximum and minimum impedance based on the excitation frequency. This section describes three points to keep in mind.

Do Not Calibrate the System with a Complex Impedance

Otherwise, phase results will be not as expected. This is explained in the Calculating the Gain Factor section.

 

Questions:

  1. Table 7 gives schematics of such complex impedance examples, however could you confirm if my microfluidic CRC circuit is considered to be complex impedance?
  2. The warning states "Do Not Calibrate the System with a Complex Impedance" and given the fact that correct measurements require accurate calibration, could you shed some light on the accuracy range I will expect on the CRC circuit and confirm if the AD5933 is a suitable tool to measure the impedance of the conduction cell?

 

Thank you for your time.

 

Raymond

how to install ADF5355 linux driver on Raspberry pi3 ?

$
0
0

Hi all,

I'm not seeing  ADF5355 driver in Raspberry pi kernel (https://github.com/raspberrypi/linux ). I tried versions up to 4.16. 

Under Synthesizers DDS/PLL category, I can see only ADF4350/ADF4350 as shown below : 

Also, ADF5355 IIO Wideband Synthesizer Linux Driver [Analog Devices Wiki]  suggests to set the following options.

 --- Industrial I/O support               -*-   Enable ring buffer support within IIO               -*-     Industrial I/O lock free software ring               -*-   Enable triggered sampling support

but what I get is as follows : There's no option for "Enable ring buffer support" & "Industrial I/O lock free software ring"

 

I saw this post : Stuck setting up ADF5355  and it says ADF5355 is working with Raspberry Pi3, but the post does not tell the steps taken to install the driver.  I don't know much about kernel/driver installation & I don't know where to put .dts files, where to put source files (.h .c) etc. when adding new drivers. 

 

Please bare with me, my linux kernel/driver installation knowledge is very limited. 

 

It would be great if someone could guide me to control ADF5355 with RPi 3 using iio device driver. 

 

Cheers,

AD9371 no-OS TX over JESD not functional

$
0
0

Hi,

TX signal does not show up when transmitting custom LUT-sine (DMA transfers) over JESD to AD9371 using default headless.c configuration. I verified the TX samples are sent over the TX JESD using ILA so not sure what is causing the AD9371 not to transmit. Not sure if it is related to the deframer status being 0x61 (shown below).

AD9371 in NCO mode seems to work fine and signal samples are observed at the RX JESD output. 

Need to be able to transmit data. please assist.

thanks.

 

Please wait...
RX_XCVR initialization OK
TX_XCVR initialization OK
RX_OS_XCVR initialization OK
MCS successful
CLKPLL locked
AD9371 ARM version 5.1.1
PLLs locked
Calibrations completed successfully
DeframerStatus = 0x61
dac_setup dac core initialized (200 MHz).
adc_setup adc core initialized (100 MHz).
Done

ADF4108 - Frequency Synthesizer - Eval Board: Lock detect output

$
0
0

I have recently purchased, the eval board of ADF4108. Initially, without altering any of the configurations as specified in the User guide, I tested evaluation board with the pre-defined configuration to generate the 6.4 GHz carrier with its inbuilt VCO using an external TCXO of 40 MHz. Facing the following issues:

 

I can see the locked output in spectrum analyzer, but the Lock detect LED is not glowing. I checked the Digital Lock Detect output and was getting 500mV output on my scope. What does it employ? I have read similar thread. But i need more insight into this as whether this is a problem with the eval board I have purchased or is it something else? As a debug, I have checked the R and N divider output, they are stable and equals to PFD frequency.

 

Why the DVdd is coming out to be 500mV instead of 3.3V? Is this correct?

 

I am unable to see any output on Analog LD (connecting with pull-up resistor).

 

My TCXO is operating at 40 MHz. But when, I am changing my TCXO frequency in the ADI Integer-N software without changing the actual TCXO frequency which is 40 MHz, the PLL is generating the carrier at some other frequency. I was assuming PLL should show the Free running VCO frequency, but the carrier is generated at some other operating frequency. Why does this happen?

Frequency characteristics of ADIS16228

$
0
0
Hi
Please let me talk about ADIS16228.

My customers are evaluating ADIS16228.
Devices were set on a vibrating table and evaluated in order for frequencies 100 Hz - 2000 Hz (every 100 Hz).
There were no problems at 100 Hz to 1000 Hz.
The outputs of multiple vibration pickups and ADIS16228 were in agreement.
However, the outputs of these two began to diverge and doubled near 1400 Hz.

We are puzzled by the interpretation of this result.
Could you give me advice?  Please.


Best regards

how to store data from DC890B evaluation board into PC in excel format using Pscope software

$
0
0

We are interested in DC1945A combo board and DC890B evaluation board which consist of LTC2185 ADC IC. DC890B is used to acquire data from the DC1945A and Pscope software is use  to collect and anlyse data from ADC but our aim is to store data into external memory or in PC so how to store data from the DC890B,kindly  advice  or please  send a solution for the same.

Thank you.


build error in ad9371+zcu102

$
0
0
Hi, 
I am using AD9371+Zynq ultrascale(ZCU102) design and kernel from 2018_r1 branch .
I followed the build steps given in below link and could build the kernel successfully.
Building the ZynqMP / MPSoC Linux kernel and devicetrees from source [Analog Devices Wiki]  
When I create petalinux project(2017.4) and build the project it fails.
It states that there is a syntax error in dts files. I have added the files given from the
kernel without making any changes to them.The error i got in terminal is as shown below,

sysadmin@sysadmin-OptiPlex-390:/media/sysadmin/NewVolume/peta_ultrascale/new$ petalinux-build -v
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:01
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:17
Parsing of 2468 .bb files complete (2433 cached, 35 parsed). 3261 targets, 225 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:11
Checking sstate mirror object availability: 100% |###########################################################################################################################################| Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
linux-xlnx-4.9-xilinx-v2017.4+git999-r0 do_compile: NOTE: linux-xlnx: compiling from external source tree /media/sysadmin/NewVolume/peta_ultrascale/new/components/ext_sources/linux5/
ERROR: device-tree-generation-xilinx+gitAUTOINC+3c7407f6f8-r0 do_compile: Function failed: do_compile (log file is located at /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10874)
ERROR: Logfile of failure stored in: /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10874
Log data follows:
| DEBUG: Executing shell function do_compile
| Error: /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/zynqmp-zcu102-revA.dtsi:14.1-9 syntax error
| FATAL ERROR: Unable to parse input tree
| WARNING: /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_compile.10874:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -i /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0 -i /media/sysadmin/NewVolume/peta_ultrascale/new/build/../components/plnx_workspace/device-tree/device-tree-generation -o /media/sysadmin/NewVolume/peta_ultrascale/new/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_aarch64-system.dtb /media/sysadmin/NewVolume/peta_ultrascale/new/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_aarch64-system.pp'
| ERROR: Function failed: do_compile (log file is located at /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10874)
ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile) failed with exit code '1'
ERROR: linux-xlnx-4.9-xilinx-v2017.4+git999-r0 do_compile: oe_runmake failed
ERROR: linux-xlnx-4.9-xilinx-v2017.4+git999-r0 do_compile: Function failed: do_compile (log file is located at /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/linux-xlnx/4.9-xilinx-v2017.4+git999-r0/temp/log.do_compile.10768)
ERROR: Logfile of failure stored in: /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/linux-xlnx/4.9-xilinx-v2017.4+git999-r0/temp/log.do_compile.10768
Log data follows:
| DEBUG: Executing python function externalsrc_compile_prefunc
| NOTE: linux-xlnx: compiling from external source tree /media/sysadmin/NewVolume/peta_ultrascale/new/components/ext_sources/linux5/
| DEBUG: Python function externalsrc_compile_prefunc finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 HOSTCC=gcc  HOSTCPP=gcc  -E Image CC=aarch64-xilinx-linux-gcc   -fuse-ld=bfd  --sysroot=/media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/sysroots/plnx_aarch64 LD=aarch64-xilinx-linux-ld.bfd    --sysroot=/media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/sysroots/plnx_aarch64
| ERROR: oe_runmake failed
|   CHK     include/config/kernel.release
|   GEN     ./Makefile
|   CHK     include/generated/uapi/linux/version.h
|   CHK     include/generated/utsrelease.h
|   Using /media/sysadmin/NewVolume/peta_ultrascale/new/components/ext_sources/linux5 as source for kernel
|   CHK     include/generated/timeconst.h
|   CHK     include/generated/bounds.h
|   CHK     include/generated/asm-offsets.h
|   CALL    /media/sysadmin/NewVolume/peta_ultrascale/new/components/ext_sources/linux5/scripts/checksyscalls.sh
|   CHK     include/generated/compile.h
|   CHK     kernel/config_data.h
| make[3]: *** No rule to make target 'include/config/extra/firmware/dir.h', needed by 'firmware/Mykonos_M3.bin.gen.S'.  Stop.
| make[2]: *** [/media/sysadmin/NewVolume/peta_ultrascale/new/components/ext_sources/linux5/Makefile:988: firmware] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [Makefile:150: sub-make] Error 2
| make: *** [Makefile:24: __sub-make] Error 2
| ERROR: Function failed: do_compile (log file is located at /media/sysadmin/NewVolume/peta_ultrascale/new/build/tmp/work/plnx_aarch64-xilinx-linux/linux-xlnx/4.9-xilinx-v2017.4+git999-r0/temp/log.do_compile.10768)
ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2400 tasks of which 2393 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile
  /opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!








I am not able to figure out what might be the reason as I am newbie to this environment.
Kindly help me in solving this issue.  

Thanks & Regards
Sravya

AD9364 LO Leakage

$
0
0

I'm performing the configuration test using the No-OS reference design of AD9364.

 

I have configured LO frequency to 2.67365 GHz and no data, but at the spectrum analyzer it is observed LO leakage is around -28dBm.

This is not constant on every start up and varies. How to reduce the LO leakage.

AD7768 EVB ZedBoard - IIO Linux driver support?

$
0
0

Hello, apologies if this question is not asked in the right place - it involves both the HDL reference design and IIO-Linux driver support.

 

The AD7768EVB has an HDL Git repository located here:

hdl/projects/ad7768evb/zed at master · analogdevicesinc/hdl · GitHub 

 

I was able to generate the project just fine. However, i would like to know how can software interact with the ADC - more specifically, are there Linux IIO drivers that can interact with this card? Is it done through libIIO? I see a DMA connection back to the PS. Is it possible to create IIO buffers to read from this ADC?

 

I did see this page here:

AD7768 IIO Low Power Sigma-Delta ADC Linux Driver [Analog Devices Wiki] 

 

Which seems to indicate Linux support exists. However, this Linux driver

linux/ad7768.c at rpi-4.9.y · analogdevicesinc/linux · GitHub 

 

Seems to be for a Raspberry Pi branch. I do not see this driver in the Zynq related Linux branches (ie: linux/drivers/iio/adc at 2018_R1 · analogdevicesinc/linux · GitHub )

In the Linux menuconfig I cannot find reference to AD7768.

 

Assuming that Zedboard Linux drivers do not exist for the AD7768: How easy would it be to port over this Linux driver to the Zynq? Will porting it over be compatible with the Zedboard reference design? Does the Zedboard Reference design require Linux drivers?

 

If Linux drivers do exist for the Zedboard I would be interested in knowing where they are.

 

Thanks

Amplifier signal analog

$
0
0

Hello,

I need to know if I can find a component to amplifie my analog signal (0-10V) about F=800 Hz to 20Khz. I need to amplifie my input signal by 10 thus my signal output is about 100 V (peak to peak). I don't need a great current but just my voltage output. I need to know if you have a component with the gain controlled in a class AB amplifier ? Thanks for your helps and can you give my the reference and how many it's cost. We need about 40 components.

 

Best regards

ADSP - 21489(slave) ldr Data Download

$
0
0

I tried launching ADSP - 21489 slave for one month but please advise because LDR download will not be done normally.
The development environment connects EVB (ADSP - 21489) and STM MUC and uses EVB (ADSP - 21489) as SLAVE by using it as the SPI master of the MCU.
(SPI does not use DMA, LDR used is ss_app_sh489.ldr.)
1. When using SIGMA STUDIO [BOOT] -> [BOOT TARGET], the data output to CAPTURE is used as LDR Data, is there any problem?
2. Is there a part that does not have to be handled separately after sending all the LDR Data? >

Please give me advice.

ADIS16475 burst mode‘s stall period

$
0
0

hi all

how many periods is it appropriate to set the stall periods for ADIS16475 burst mode,as following figure shows 

 

LTC4020 NTC hysteresis behaviour

$
0
0

We are using the LTC4020 to charge a lead-acid battery, with the NTC pin used to enable charging within temperature range of the battery.

The LTC4020 has an upper and a lower voltage limit on the NTC pin, corresponding to temperature depending on how the customer chooses to connect the temperature sensor. In our case, we use a thermistor in a resistor network connected to the pin.

 

Can I get a more detailed explanation of how the LTC4020 behaves based on the NTC pin voltage? The datasheet mentions the hysteresis but does not say e.g. on which side of the nominal voltage threshold it applies, or whether the part will go into NTC fault state or not when powered up if the temperature happens to be within the hysteresis band.

 

// Daniel


ADRV9361-Z7035 schematics

$
0
0

Hi everyone,

I need the schematic to understanding the hardware and also need any step file to building a chase for this board.

thanks in advance!

Can I get Linux support for the SSM2603?

$
0
0

Hello,

 

I am having trouble outputting sound on Linux using SSM2603.

The SSM2603 device driver loads normally.

It is also registered in ALSA sound card list.

 

However, "input / output error" is raised in "alsactl init". ("amixer" is also the same.)

It plays when I play wave file with "aplay" but it does not output to "R/LOUT pin" of SSM2603.

 

Regards,

Namio

LTC3897 Boost Controller Voltage Input Range

$
0
0

I want to use the LTC3897 Boost Controller with input range from 9V to 32V and an output of 48V.
I have the DC2108A Demo Board which supports inputs from 16V to 55V and output of 48V.

 

There is a reference design in the LTC3891 datasheet that claims to support inputs from 6V to 55V with output of 48V, but that design seems very similar to the demo board circuit. I cant figure out what parameter determines the input voltage range.

 

LTC3897 Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/3897f.pdf
DC2108A Demo Board: http://www.analog.com/media/en/dsp-documentation/evaluation-kit-manuals/DC2108AF.PDF

 

Best Regards
Johan

how to install ADF5355 linux driver on Raspberry pi3 ?

$
0
0

Hi all,

I'm not seeing  ADF5355 driver in Raspberry pi kernel (https://github.com/raspberrypi/linux ). I tried versions up to 4.16. 

Under Synthesizers DDS/PLL category, I can see only ADF4350/ADF4350 as shown below : 

Also, ADF5355 IIO Wideband Synthesizer Linux Driver [Analog Devices Wiki]  suggests to set the following options.

 --- Industrial I/O support               -*-   Enable ring buffer support within IIO               -*-     Industrial I/O lock free software ring               -*-   Enable triggered sampling support

but what I get is as follows : There's no option for "Enable ring buffer support" & "Industrial I/O lock free software ring"

 

I saw this post : Stuck setting up ADF5355  and it says ADF5355 is working with Raspberry Pi3, but the post does not tell the steps taken to install the driver.  I don't know much about kernel/driver installation & I don't know where to put .dts files, where to put source files (.h .c) etc. when adding new drivers. 

 

Please bare with me, my linux kernel/driver installation knowledge is very limited. 

 

It would be great if someone could guide me to control ADF5355 with RPi 3 using iio device driver. 

 

Cheers,

HDL/no-OS AD7616 Custom Design (ADI SPI ENGINE + ADI DMAC)

$
0
0

Hello,

 

I'm trying to modify the provided HDL/no-OS reference source code for the AD7616 to support our custom design.

We have 4 AD7616 using a shared serial interface (SPI) configured by hardware signals (no SPI DIN line) and the intended operation it's to capture the data activating the shared CONVST signal and then cycle through all the ADC's getting the data through both SPI DOUT lines at the same time.

 

Right now, using the AD7616 reference HDL/no-OS (using only 1 CS line) we can successfully read the ADC captured data from the AXI SPI Engine register, although the DMA transfer (ADI AXI DMAC) doesn't work.

 

I would like some assistance with the following modifications:

1) [SPI-Engine][HDL] Add three more chip select lines to the Vivado AD7616 IP.

2) [SPI-Engine][No-OS] Configuration of the SPI Offload Engine to address the different new CS lines.

3) [ADI AXI DMAC] A working version.

 

1) Modifications made to the axi_ad7616 block:

*[ADD] parameter NUM_OF_CS = 4

*[MODIFY] output  [NUM_OF_CS-1:0] rx_cs_n

*[MODIFY] spi_engine_execution #(.NUM_OF_CS (NUM_OF_CS), ...

Is there any other HDL modification necessary to the HDL in order to support 4 CS lines?

 

2) [SPI-Engine][No-OS] SPI Offload Engine

spi_engine_write(SPI_ENGINE_REG_OFFLOAD_CTRL(0), 0x0);
spi_engine_write(SPI_ENGINE_REG_OFFLOAD_RESET(0), 0x1);
spi_engine_write(SPI_ENGINE_REG_OFFLOAD_SDO_MEM(0), 0x00);

spi_engine_write(SPI_ENGINE_REG_OFFLOAD_CMD_MEM(0), 0x2103);

...

How to enable/disable the different new CS lines?

 

3) [ADI AXI DMAC] Problems

The ADI AXI DMAC no-OS code indefinitely hangs in this loop:

// Wait until the new transfer is queued. Checks for the transfer has been successfully queued.
do {
   ad7616_dma_read(core, ADC_DMAC_REG_START_TRANSFER, &reg_val);
}
while (reg_val == 1);

 

Any tips in how to debug or what to check to complete the DMA transfer?

 

Thank you in advance,

Regards,

Vicente

Viewing all 51060 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>