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

Clear LTC4015 self-reset occurred flag

$
0
0

I have a revision of the LTC4015 with ERRATUM 1 solved. But on one device I got a self-reset occurred flag (bit 12 in register #39). It would be easy for me to determine this flag and rewrite the appropriate configuration into the LTC4015, but I don't know how to clear this flag. Otherwise I cannot determine that the reset has occurred again...

 

Best Regards,

Patrick.


why the X,Y,Z result is 80h

$
0
0

I have config the XL357_POWER_CTL 00h ,XL357_ACT_EN 07h ,XL357_Filter 04h ,XL357_INT_MAP 00h and XL357_Range 81h.

The temperature result and ID can be read through SPI. 

However, the XL357_ZDATA3, XL357_YDATA3 XL357_XDATA3 result are 80h.

The rest of result is 00h. Why causes the phenomenon?

 Please give me some advice to read the three axis results.

SOM2 usage for end application

$
0
0

We want to use SOM2( ADRV9361-Z7035) for our end application system which may need to undergo environmental qualifications. Since in the same board two RX and two TX chains are routed, whether it can pass the EMI/EMC qualifications provided we do proper shielding of the module with aluminium enclosure. Our temperature specs are -40 to +85 deg C. Since the micro SD card cage on the SOM doesnt meet this temperature spec whether we can remove the micro SD card.We may use either as TXR or RXR . Please clarify

AD7193 Accuracy Issues...

$
0
0

   Hello,

AD7193 calibration issue is solved & now i am getting values of offset register & Full scale register as follows.

 

      Offset register=8389236

      Full scale register=5584950

  AD7193 Configured as follows:

Mode register=0x0C0060

Configuration register=0x040118

Gain=1, Vref1=2.5, Chop disable, FS[9:0]=96,Continuous conversion mode,unipolar configuration

0 to 2.5V dc input connected to ch1 to check linearity of  ADC.

But i am getting 3.5% error (of the reading) near 0.1V

Zero: 0v , ADC counts=0

Span: 2.5V, ADC counts = 16754713

i/p                   ADC counts          Calculated Counts        Error(%)

0.10001          644500                     670228                     3.8387

0.20001         1315798                   1340390                    1.8346

0.30001         1987091                    2010551                   1.1668

0.4001            2660577                   2681316                   0.7734 

0.5001            3331311                   3351478                   0.6017

0.6001            4002490                   4021639                   0.4761

.......

.......

2.0001            13398607                  13403902                0.0394

2.2001            14741788                  14744225                0.0165

2.4001            16083274                  16084548                0.0079

2.5001            16754713                  16754713                

 

 

Please help me how to minimize Error..

Expected error for my application should be <.25% of the reading near zero.

 

Any help will greatly appreciated...

ltc3703 current limit

$
0
0

Hi, 

I have a problem with the current limit function of the device.

I disabled the function but the IC still limit the current while the voltage at the RUN/SS-Pin is reduced.

I only have a load current of 0,5A@24V output voltage.

I didn't understand what happens inside the LTC3703.

 

Has anyone an idea ??

 

Regards

AD7779 always returns 0

$
0
0

Hi,

 

I'm evaluating the AD7779 with a microcontroler using the SPI control mode. 

I have configured the ADC to enable AIN0 to AIN3. The reference is an external reference as defined in figure 98 of the datasheet.

I've around 200 mV in differential and more than 1V to GND on each channel. The ADC is supplied in 3.3V (single supply).

When I'm readbacking the Sigma Delta values, I always have 0x000000. (Received data are 0x00 00 00 00 / 0x10 00 00 00 / 0x20 00 00 00 / 0x30 00 00 00 )

 

Do you have any Idea about the wrong configuration I did ?

 

Here under the value of the internal registers : 

cached_reg_val[CH_DISABLE] : 240 (0xF0)
cached_reg_val[GENERAL_USER_CONFIG_1] : 115 (0x73)
cached_reg_val[GENERAL_USER_CONFIG_2] : 1
cached_reg_val[GENERAL_USER_CONFIG_3] : 209 (0xD1)
cached_reg_val[DOUT_FORMAT] : 192 (0xC0)
cached_reg_val[GPIO_DATA] : 48 (0x30)
cached_reg_val[BUFFER_CONFIG_1] : 56 (0x38)
cached_reg_val[CH4_5_SAT_ERR] : 57 (0x39)
cached_reg_val[CH6_7_SAT_ERR] : 63 (0x3F)
cached_reg_val[CHX_ERR_REG_EN] : 255 (0xFF)
cached_reg_val[GEN_ERR_REG_1] : 0
cached_reg_val[GEN_ERR_REG_1_EN] : 30 (0x1e)
cached_reg_val[GEN_ERR_REG_2] : 0
cached_reg_val[GEN_ERR_REG_2_EN] : 60 (0x3C)
cached_reg_val[STATUS_REG_1] : 0
cached_reg_val[STATUS_REG_2] : 0
cached_reg_val[STATUS_REG_3] : 16 (0x10)
cached_reg_val[SRC_N_MSB] : 8 (0x08)
cached_reg_val[SRC_N_LSB] : 0
cached_reg_val[SRC_IF_MSB] : 0
cached_reg_val[SRC_IF_LSB] : 0
cached_reg_val[SRC_UPDATE] : 0

 

All other registers are equal to 0.

 

Thank you for your Help.

 

Nicolas

About the operation when not following the recommended power supply sequence of the AD9363

$
0
0

Hello,

If you do not follow the recommended power supply sequence of the AD9363, what kind of problems will it cause?

 

Is there a possibility that the power state of the AD9363 will be shorted?

 

Thanking you in advance.

AD5933 - Question about Real & Imaginary data

$
0
0

Hello,

I am trying to design continuous bioimpedance measurement system using AD5933.

I designed frequency sweep function with single cycle, and now I am on validation.

 

I referred the formula in data sheet to decide the gain factor using 1 kOhm resistor. (Calibration using 1 kOhm)

I decided each gain factor for each frequency, and below is the result of measurement for 1 kOhm. (Measure 1 kOhm)

 

Frequency: 10.00 kHz; Impedance: 0.96 kOhm; Real: 12, Img: -5,
Frequency: 20.00 kHz; Impedance: 1.04 kOhm; Real: 6, Img: 4,
Frequency: 30.00 kHz; Impedance: 1.11 kOhm; Real: 10, Img: 3,
Frequency: 40.00 kHz; Impedance: 0.92 kOhm; Real: 18, Img: 6,
Frequency: 50.00 kHz; Impedance: 1.23 kOhm; Real: 15, Img: 11,
Frequency: 60.00 kHz; Impedance: 1.08 kOhm; Real: 18, Img: 18,
Frequency: 70.00 kHz; Impedance: 1.08 kOhm; Real: 16, Img: 27,
Frequency: 80.00 kHz; Impedance: 0.99 kOhm; Real: 16, Img: 37,
Frequency: 90.00 kHz; Impedance: 1.07 kOhm; Real: 14, Img: 38,
Frequency: 100.00 kHz; Impedance: 0.98 kOhm; Real: 7, Img: 49,

 

And I measured 1.8 kOhm, but the result was not good. (Measure 1.8 kOhm)

 

Frequency: 10.00 kHz; Impedance: 0.30 kOhm; Real: 31, Img: -28,
Frequency: 20.00 kHz; Impedance: 0.10 kOhm; Real: 70, Img: 29,
Frequency: 30.00 kHz; Impedance: 0.10 kOhm; Real: 78, Img: 82,
Frequency: 40.00 kHz; Impedance: 0.12 kOhm; Real: 43, Img: 141,
Frequency: 50.00 kHz; Impedance: 0.13 kOhm; Real: -4, Img: 175,
Frequency: 60.00 kHz; Impedance: 0.15 kOhm; Real: -59, Img: 178,
Frequency: 70.00 kHz; Impedance: 0.17 kOhm; Real: -115, Img: 162,
Frequency: 80.00 kHz; Impedance: 0.21 kOhm; Real: -147, Img: 123,
Frequency: 90.00 kHz; Impedance: 0.22 kOhm; Real: -179, Img: 88,
Frequency: 100.00 kHz; Impedance: 0.24 kOhm; Real: -196, Img: 45,

 

 

So I want to ask two questions:

 

1. The Magnitude (sqrt(pow(Re,2)+pow(Img,2))) of 1.8 kOhm is higher than that of 1 kOhm so the impedance of 1.8 kOhm became lower than that of 1 kOhm (because Impedance is in inverse proportion to Magnitude by given formula). Then why is the Magnitude of 1.8 kOhm showed higher value than that of 1 kOhm? 

 

2. I used only one resistor (1 kOhm) for calibration, but there was imaginary results that means the exist of the capacitance reactance. Should I assume that imaginary results as off-set?

 

 

Thanks,

Namho Kim


ADV7181C配置需求

$
0
0

 目前我们有一个项目使用了ADV7181C,已焊机回板,目前正在测试,使用方式如下:

1、使用红框中的数据输出格式;

2、输出分辨率:1280*720

 Adv7181的输入是vga rgb信号,分辨率时720p;我们需要adv7181转化后的输出是12bit 4:4:4 rgb ddr

现在的问题是:

adv7181输入单色的r信号,输出的是r

adv7181输入单色的b信号,输出的是b

adv7181输入单色的g信息,输出还是r

 

adv7181丢了一种颜色,不知道为什么?

我使用的配置如下:

i2c_write 0 0x42 0x5  0x1

i2c_write 0 0x42 0x6  0xa

i2c_write 0 0x42 0xc3 0x56

i2c_write 0 0x42 0xc4 0xb4  

i2c_write 0 0x42 0x1d 0x47  

i2c_write 0 0x42 0x3a 0x21

i2c_write 0 0x42 0x3b 0x61

i2c_write 0 0x42 0x3c 0x5d

i2c_write 0 0x42 0x6a 0x0

i2c_write 0 0x42 0x6b 0x84  

i2c_write 0 0x42 0xc9 0x8

i2c_write 0 0x42 0x73 0x90

i2c_write 0 0x42 0x7b 0x1d  

i2c_write 0 0x42 0x85 0x3

i2c_write 0 0x42 0x86 0xb

i2c_write 0 0x42 0xf4 0x3f

i2c_write 0 0x42 0x0e 0x80

i2c_write 0 0x42 0x52 0x46

i2c_write 0 0x42 0x54 0x00

i2c_write 0 0x42 0xf6 0x3b

i2c_write 0 0x42 0x0e 0x00

i2c_write 0 0x42 0x52 0x80

i2c_write 0 0x42 0x57 0x08

i2c_write 0 0x42 0x5b 0x20

i2c_write 0 0x42 0x5c 0x00

i2c_write 0 0x42 0x62 0x00

 另外我们这中输入(vga rgb 720p)输出(12bit 4:4:4 rgb ddr)方式,你们有推荐的配置吗?

ADA4304-2

$
0
0

Здравствуйте. Можно ли использовать микросхему ADA4304-2 для разветвления RGB или S-Video сигналов?

ADV7403 RGsB

$
0
0

Здравствуйте.

Хотелось использовать декодер ADV7403 в качестве приема сигнала RGsB, но по описанию не понятно можно или нет? Если да то какая схема включения? В документации есть сигнал SOG, предположил что он и используется для выделения синхронизации в потоке RGsB.

Можно ли программно отключать выводы  SOG и SOY, для того что бы одновременно на один и тот же вход подавать RGB и CVBS?

How to Convert values read from i2c registers

$
0
0

Hi Everyone,

 

I just started with ADE7880 evaluation kit. I am trying to read AVrms Voltage using external microcontroller and evaluation board. I am using i2c as interface. 

 

To the evaluation board I connected 230V AC to phase A channel and gave 3.3V DC to P9. And on board microcontroller part was powered up with USB Power. JP21 was short in order to bypass the on board microcontroller and to use external microcontroller. 

 

So after all the connections are done, I am reading the 0x43C1 memory register using i2c for AVrms value. I am getting 4 bytes of data as 0xA4, 0xC5, 0xFF, 0xFF. So I just want to know how to convert these bytes into Decimal format to get actual reading. 

AD8397输出

$
0
0

AD8397输出问题: 放大器AD8397作为一个电压跟随器,当输入电压低于0.6V时,发现输出端的电压都为0.07V(也就是说都是低电压). 输入范围0.25~5V,输出范围也是0.25V~5V。原因是什么?

ADF4158 FMCW Configuration

$
0
0

hello,

I'm using a Radar that uses the PLL ADF4158.

I want to setup it as FMCW, currently, I'm getting the MUX output correctly, but when there is a stationary object, I don't get any signal, I just get a DC 

While moving objects are getting good sinusoids

 

Here are my registers values

R0 = 0xF8190000

R1 = 0x00000001

R2 = 0x0F509002

R3 = 0x00000043

R4 = 0x00780084

R5 =  0x02331275;

R5 with deviation = 0x002B676CD

R6 = 0x00000806

R6 wit stepselc = 0x00800006

R7 = 0x7

AD9363 Tx RF PLL and Rx RF PLL unlocked with Dual Synthesizer mode

$
0
0

I am using the AD9363 in TDD.
ENABLE STATE MACHINE is operated by using TXNRX Pin and ENABLE Pin.
It is operating in ENABLE Level Mode and Dual Synthesizer Mode.

 

When the ENABLE STATE is switched to the ALERT state or switched to the Rx state, sometimes the Tx RF PLL lock and the Rx RF PLL lock are unlocked.
However, it does not happen that the Baseband PLL lock is unlocked.
The time during which Tx RF PLL lock and Rx RF PLL lock are unlocked is about 3.3 us.
The confirmation method of Tx RF PLL lock and Rx RF PLL lock status is confirmed by Control Output pin (with setting register address 0x035, data 0x01).

 

Since it operates in Dual Synthesizer Mode, we assume that no state will occur PLL unlock in switching TX state RX state.
Are Tx RF PLL lock and Rx RF PLL lock  unlocked when TX state and RX state are switched?

 

Thanking you in advance.


ADUcM350 I2C Pins

$
0
0

Hi Analog,

 

Using the I2CTest example, I've set up the ADuCM350 eval board to communicate with a DAC, using the Breakout Board to access the pins and with LK1 in position B in order to access I2CSCL and I2CSDA on P4.0 and P4.1. However, I want to use P3.4 and P3.5 for the I2C bus instead. Using the PinMux software I've generated PinMux.c with the right pin-assignment for this, and switched LK1 to position A in order to access those pins on the Breakout Board. After doing this, there is no signal on the new I2C bus pins P3.4 and P3.5 and the software gets stuck in system.c line 1628 (ADI_ENTER_CRITICAL_REGION(); )

 

Do you know what the issue could be?

 

Thanks!

 

Best,

Andreas

Error in LTSpice Simulation results with Worst-Case Analysis

$
0
0

Hello All,

Good Day...

 

I have experienced a strange error with LTSpice Simulation results. I am doing the worst-case analysis for few number of runs. Actually the circuit consists of op amp circuit. Whenever the differential input of op amp is more negative then the output shall be low but unfortunately, in some cases even the differential input is more negative but the output shows or stuck at positive.

 

Herewith I have attached a graph, I have shown the results for three different runs. In that the blue color waveform shows that even the op amp input is negative the output of the op amp is positive where as it is supposed to be zero as in the case of red color waveform condition.

 

Could you please help me to resolve this issue.

 

Thanking You in advance.

Kureti.

ADE9000 Energy Reading + Conversion Constants

$
0
0

I'm using the ADE9000 Evaluation board with a ADuCM4050 connected over SPI. I also have the SDP & the ADE9000 Evaluation Software.

 

1. I'd like to confirm the correct method of reading energy:

I'm using the 'read energy with reset' method on page 21 of UG-1098 (ADE9000 Technical Reference Manual).

The microcontroller reads the xHR_HI register, multiplies the register value with the conversion constant and adds it to a 'sum' variable which keeps track of energy over time.

Something like: energy_sum = energy_sum +( SPI_read(xHR_HI) * xHR_HI_conversion_constant );

energy_sum will be the total energy accumulated over the measurement period, with unit Wh.

Do I need to keep track of time (between measurements & total time) in the microcontroller program, or is that handled by the ADE9000 internally?

 

2. Energy Conversion Constant formula:

The screenshot is from page 52 of UG-1098. The calculation seems to be missing fDSP in the denominator, because if a value is calculated using the given formula, it comes out to 8213.98 (instead of 1.0268 as shown). Dividing 8213.98 by 8000 gives 1.0268.

The formula for conversion constants in the excel sheet (ADE9000_Calibration_Tool_Rev0.xlsm) is:

=(B9*B10*B12)/(B25*B26*'Constants and config'!B11*'Constants and config'!B15*B12*2^-13*3600)*10^6

This formula is similar to the conversion constant in UG-1098, but it includes fDSP in the denominator (*'Constants and config'!B15).

However, the value of accumulation time (B12) is present in the numerator and denominator, which results in them cancelling out and having no effect on the equation.

 

Could someone please clarify which conversion constant formula needs to be used?

 

 

 

AD9517 configuration through SPI Controller software

$
0
0

How to configure AD9517 in AD9268 Evaluation board using SPI Controller software? I am using HSC-ADC-EVALC board to connect AD9268 EVM

IIOD USB3.0 SuperSpeed doesn’t work

$
0
0

I'm using the latest libiio and my board is a custom board that uses Xilinx MPSOC. At the moment I'm able to configure the usb on the board side and I got rid of some kernel warnigs by following this link IIOD USB3.0 SuperSpeed doesn’t work · Issue #132 · analogdevicesinc/libiio · GitHub  . My kernel version is 4.9.0 , so I incorporated this patch https://github.com/analogdevicesinc/linux/tree/zynqmp-usb-dwc3-fixes . However that only fixed the kernel warnings (i.e. No SuperSpeed endpoint companion for config 1 ... ). Do I need to port back the dwc3 driver from 4.14 kernel to make this work.

mhennerich   

Target side

cat /proc/mounts

....

iio_ffs /dev/iio_ffs functionfs rw,relatime 0 0

...

 

Host side:

[ 723.117463] usb 2-3: new SuperSpeed USB device number 4 using xhci_hcd
[ 723.129466] usb 2-3: New USB device found, idVendor=0456, idProduct=b672
[ 723.129474] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 723.129478] usb 2-3: Product: RPT
[ 723.129481] usb 2-3: Manufacturer: RRC
[ 723.129484] usb 2-3: SerialNumber: 00000000

 

 

[host ~]$ iio_info -s
Library version: 0.15 (git tag: 6ecff5d)
Compiled with backends: local xml ip usb
Available contexts:
0: 0456:b672 (RRC RPT), serial=00000000 [usb:2.4.0]

 

When I do an iio_info -u usb:2.4.0 then I get the following error:

 

[501:blazbriklab1 hosts ~]$ iio_info -u usb:2.4.0
Library version: 0.15 (git tag: 6ecff5d)
Compiled with backends: local xml ip usb
Unable to create IIO context: Input/output error

 

 

lsusb -v output is attached.

Viewing all 51060 articles
Browse latest View live


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