Quantcast
Channel: Forums - Recent Threads

TMS320F28069: 28069 EPWM phase shift question

0
0

Part Number: TMS320F28069

Hi,

We have some DC-DC code that is using TI support package in Simulink. We have 4 EPWMs configured. EPWM1 is acting as the master and the other 3 EPWMS are phase shifted from EPWM using WA and WB inputs to the simulink EPWM block.

The hardware guys have swapped EPWM1 and EPWM2. We have tried just swapping the blocks in the code but this doesn't work as EPWM1 (master has changed).

Question; Is there any way to change the master to EPWM2?

thanks


CCS/CC2640: GATT_WriteNoRsp

0
0

Part Number: CC2640

Tool/software: Code Composer Studio

BLE 4.1 related question:currently using GATT_WriteNoRsp() to send commands to the server. How would I be able to send command packages greater that 23 bytes? If it is not possible in BLE4.1, is there a function in BLE4.2 that will accommodate this issue?

Thanks

MSP430FR2512: Power Consumption of Wake on Touch mode with 4 Buttons @1.8V

0
0

Part Number: MSP430FR2512

Hi Team,

We want to operate Captouch until 1.8V and it will be in Wake on Touch mode to reduce power consumption. The datasheet mentions power consumption is around 22uA for 8 buttons (Table 5.7). We will be using for 4 buttons so should be around 13uA. The datasheet says consumption only at 3V. Are you able to provide an estimated power consumption with 4 buttons and RTC at 1.8V?

Thanks!!

Regards,


Garret

WEBENCH® Tools: Uart Current.

0
0

Tool/software: WEBENCH® Design Tools

Dear Sir,

I have a controller(X) which gives uart signal of 3.3v and 8ma current. But when I connect my microcontroller UART to the controller (X) it doesn't respond to it.

Is it possible we can have the same range of current of both to respond to it properly?

Can you suggest some voltage to a current amplifier for the same. Also, we don't want that much high current for the device just normal(20-30ma) will also work. 

Waiting for your prompt response.

BQ25606EVM-772: I need the Altium Files for he bq25606EVM-772

0
0

Part Number: BQ25606EVM-772

Hello,

I would like to download the Altium PCB files for the bq25606EVM-772. When I clicked on the link I was sent to the E2E forum.

Thanks,

Chuck

Help to define the best refference design for IOT Gateway devellopment

0
0

I'm develloping a IIOT Gateway wich is controlled by a Raspberry Pi wich has 32 24v Digital input channels and 8 0.5A outputs. The signals interfece is now made with a multiplexer and the Raspberry Pi recives through SPI. I have a functional board, but it will not be the definitive because it doesnt has any type of protection and isolation. I am now working on the definitive design and the TI material has been very helpful.

I have studied a lot and selected 3 references for my new design:


Sub 1-W, 16-Channel, Isolated Digital Input Module Reference Design
www.ti.com/.../TIDA-01508

Input Protection and Backup Supply Reference Design for 25-W PLC Controller Unit
www.ti.com/.../TIDA-03031

Low Side 0.5A 8ch Digital Output Module for PLC
www.ti.com/.../TIDA-00236

Now i'ld like to know if those are the best references for my design, or there are newer technologies that may be better to use

Thanks

LMH6518: SPI operation mode

0
0

Part Number: LMH6518

Hi,

I have been working with the LMH6518 trying to design a AFE and currently i am facing difficulty while trying to make spi of the LMH6518 work.

I am using an xmega32d4 @ 3.3V.

I have worked with spi in the past but this case isn't that straightforward.

The xmega has MOSI & MISO while the DVGA has SDIO. I have arranged that through a 1K resistor as follows: (already asked here about that)

PC5 is the MOSI pin and PC6 is the MISO (receiving data from LMH6518)

The DS says that mode-1 should be used and gives a few drawings that explain that.

The xmega32 has mode-0 up to mode-3 which do not seem to work.

I tried off course mode-1 but the sample-data vs clk edge did not suit.

So i am thinking that mode-1 of the DS is not mode-1 of the xmega DS.

