Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

AWR1642BOOST: + DCA1000 EVM ; Calculation of RCS from raw ADC Data ( by using PSD and/or SNR data)

$
0
0

Part Number: AWR1642BOOST

Hi, 

1-  This refers to the previous question fro RCS Calculation / Estimation. I have gone through and understood the previous question. I have some additional queries and request guidance of TI team or some other user on the following points. I am deliberately stating the steps that I have carried out. I request you to please go through them, if you find them right, please comment ok and/or extend additional advice if you feel so. If you see them wrong then please advise the right way.

I am using AWR1642BOOST + DCA1000 EVM to capture raw ADC data. I am storing it on a PC and processing it with readDCA1000  MATLAB script provided by TI. This script is producing a matrix of complex values. I am trying to further process this data in MATLAB to have estimate of target Radar Cross Section (RCS).

2-  Please refer page 50 on TI mmwave training pdf file. The screen shot is as follows: 

 3-  As indicated int he previous post, I intend to keep all other parameters constant and thus I expect to obtain an estimate of RCS from the SNR values.

4-  In many standard Radar Texts, an additional term "Losses" is included in the denominator of the above equation. However, no such term in included in the above equation. Does TI consider extending advice that should I consider adding the Losses in the above equation to have more realistic and accurate results ? If yes, then what system losses TI could consider advising ? Or, does the equation give a fairly optimal result even without inclusion of losses term ?

5-  I understand that if I use decibel arithmetic for solving the above SNR equation (as commonly and conveniently done in radar calculations) then I must add the antenna gain dB values for transmitter and receiver in SNR equation (addition in dB is analogous to multiplication in linear units). AWR1642BOOST EVM User Guide (swru508b) states peak gain of 10 dB both for the transmitting and receiving antennas. 

Please advise that should I add two antenna gains if I use two transmitters AND should I, for example, add 2 receiver gains if I use two receivers ?

6-  The above equation includes a term lambda (wavelength). We know that wavelength is based on frequency. Suppose that I am using 77 GHz to 81 GHz frequency range for AWR1642BOOST. Please advise which values of frequency should I use for calculating the wavelength ? Will I get optimally good approximate results if I use a single value OR not ? If yes, then in such case should I use 77 GHz, or 81 GHz or 79 GHz (mean of 77 and 81 GHz) ?

7-  The previous post advises :" A convenient way to do this is to have a stationary scenario and use the signal levelin the non-zero doppler binsas a measure of the noise floor."

In an attempt to act on the above advice, I have carried out the following steps:

a)  By using MATLAB, from raw ADC data mentioned in para 1 above,  I extracted a column vector corresponding to a single chirp on a single receiver (a single chirp being used as a prototype step, I will use more chirp later on). I used fft function of MATLAB to obtain the fft of data. I then converted sample index to frequency and I plotted this frequency against Power Spectral Density (PSD). The PSD values are obtained by the formula PSD = abs(rawfft).^2/nfft, which explains that, for each frequency bin/step, I am squaring the magnitude of each complex number and then dividing it by the length of fft.

b)  What do non-zero doppler bins mean / signify in the advice from previous post ? If it is going to be a stationary scenario as advised by TI, then virtually there will NOT be any non-zero doppler bins as there will be virtually no motion observed. I have not taken yet the 2nd fft for doppler estimation, however, I feel that as I have a stationary scenario, I will will have virtually no bin with a doppler level. In such scenario, I feel that the PSD values (after excluding one target peak) could be assumed as noise floor and could be taken as SNR values.

c)  I have a single target case. Therefore, I obtained the PSD value of the single peak corresponding to the target. After that, I took sum of all the PSD values for the whole fft length and then I subtracted PSD value of one dominant peak from that sum. After that, I took average of the remaining (nfft-1) values. 

