Quantcast
Channel: EngineerZone: Message List
Viewing all 24325 articles
Browse latest View live

Re: How to measure two phase energy using ADE7953

$
0
0

Hi,

Thanks for your detailed explanation and i have understood above mentioned configurations.

Here i have attached my simple circuit diagram (based on ADE7753) from my understanding after read the application note and datasheet.

Kindly check this circuit is right or wrong. If wrong, i will need your suggestions.

Thank you.


Re: temperature sensor in ADIS16488

$
0
0

Some warm-up/settling is normal, Is this at room temp? Don't believe this will have an effect on the gyroscope calibration. 

Renesas S7G2 with video decoder ADV7280 (I2C issue)

$
0
0

We have ADV7280 is connected with renesas S7G2.

DVDDIO=3.3V,DVDD=1.8V,PVDD=1.8V,AVDD=1.8V

RESET and PWRDWN pin is pulled-up to DVDDIO.

SDA and SCL pin is pulled-up  to DVDDIO by 4.7kohm.

We try to read register from 0x11(IDENT) with slave address 0x43. There is no ack from the device(ADV7280). There are other devices in the same I2C bus. Those devices are working fine.

Is there any non-os driver for ADV7280(With some microcontroller), so that we can have some reference code?

 

Thanks,

Kandhasamy

Problem when doing selfboot on the ADAU1701

$
0
0

Hi, we have made an application using ADAU1701.

 

We have loaded the program into the I2C eeprom (24lc256).

 

It is very small and simple.

 

But it seems to get stuck when booting. See the attached scope shot.

 

For me it looks like it stops reading the eeprom data as it receives a 0x00!? Can that be the reason?

 

The data we have stored and verified in the eeprom is:

 

 

Don't get confused about the 0x50+Write address.. It is the same as 0xa0 and 0x50+Read is the same as 0xa1

 

Any suggestions what's wrong here?

 

BR

 

Sonny

multi-dsp boot question

$
0
0

Dear engineers in Engineer Zone:

      I have a question about how to download program in multi-dsp environment.I have seen a project group that use an asm file to boot another,but I do not know how to code that file.Is there any pdf or example I can reference ?

PS:I have a three DSP project group

                                                                                                                                                               Thank you

Can I recompile pluto-sdr FW with the arm-linux-gnueabihf toolchain

$
0
0

I noted that the pluto sdr FW is compiled using  the arm-xilinx-linux-gnueabi toolchain only supporting SW emulated FP.

I am wondering if I can safely use instead the arm-linux-gnueabihf supporting HW FP.

As I don't have the Jtag cable I don't want to risk bricking the pluto sdr device.

Thanks

Re: Controlling an AD5790 using RPi3 & linux iio driver

$
0
0