I moved on taking 2 screenshots with my scope while using modes 0 & 1 in order to detect pulses on the SDIO pin.

I was never able to detect pulses in any of the 4 spi modes of the xmega32.

Here are the screen shots:

I should be getting something on the SDIO but i do not.

I have checked soldering joints and power +3.3V on the LMH6518 and they are ok.

Its' quiescent current is also as suggested by the DS.

Regarding the code i am using i do the following:

1) Set CS low

2) Send 0b10000000 to set LMH6518 spi into read mode

3) Send a dummy byte 0 to get a byte corresponding to the previous 0b10000000 command

4) Send a dummy byte 0 to get another byte corresponding to the high byte of 16bits

5) Send a dummy byte 0 to get another byte corresponding to the low byte of 16bits

6) Set CS high

Is that correct?

What about programming the bits of the 16bits of the LMH6518?

Should i do the following:

1) Set CS low

2) Send a byte 0 to set LMH6518 spi into write mode

3) Send a byte to program the high byte of the 16bits

4) Send a byte to program the low byte of the 16bits

5) Set CS high

Can you pls help?

Regards

Manos Tsachalidis

LM5026: thermal issue

0
0

Part Number: LM5026

Hi team,

Could you please advise how to improve the thermal performance for the LM5026 design? Such as optimizing the setting, adding snubber or any other options.

The case temperature of main FET is up to 117C at room temperature and full load condition. Thanks for your support!

Please find the attached schematic and waveforms.

Spec: 12V to 54V/2.3A

Schematic:
1. changed MP1/MP2/MP3 to FDMS86200 to cover 110V Vds spike.
2. changed MP4 to Si7461DP for lower conduction loss.

(Please visit the site to view this file)

MOSFET waveforms:

Best regards,

Sam Ting


PMP30631: PMP30631, R5 Appears Undersized for Pdiss

0
0

Part Number: PMP30631

In PMP30631 R5 feeds current from a 27V regulated supply to an 18V regulated supply. Pdiss = (27-18)^2/100 = 0.81W. The part in the BOM is specified as 0.25W. I would expect this resistor to run exceedingly hot but the thermal images don't show this. Is there something I'm missing or possibly an error in the schematic or BOM?

Thanks,

Ray

BQ77905: What is the sink/source current for discharge gate driver (datasheet not consistent)?

0
0

Part Number: BQ77905

I have a question regarding the BQ7790508 that we're using in our BMS. The question is regarding the gate drivers. The specs in the datasheet do not seem to be consistent. Maybe you can help to clarify.

 

(1) Under Absolute Maximum Ratings, the Discharge Gate (DSG) is rated at 1mA maximum input (current sink).

 

(2) Under Electrical Characteristics, Charge and DIscharge FET Drivers, the discharge FET turn off time, Tdsg(off) is specified for 5us with a 10nf load.

 

If I assume for purposes of calculation simplicity that the gate driver is a current source, then the driver sink current calculated from the discharge FET turn off time spec is:

 

I = C dV/dT = (10nf) (9.6V) / 5us = 19mA         

 

C = 10nf = load specified in the datasheet for discharge off time

dV = 9.6V = 12V gate drive, measured 10% to 90% as specified in the datasheet.

Tdsg(off) = 5us = FET turn off time from the data sheet

 

This is much higher than the 1mA maximum rating.

 

What is the actual sink/source current for the discharge gate driver (DSG)? 

LM49250: Left and Right channel connections

0
0

Part Number: LM49250

In the LM49250 datasheet I see the following connections show in single ended configuration for the left and right line inputs.

As shown above the one stereo channel is connected to L1/L2 and another stereo channel is connected to R1/R2

Shouldn't the channels be connected like

Stereo Channel 1 to be connected to L1 / R1.

Stereo Channel 2 to be connected to L2 / R2.

The second question is:

If I'm not using the loudspeaker do I need to connect the Vdd (LS) supply.?

TIA

PCN20191218000 - Discontinuance of select MicroStar BGA & MicroStar BGA Jr package devices

0
0

(Please visit the site to view this file)

TUSB213: Infotainment host unable to identify some USB ,But remove the IC (TUSB213) then connect the signal wire directly ,It can identify this USB