Now as the PSD value of the target peak has been removed, I assume that the PSD values of remaining (nfft-1) correspond to the noise floor and I take them as SNR. As I mentioned above, I took their average and I am using it as SNR and using it in the above SNR equation. Is my supposition of using PSD as SNR right or not ?

d)  I am then using the above equation with the above obtained SNR value and calculating the target RCS. Does my procedure seem ok ?

Thanking you in advance and regards.


TMP513: Available Linux Driver?

$
0
0

Part Number: TMP513

Hi there,

Do you have a linux driver available for the TMP513?

Thanks!

DS16F95QML: Power Consumption

$
0
0

Part Number: DS16F95QML

Team,

The power specifications in the datasheet seem really high. I will be sending a 1PPS signal through it powered at 5V. Can you confirm how much power this would consume?

I was hoping to get my hands on an evaluation board, but I don't see one available for this or the commercial version device.

Thank you for your support.

CCS: Looking for Full Version of CCS 3.1

$
0
0

Tool/software: Code Composer Studio

Hello,

I am in need of the FULL version of Code Composer 3.1

I need to connect to a TMS320F2812 using an XDS510USB JTAG. However, the version of CCS we have with our development kit only has a limited version of CCS 3.1 that doesn't allow JTAG, only printer port.

Is there some way to get ahold of a full version of CCS 3.1 that supports interfacing with the F2812 via JTAG?

Compiler/TMS320F28377D: CODEGEN-2372 and warning: Data is being written to auto-generated

MSP432E401Y: Controlling SOP pins of IWR6843 using the MSP432E401Y MCU Launchpad.

$
0
0

Part Number: MSP432E401Y

Hi,

I am trying to control the SOP pins on the mmwaveICBOOST using the MSP432E401Y MCU Launchpad, so I can directly go into functional and flashing modes without manually controlling the SOP jumper settings. To start with, I established a UART connection between launchpad and mmwaveICBOOST, which is working fine.

I looked into the schematics and the pins 15,17, and 19 on the J6 correspond to SOP0, SOP1, and SOP2 pins, respectively, which means if I want to control them using MSP432E4 launchpad then the corresponding GPIO pins on the launchpad are PL1, PL2, and PL3. When I tried to configure these three GPIO pins using sysconfig tool, it gives me the warning that ''these pins are also connected to mini-USB connector, so select it in 'Use hardware' field''. However, If I go to the 'Use Hardware' field, I only see user switches and launchpad LEDs there.

1). I am new to the sysconfig tool, is there a way we can change the default GPIO pins configurations? 

2). Also, is this warning an issue if I configure the same pins (PL1-3) to control the IWR6843?

Anyways, I went ahead and sent the ON signal to PL3 to make the IWR6843ISK go into the functional mode. I verified that the signal is coming on these PL pins but when I remove all three jumpers OFF on the SOP pins of the mmwaveIC BOOST, and try to control the IWR6843 through these GPIO pins (PL1-3), the stored program (mmwave demo) on the IWR6843 does not run. 

 Please find the MUX settings on the switch (S1) to enable the 40 pin interface.

From this below schematics, I can see these MCU_SOP pins can bypass the the SOP jumper settings and it should work. Is there any hardware changes, we need to do (like changing resistor values) to make it work?

Thank you.

MSP432P4011: MSP432P4011 rev -A- programming/debug using spy-by-wire?

$
0
0

Part Number: MSP432P4011

Hi,

I have the hardware as shown in picture. I'm using MSP-FET + ADPTR and modified cable connected to 20-pin of ADPTR. I manage to sometimes program the device but, often not. I'm looking for the correct connections between the ADPT and this 'custom board'? The settings in CCS 9.2 for the *.ccmle would be nice to? There is also a CC2640R2 BLE module on this board but, I can flash/debug perfectly!

Its no problem to make modifications if needed!

Regards,

Laurent

MSP430F2418: Problem when generating higher frequency PWM using timers I need help

$
0
0

Part Number: MSP430F2418