Hi-

  I am out of my depth, but I have been trying to add the ad5791 to my RPi3's devicetree (see overlay file I'm using below, which I tried to adapt from another post (ad7192 linux driver: no device0 created).  I can see the overlay is being loaded on RPi boot ("Loaded overlay 'ad5791-overlay' in output of `vcdbg log msg`) but there's nothing related in dmesg, the module isn't loaded (ie I don't see ad5791 in lsmod output), and there's nothing in /sys/bus/iio/devices/.  I am unsure how to proceed.  One question; is there even devicetree support in the ad5791 kernel driver?  Looking at other forum posts, I noticed some users had to patch their drivers to get devicetree to work, leading to various calls being added to their drivers' source code with variable/function names containing "dts"; there's nothing like that that I can see in the source code of the driver I'm trying to use (ad5791.c).  Thanks for your help,

  Shawn

 

----- ad5791-overlay.dts

/dts-v1/;
/plugin/;

 

// adapted from https://ez.analog.com/thread/91542
/ {
        compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";

 

        /* disable spi-dev for spi0.0 */
        fragment@0 {
                target = <&spi0>;
                __overlay__ {
                        /* needed to avoid dtc warning */
                        #address-cells = <1>;
                        #size-cells = <0>;

 

                        status = "okay";
                        ad5791: ad5791@0{
                               compatible = "adi,a5791";
                               reg = <0>; /* CE0 */
                               spi-max-frequency = <1000000>;
                               status = "okay";
                        };
                };
        };

 

        fragment@1 {
                target = <&spidev0>;
                __overlay__ {
                        status = "disabled";
                };
        };
};

VDSP --> CCES Linker error

$
0
0

Hello,  I've read through all of the discussions about this, but I'm still unable to get my project to build.  I'd really appreciate some assistance...

I have the 21469-EZ Kit board, and I'm just getting started.  I've gotten other projects to build and load just fine.  I created a new CCES project, and began adding files to my project from the VDSP example "21469 AD1939 C Sampled-Based Talkthru 48 or 96 kHz".  I copied the Main.c code into mine and modified for the interrupt, per the discussions here.  I also tried updating the LDF file to the default for CCES.

 

No matter what I do, I still get the following errors when I call adi_int_InstallHandler:

cc3089: fatal error: Link failed (code:1)

make: *** [Audio Processor.dxe] Error 1

 

 

Here is my code:

/*****************************************************************************
 * Audio Processor.c
 *****************************************************************************/

 

#include "ADDS_21469_EzKit.h"
#include <sys/platform.h>
#include "adi_initialize.h"
#include "Audio Processor.h"
#include <services/int/adi_int.h>

 

float * DelayLine;

 

int Index  = 0;
int Sine_Index = 0;
int SPORT1_isr_count = 0;
int SPORT0_isr_count = 0;

 

void SPORT1_isr_counter(void);
void SPORT0_isr_counter(void);

 


int main(int argc, char *argv[])
{
    adi_initComponents();
    initPLL();   // initialize the PLL
    initDDR2DRAM();  // initialize the DDR2

 

    // Initialize DAI because the SPORT and SPI signals need to be routed
   InitDAI();

 

   // This function will configure the AD1939 codec on the 21469 EZ-KIT
   Init1939viaSPI();

 

   // Turn on SPORT0 TX and SPORT1 RX for Multichannel Operation
   enable_SPORT01_MCM_mode();

 

   // Unmask SPORT1 RX ISR Interrupt
       adi_int_InstallHandler(ADI_CID_SP1I, /*iid - high priority core timer */
                            (ADI_INT_HANDLER_PTR)process_AD1939_samples, /*handler*/
                          (void *)0, /*handler parameter*/
                             true);

 

       // Enable multichannel operation (SPORT mode and DMA in standby and ready)
           *pSPMCTL0 |= MCEA;
           *pSPMCTL1 |= MCEA;

 

           SinTableInit();

 

           // Set up small delay buffer
           DelayLine = (float *) 0x000C4000;

 

           for (;;)
             {
               asm("idle;");
             }

 

   return 0;
}


Re: VDSP --> CCES Linker error

$
0
0

Here is more detail on the error.  Do I need to add a file to my project to resolve this?  Thank you in advance!

 

[Error li1021]  The following symbols referenced in processor 'p0' could not be resolved:
        'Left_Channel_In1 [_Left_Channel_In1]' referenced from 'src\process_audio.doj'
        'Left_Channel_In2 [_Left_Channel_In2]' referenced from 'src\process_audio.doj'
        'Left_Channel_Out1 [_Left_Channel_Out1]' referenced from 'src\process_audio.doj'
        'Left_Channel_Out2 [_Left_Channel_Out2]' referenced from 'src\process_audio.doj'
        'Left_Channel_Out3 [_Left_Channel_Out3]' referenced from 'src\process_audio.doj'
        'Left_Channel_Out4 [_Left_Channel_Out4]' referenced from 'src\process_audio.doj'
        'Receive_ADC_Samples [_Receive_ADC_Samples]' referenced from 'src\process_audio.doj'
        'Right_Channel_In1 [_Right_Channel_In1]' referenced from 'src\process_audio.doj'
        'Right_Channel_In2 [_Right_Channel_In2]' referenced from 'src\process_audio.doj'
        'Right_Channel_Out1 [_Right_Channel_Out1]' referenced from 'src\process_audio.doj'
        'Right_Channel_Out2 [_Right_Channel_Out2]' referenced from 'src\process_audio.doj'
        'Right_Channel_Out3 [_Right_Channel_Out3]' referenced from 'src\process_audio.doj'
        'Right_Channel_Out4 [_Right_Channel_Out4]' referenced from 'src\process_audio.doj'
        'SinTableInit [_SinTableInit]' referenced from 'src\Audio_Processor.doj'
        'Transmit_DAC_Samples [_Transmit_DAC_Samples]' referenced from 'src\process_audio.doj'

 

 

 

This uses the default process_audio.c code.

Re: Can't get gr-iio loaded in Linux using https://wiki.analog.com/resources/tools-software/linux-software/gnuradio

$
0
0

I have made some progress. I did a fresh install of Ubuntu 17.04 in

VMWare. Then, following the instructions, exactly, on

https://www.gnuradio.org/blog/pybombs-the-what-the-how-and-the-why/, I

was able to get gnuradio-companion loaded and running successfully. I

also loaded gr-iio and gr-radar and they seem to work. But, I don't see

anything for Pluto, although I do see FMCOMMS3, etc. Where can I find,

or load, Pluto? Also, I don't see anything for RTL2832 or similar USB

receivers. How do I get them into my installation of gnuradio-companion?

Also, finally, what is the correct way to install GQRX given my current

installation? I don't think it is available with pybombs and, now that I

have a mostly successful installation of gnuradio, I don't want to mess

it up.

Ed

Re: AD936x GPO in auto mode

$
0
0

Thanks again Vinod.

 

1) GPO automatically goes high when you enter Alert. No need to program GPO.