0
0

Part Number: TUSB213

Infotainment host  unable to identify some USB ,But remove the IC (TUSB213) then connect the PCB signal wire PAD directly ,It can identify this USB.

signal speed:full speed.

Customer  used a 24K ohm resistor as the REQ resistor (Pin 1 to GND),If it is reasonable?

Compiler/TMS320F28335: Sawtooth waveform generation for PWM operation using embedded coder

0
0

Part Number: TMS320F28335

Tool/software: TI C/C++ Compiler

Hi all,

I am using F28335 control card. I am trying to build Matlab model for PWM(20 kHz) generation. I need a constant value and sawtooth wave(20 kHz) to generate PWM pulses. Remember I don't want to use epwm modules. I tried several ways to generate sawtooth waveform and compare with a constant value to generate pulses. None of them gave the desired frequency (20 Khz) when I saw on oscilloscope. Could you please suggest some ways to generate sawtooth waveform based PWM in embedded coder environment?

Thank you.

Compiler/TMS320F28335: Failed to connect to f28335 control card using embedded coder

0
0

Part Number: TMS320F28335

Tool/software: TI C/C++ Compiler

Hi everyone,

I am using F28335 control card with docking station using MATLAB embedded coder. I created a Matlab model in .slx file and kept in 'external mode' and pressed 'run'. It resulted in following error.

'Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out: a) The target is not switched on. b) The target is not connected to your host machine. c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target'

The model bult the code but unable to connect to the board. In my case, target is switched on, target is connected to the host computer, I did not click stop button.

Is there any way to resolve this issue?

Thank you.


TIDA-00701: Layout of input/primary traces on reference power supply design

0
0

Part Number: TIDA-00701

I have a question about the shape of the PCB traces in TI's reference design for the TIDA-00701 power supply. On the input/primary side, the traces are very chunky copper fills instead of linear traces directly between the pads. Is there an engineering reason for the shape of the traces? I recognize that necking down around certain pads is likely for thermal relief during soldering, but I'm trying to understand the reason for the oversized geometry elsewhere--the current capacity will be limited by the smallest cross section. Will there be any performance issues using straight linear traces? I've attached an annotated copy of one of the Gerber files showing the traces I'm referring to. Thank you for the help.

MUX36D04: More robust ESD protection

0
0

Part Number: MUX36D04

Hello, 

I need help with a recommendation for addition ESD for a MUX36D04 design. 

The mux doesn’t appear to be particularly robust by itself, which is fine, but it will be subjected to up to 30 kV air/contact discharges, the latter going through a 1 Mohm 0805 resistor. Is there any TVS solution you can recommend to protect the MUX input, preferably something in a small package? 10 kV contact, 20 kV air is our minimum requirement, but 30 kV contact/air is preferred. The max operating voltage on the MUX input will be about 7V, and the signal is a DC voltage, so bandwidth (parasitic capacitance) doesn’t matter.

Thanks!

TPS65987D: "slow charging" issue with device acting as power source to phone

0
0

Part Number: TPS65987D

I'm using TPS65987D with 2 modes: UFP & DRP at 2 different scenarios. As the board does not have its own power source, the device is configured as UFP (dead battery mode) when it's first connected to a phone. It relies on the phone power to power on the board. When another external power source is applied, we want the TPS65987D to do a PD PR_Swap to source in order to act as a power source to the phone (i.e. charging the phone). The problem is, as soon as the swap occurs, there is little current going to the phone which causes it to output a message "device is slowly charging ..".

Before the swap, the TPS65987D was set up with appropriate values to registers: Tx Source Capabilties (addr 0x32), Port Config (addr 0x28) as DRP, Port Control (addr 0x29) as initiateSwapToSource.

The current draw from the phone is very low (~150 mA) via a USB-C connector.

Can you point out what I might have been missing?

DRV2605: Multiple DRV2605 devices I2C address change

0
0

Part Number: DRV2605

I want to connect several DRV2605 devices to one Arduino Uno, BUT all the DRV2605 have the same I2C address.Can I change their address? If i can NOT, how can I control them individually?