hello i am generating two pwm one with frequency 2khz...... 2nd with frequency 10khz 

when i am observing both pins on oscilloscope the 1st one pwm is accurate but 2nd one is not correct 

this mean i am experiencing problem with higher frequency when i change the 10khz to 5khz then it become accurate but i want 10khz 

i dont know what is the problem kindly help me below is my code

 

#include <msp430.h>

void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop WDT
BCSCTL1 = CALBC1_1MHZ;
DCOCTL = CALDCO_1MHZ;
// Setup Port Pins 
P4DIR |= 0xFF; // P4.0 - P4.7 output
P4SEL |= 0xFF; // P4.0 - P4.6 Port Map functions
P1DIR |= 0x01; // P1.0 - Outputs

//Set up Timer B in continuous mode for multiple time base PWMs
TBCCTL1 = CCIS_0 + OUTMOD_4 + CCIE; // CCR1 toggle, interrupt enabled
TBCCTL2 = CCIS_0 + OUTMOD_4 + CCIE; // CCR2 toggle, interrupt enabled
TBCTL = TBSSEL_2 + MC_2 + TBCLR + TBIE; // SMCLK, contmode, clear TAR,
// interrupt enabled

__bis_SR_register(LPM0_bits + GIE); // Enter LPM3, interrupts enabled
__no_operation(); // For debugger
}

/*Multiple timebase PWMs
*Period is determined by the sum of the two TBCCRx offset values
*Duty cycle is determined by the ration of the high/low TBCCRx value
*to the total period.
*/

// Timer B0 interrupt service routine


// Timer_B1 Interrupt Vector (TBIV) handler
#pragma vector=TIMERB1_VECTOR
__interrupt void TIMERB1_ISR(void)
{
switch(TBIV)
{
case 0: break; 
case 2: if(TBCCTL1 & CCI)
{
TB0CCR1 += 250; // 2khz 50% high
}
else
{
TB0CCR1 += 250; // 2khz 50%low
}
break;
case 4: if(TBCCTL2 & CCI)
{
TB0CCR2 += 50; // 10khz 50% high     .......here i have problem ????
}
else
{
TB0CCR2 += 50; // 10khz 50% low
}
break;

default: break;
}
}


op-amp

IWR6843: in a confusion to buy the right board of iwr6843

$
0
0

Part Number: IWR6843

i am currently working with awr1642boost. i am trying to do peoples counting demo but facing lot of problems. As most of the guys suggested to shift to 6843 board. could you please help me that which board do i have to buy?

cause i have seen differnt boards like 

IWR6843

IWR6843AOPEVM

IWR6843ISK

IWR6843ISK-ODS

please guide me

LMK01020: Register Mismatch

$
0
0

Part Number: LMK01020

Hi E2E,

Good day!

I have a customer that is having a register value mismatch (comparing to datasheet). The mismatch is on registers R2 to R7 bits A3-A0. From what I know, these bits are for the register address field. Is it possible that those values change? Below is the customer's R2 to R7 register values for bits A3-A0.

R2:0000
R3:0110
R4:0000
R5:1011
R6:0000

Looking forward to your response.

Thank you and best regards,

Franz

ADC3244: Synchronizing multiple ADCs

$
0
0

Part Number: ADC3244

Hi, I have 5 ADC3244s in my system.  They all get synchronize sample clocks and are operated in 2-wire mode.  The problem is the Frame Clock is 2 samples wide for the data output and since they are set up individually, they don't all start converting at the same time.  This leads to some with frame clocks 180 degrees out of phase with the others.  What is the best way to accommodate this?  Can I disable the input clocks while each chip is set up then start the the input clocks simultaneously?  I'm not using the internal divider, but could SYSREF help in this instance?

Thanks,

Ryan

CCS/LAUNCHXL-CC1352R1: When POWER_MEAS is defined, sensor project does not build.

$
0
0