From RM and register definition, this is true only if GPO Init State in Reg 0x27 is initialized to high 0xFF. From UG-672, Reg 0x27 initial state is 0x3, so GPO_1,GPO_0 are high, while GPO_3, GPO_2 are low by default when slaved to ENSM.

 

2) If 0x27 is reinitialized GPO's will be disabled immediately. No need to reinitialize GPO once slave to ENSM. Everytime it goes to alert GPO automatically goes high.

Same comment as (1).

 

3) In FDD when set to ENSM , while entering FDD both toggle together.

Can you point where I may find the reference? From Figure 9 on RM, FDD state is different from TX or RX state, and I haven't found GPO mentioned in FDD state, only in RX and TX states.

 

4) Ox020, 10 means only GPO_0 in RX is enables and GPO 1 in Tx is not enabled. Tx will not auto toggle in this case.

From UG-672, it means only GPO_0 in RX is toggled, while all GPO in Tx in not enabled. Still, Figure 54 in UG-673 shows both bits toggling.

 

Hope above clarifies. If you have an Evaluation  board you can try it yourself.

We are considering building a custom board and looking at using GPO. Unfortunately, I don't have access to an evaluation board at the moment. So I thought the fastest way, while waiting for the board's availability, is thru the forum.

 

Best regards!

How to start with AD7176-2 evaluation kit

$
0
0

 I am new to this kit, pl help me to tell how to get the output data from ADC.

When will HMC524A be in production phase?

$
0
0

This part already been in pre-release status for more than 1 year. Is there any confirmed production release date for this part. I urgently need this part to replace the obselete hmc524lc3b. 

Re: AD7760 ICLK setting

$
0
0

Hi Akira,

 

   I am looking into this. I'll get back to you.

 

Regards,

Jonathan

Links between 2 ADAU1701

$
0
0

I have already asked this question but I did not have any answers, I hope to make it more fortunate

 

 

Hello everyone,
i need to know if these connections are accurate to work together 2 ADAU1701.
Some questions:


1) On the second DSP OSCO is left open?

 

2) What is the procedure for writing in the configuration register the value to have the exact generation of the clock for the second DSP and what do I write in this register?
Note that the first DSP has a sample rate of 48,000 and the second at 96,000.

 

3) When connecting from the first DSP DAC0 to the second DSP ADC0

I can avoid putting filters since then the second DSP will do the audio processing and then the filters
will be put on the output DAC of the second DSP?

The application is not HI-FI but simply phone band 300 - 3000 hZ, so it is not
necassary high quality.

 


Re: Programming Multiple AD5241 on the Same I2C line

$
0
0

Hi,

 

Someone is looking at this thread and will respond to you soon. Thanks.

 

Cheers,

Ivan

Re: AD5790 initialization using SPI commands

$
0
0

Hi,

 

Someone is looking at this thread and will respond to you soon. Thanks.

 

Cheers,

Ivan

Re: temperature sensor in ADIS16488

$
0
0

Thanks for your response.

Yes, it is in the room temp.

I can see gyro bias changes with the temperature. I have attached the graph. Moreover, as depicted in the datasheet (ADIS16488A-rev D, fig.9), gyro bias can vary about 0.1 deg/sec. So, doesn't it mean that the temperature has a  significant effect on the gyro bias?

 


Regards

Re: AD5790 initialization using SPI commands

$
0
0

Thanks Ivan.  Searching through posts in these forums, I found this one - AD5791 Eval board: voltage output doesn't change - which I'm betting is my problem.  Similar to that post, although I've removed the jumper from LK1 in order to wire in the RPi3's 3.3V power supply, from earlier testing I still have had VCC wired to +5V in my tests.  I won't have access to the setup again until Monday but will let you know if that resolves the issue.  Thanks,

  Shawn

Re: how to install ubuntu desktop 14.04 on zedboard

$
0
0

Hello DragosB,

I'm so sad. I can't solve the mouse cursor invisible problem today. but I found some clue.

Previously I install the  linaro-vivid-developer-20151215-714.tar (http://releases.linaro.org/ubuntu/images/developer/15.12/)

and use the command "apt-get install xfce4".    ubuntu version 15.04  Codename: vivid .    xfce:4.12   .  kernel 4.6.0       

now the mouse cursor is invisible but it works.

 

I check the analog image  (download from Zynq & Altera SoC Quick Start Guide [Analog Devices Wiki] )

ubuntu version is 14.04 Codename: trusty ,  xfce:4.10  .  kernel 4.6.0   

so I try the analog version below:

I install the linaro-trusty-developer-20140522-661.tar (http://releases.linaro.org/archive/14.05/ubuntu/trusty-images/developer/)  , and the supporting xfce4 version is xfce4.10, now the mouse is appeared and perfect.  but the linux system time is always 1970 year when I boot zedboard,  and what I change to the system will be reset when I reboot the zedboard.  means ,the configure do not change to zedboard.

thank you 

 

 

Viewing all 24325 articles
Browse latest View live


Latest Images

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