BOOSTXL-CC2650MA: Read/Write flash using 401 Launchpad?

0
0

Part Number: BOOSTXL-CC2650MA

Can someone tell me step by step how to read/write the flash on the CC2650MODA using a MSP-EXP432F401R Launchpad?

I thought I was doing the right thing by removing the jumpers, soldering on a 100K Resistor to NRST (on the top side of the board), and using the JTAG cable included.

But when I go to Uniflash and pick CC2650F128 via XDS110 USB Debug probe,

0. Click read memory...
1. It wants to update the flash
2. Update or no, it complains that it cannot connect to the ICEpick.

WEBENCH® Tools: I can't get Webench to run under Chrome in Windows 10. I am following the link for the TPS61088 from the Digi-Key web site. I get the main screen with the values filled in. I have allowed Flash and made sure that everything is prefixe

0
0

Tool/software: WEBENCH® Design Tools

Webench not working in Chrome, Windows 10.

MSP430F5172: ADC input behavior at lower voltages

0
0

Part Number: MSP430F5172

I'm using an MSP430F5172 uC  and reading a battery voltage at 500ms intervals.  Here's the circuit below for sampling the battery voltage:

When EN_VBATT_READ goes high, the voltage divider is active.  The divider divides down at a ratio of 1:0.7848  so that a max input voltage from VBATT = 3.2V results in an output voltage of ~2.5V at VBATT_DIV.     The MSP430 is set up with a VREF=2.5V so 3.2V input gives full scale 10-bit output of 0x3FFF.   When EN_VBATT_READ goes low, the divider is off, no current is consumed.

Cap C32 is there to act as a LPF but also to help hold up the voltage during the ADC sampling time.   The relatively low values of the resistors in the divider allow me to achieve a low input impedance to the ADC.

At VBATT input voltages between 3.2V ~ 2.1V, the ADC readings are spot on, within 1 or 2 counts.   Nice.    The scope shot below shows the resistive divider turning on ( YELLOW trace is VBATT_DIV ).  There is a delay for  settling on C32 to charge up;   then the green trace goes high ( start of ADC conversion ), then the green trace goes low ( end of ADC  conversion )

As VBATT input goes lower, the VBATT_DIV waveforms gets weird.  By weird I mean it doesn't reach the steady-state value I expect, and when the conversion is complete, there is a little hump.  VBATT input for the scope shot below is 2.0V:

And at 1.9V, the VBATT_DIV waveform is not stable at all and has a big dip:

The end result is the low end of VBATT input voltage reads are far off from what is expected.   My guess is that the ADC is loading the analog input pin more than I expected.   Datasheet states ADC input impedance is anywhere from 36k to 96k & 3.5pF, which is much higher than the ~887 ohm impedance of the divider.    So I don't see how this could be the case.

Also, I don't understand why this effect wouldn't be seen for higher input voltages too.   I've tried all combinations of sampling time and conversion clock...in the end it doesn't really matter.   Lower input voltages also give this bumpy waveform in the  VBATT_DIV analog input pin.

Supply voltage to the uC is stable and normal at 3.3V throughout all of these waveforms.  Probing on AVCC and DVCC shows a stable and noise-free 3.3V. 

MCLK is externally generated 16MHz and unconditionally stable also.

Relevant code that sets up the analog input pin P3.7 and does the ADC reads:

    // P3.7 -> VBATT_DIV / A6 ADC channel
    P3DIR &= ~(BIT7);
    P3SEL |=   BIT7;
    P3REN &= ~(BIT7);
    // Unlock port mapping controller
    PMAPKEYID = PMAPKEY;
    // Prohibit any further remapping to occur
    PMAPCTL &= ~(PMAPRECFG);
    // Set P3.7 as A6 ANALOG input pin
    P3MAP7 = 31;
    // Re-lock port mapping controller
    PMAPKEYID = 0x00;

    ADC10CTL0 = 0x00;                         // Reset reg contents
    ADC10CTL0 |= ADC10SHT_4 + ADC10ON;        //  S&H=64 ADC clks, ADC10ON

    ADC10CTL1 = 0x00;                         // Reset reg contents

    // ADCCLK = MCLK; SAMPCON sourced from sampling timer; input clock / 8
    ADC10CTL1 |= ADC10SSEL_2 + ADC10SHP + ADC10DIV_7;

    ADC10CTL2 = 0x00;                    // Reset reg contents
    ADC10CTL2 |= ADC10RES;               // 10-bit conversion results

    ADC10MCTL0 = 0x00;
    ADC10MCTL0 |= ADC10SREF_1;           // Select V(R+)=VREG and V(R-)=AVSS
    ADC10MCTL0 |= ADC10INCH_6;           // A6 ( P3.7 ) ADC input select

    ADC10IE |= ADC10IE0;                 // Enable ADC conv complete interrupt