Part Number: LAUNCHXL-CC1352R1

Tool/software: Code Composer Studio

SDK Simplelink 3.30

When I define POWER_MEAS, the sensor project does not build. Since no "config.h" is present anymore, the variable POWER_TEST_PROFILE does not exist:

CCS: CCS3.3

$
0
0

Tool/software: Code Composer Studio

 

what to do for this error

 

Thanks--

TPS92518HV: Managed to kill another part, need ideas on how to prevent in the future.

$
0
0

Part Number: TPS92518HV

Hello.

I have a prototype hardware up and running. Love the part. Love the linearity. I'm making good progress.

In the process of debugging a python test script, I plugged in a load while the parts were trying to pump current. Dim duty cycle was around 40%. Analog Dimming was set very low (PeakCurrent set to around 120 mA).

I use a 350uH inductor in the circuit, which is needed for linearity at low currents, everything else is stock.

I had this problem before with removal of load while the output was on and added a diode from the output to Vin to protect the part from high voltage. That diode still works in the circuit that was damaged, so I suspect that there's some other process happening during plug in while the part is attempting to drive current.

Note, before I plugged in the failed channel and killed the TPS92518, I had plugged in 11 channels without incident.

I have a limited number of prototypes to reproduce this issue and since reproducing the issue kills two channels, I'd like to get some idea where to look before I start killing ports.

Any advice you have would be appreciated. I'll answer any questions you have as well.

Thanks.


AWR1843: using LP87524J PMIC PGOOD as a reset input

$
0
0

Part Number: AWR1843

Hello, 

On a custom board we are making now, we are using the PMIC LP87524JRNFTQ1 with the AWR1843 (using LC filters). 

The PMIC has a PGOOD signal output configurable via I2C, and we're considering using it as a reset input for the AWR1843 (R3 ball). 

I've checked the power up values of the PMIC and it's seems that the PGOOD will be open drain, active high (OD) when all rails are valid. This seems to fit a direct connection to the AWR1843. 

Can you please double check this? Can the PGOOD signal be connected directly to the reset input of the AWR1843, assuming I pull up with a 10k resistor to 3.3V rail?

Are there additional concerns of this connection during normal operation (after power up, assuming we stay with the default configurations of the PMIC) ? 

BTW, on the AWR1642BOOST I see that there was no monitoring done at all (ignoring the button and XDS), and the reset input was connected using a PU and a 0.1uF cap. 

Please advise, 

Thank you

Guy

BQ34110: Storing Remaining Capacity Value Before Reset

$
0
0

Part Number: BQ34110

Hello,

The BQ34110 TRM mentions a way to store a remaining capacity value by setting the RESTORE_REMCAP flag in the CEDV Configuration Register in DF: "Upon reset or power-up, the device restores the previous value of RemainingCapacity(), which was stored before going into shutdown". I have tried to make this work but have not had success. I tried changing the DF "Stored Remaining Capacity" value to a different number than the current remaining capacity, then cycling power/resetting, but the remaining capacity number does not change to the stored remaining capacity value. I have also tried using the STORE_REMCAP_A and STORE_REMCAP_B subcommands by using advanced command in BQStudio and writing C1 22 to address 00 or A0 28 to address 00, then reading the DF, but the stored remaining capacity value does not update to the current remaining capacity. Is there a step that I am missing? The TRM has very little information about this.

Thanks,

Colin Yee

BQ28Z610: Protection FET drive voltage

$
0
0

Part Number: BQ28Z610

I am working on a 1s design and have it configures in the BMS, the FETS are enabled and shown active but I do not have the expected 8-9v gate drive voltage on CHG and DSG pins. I am seeing between 1-2v on these and am not getting FETs to turn on. Do you see anything wrong with this schematic implementation? 

Thanks

BOOSTXL-DRV8323RH: Current Sense Outputs are just Noise

$
0
0

Part Number: BOOSTXL-DRV8323RH