inline void takeAdcRead_ch6(void)
{
    // Enable the VBATT divider
// The line below pulls EN_VBATT_READ high P3OUT |= BIT4; // Wait at least 75us for C32 // filter cap to charge to sample value __delay_cycles(2400); // Sampling and conversion start // ADC ISR triggers when result is ready P1OUT |= BIT5; // This is the green trace pulled high ADC10CTL0 |= ADC10SC + ADC10ENC; }

// ADC10 interrupt service routine
#pragma vector = ADC10_VECTOR
__interrupt void ADC10_ISR(void)
{

    switch(__even_in_range(ADC10IV,12))
    {
        case  0: break;                          // No interrupt
        case  2: break;                          // conversion result overflow
        case  4: break;                          // conversion time overflow
        case  6: break;                          // ADC10HI
        case  8: break;                          // ADC10LO
        case 10: break;                          // ADC10IN
        case 12:                                 // Conversion done, ADC10IFG0 has been set,
                                                 // ADC10MEM0 is ready

            P1OUT &= ~BIT5;       // This is the green trace being pulled low


            // Store new result
            adc_ch6_result = ADC10MEM0;

            // Turn off resistive divider, we are done with current ADC sample frame
// This line pulls EN_VBATT_READ low P3OUT &= ~(BIT4); // Tell main() we have a new adc sample to process sysFlags.adcSampleReady = 1; break; default: break; } }


Any ideas what might be the matter?  Why does the ADC pin seem to be loading the input pin when the ADC is on and the voltage is lower than 2.1V? 


DAC3154EVM: Getting simple output from board.

0
0

Part Number: DAC3154EVM

Hi, I am trying to use the DAC3154 Dual-Channel, 10-Bit, 500-MSPS Digital-to-Analog Converter Evaluation Module. I connected the a 10 MHz clock to CDCE input.Using the DAC3174_v1p2.vi software I configured

"Output1_DAC CLK" as enabled. Source= primary. Signal type=LVPECL.

"Output2_FIFO_OSTR" enabled. Source=primary and signal type=LVDS.

I get no output from the DAC board from these settings, only noise. How to get a simple output from this board?

CCS/AWR1443BOOST: Trouble loading the Out-of-box demo lab using CCS 9.2

0
0

Part Number: AWR1443BOOST

Tool/software: Code Composer Studio

Hello,

I am trying to load the out-of-box demo for IWR443 Boost Dev Kit that I am setting up this week.  I downloaded CSS 9.2.0.00013.  In the setup guide it says that once I select the folder, another panel appears on the right side for me to download the project on my PC.  The right panel does not appear for me.  Do I need to downgrade to CSS 8.1 to make this work?

I have attached a PDF showing the 2 slides from the Setup Guide and also how my screen appears with CSS 9.2

Thanks for your help,

(Please visit the site to view this file)

Jerry

(Please visit the site to view this file)

TAS5806MEVM: Trying to get audio out of the EVM

0
0

Part Number: TAS5806MEVM

I have:

TAS5806MEVM connected to a PurePath Console MB. 

This is powered from +12V and a speaker is attached to OUT1A

PPCMB is connected to a Win10 PC via USB

PurePath Console 3 suite has been installed on the Win10PC

I see a USBAudioEVM sound device in Win10.

I don't hear any Audio when playing back through the USBAudioEVM

Do I need to enable something with the PP Console?





Latest Images