I am running a PMSM motor from the BoostXL-DRV8323RH and an F28069M Launchpad. The launchpad is running my own control algorithm that has been validated through HIL simulations. I am using the 6xPWM mode, and have tried current sense gains of 10 and 40. My issue is that I can't get any sensible current readings from the current sense outputs.

The launchpad was programmed using the PLECS coder, and so I can scope the controller signals in real time from PLECS. The DC bus voltage measurement functions perfectly, and the current sense values also appear to be read in just fine. The problem is they are just noise. If I increase the current sense gain from 10 to 40, the noise becomes greater, and you can see the current sense readings jump to about zero when the boostXL board is sent the enable signal. To verify that the launchpad / controller code is not the issue, I have used an oscilloscope to scope the current sense values at the boostxl headers and the values / noise is identical to what is seen within PLECS / the controller. My method of testing the current sense has been to run the PMSM in open loop control, driving at a given frequency and voltage magnitude. A propeller is providing a realistic load torque for my application, such that the phase currents should be measurable. (At 2000rpm, I am drawing 6.7A from a 32V supply). 

Could anyone advise as to why I am not able to read any load current? One thing to note is that the PMSM has very low phase inductance, and the electrical frequency is 8 times the mechanical frequency. PWM is at 10 kHz. Everything seems to be working perfectly, other than getting actual current measurements.

Thanks

TMS320F28377S: Phase differences problem between ePWM1A and ePWM1B

$
0
0

Part Number: TMS320F28377S

Hi Evereybody,

i try to use ePWM1A and ePWM1B output. when i use them constatly ,there is not any problem.

BUT when i active or passive them there is a problem. i try to explain with picture.

my frequency is 16kHz for ePWM1A and ePWM1B. but i can not use them with together. just one of them can have output.

At t1 : while ePWM1A is cleared ,ePWM1B is set.

At t2: while ePWM1B is cleared ,ePWM1A is set.BUT as you see on picture 1 and 2 are not equal eachother. 2 is just half period, but 1 is one and hald peiod...

and this a problem on my application and i can not understand? why this is happening?

in program i am doing in same place set and clear...

my PWM init code:

    EPwm1Regs.TBPRD = Period;
    EPwm1Regs.CMPA.bit.CMPA= 100;
    EPwm1Regs.CMPB.bit.CMPB = Period-100;
    EPwm1Regs.TBPHS.bit.TBPHS = 0;
    EPwm1Regs.TBCTR = 0x0000;
    EPwm1Regs.TBCTL.bit.CTRMODE = TB_COUNT_UPDOWN;
    EPwm1Regs.TBCTL.bit.PHSEN = TB_DISABLE;
    EPwm1Regs.TBCTL.bit.PRDLD = TB_SHADOW;
    EPwm1Regs.TBCTL.bit.SYNCOSEL = TB_CTR_ZERO;//  Master EPWM1A
    EPwm1Regs.TBCTL.bit.HSPCLKDIV = TB_DIV1;
    EPwm1Regs.TBCTL.bit.CLKDIV = TB_DIV1;
    EPwm1Regs.CMPCTL.bit.SHDWAMODE = CC_IMMEDIATE;
    EPwm1Regs.CMPCTL.bit.SHDWBMODE = CC_SHADOW;
    EPwm1Regs.CMPCTL.bit.LOADAMODE = CC_CTR_ZERO_PRD;
    EPwm1Regs.CMPCTL.bit.LOADBMODE = CC_CTR_ZERO_PRD;

    EPwm1Regs.AQCTLA.bit.CAU = AQ_SET;
    EPwm1Regs.AQCTLA.bit.CAD = AQ_CLEAR;

    EPwm1Regs.AQCTLB.bit.CBU = AQ_CLEAR;
    EPwm1Regs.AQCTLB.bit.CBD = AQ_SET;

Viewing all 262198 articles
Browse latest View live


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