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

TPS92641: Constant Current/ Constant Voltage regulation

$
0
0

Part Number:TPS92641

We are using the TPS92641 to power current-driven LED-strips: the MCU communicates with the LED-strip about the total number of LEDs (maximum voltage over the LED-strip) and nominal LED-current and sets the Iadj-pin of the TPS92641 with the correct voltage to generate the desired current.

Question: we also want to use this platform to power voltage-driven LED-strips (at this moment limited to nominal 24Vdc). Is there a simple way to switch between constant current and constant voltage, depending on the LED-strip (with the MCU still able to adjust the current or the voltage)?


ISOW7840: Can i use 5V DC input to ISOW7840 IC and pin 4 and pin 5 of this IC connected as input to a Microcontroller pin which is operating at 3.0 V DC.

$
0
0

Part Number:ISOW7840

Hi,

I am evaluating TI ISOW7840 for my application .

The Query is I have two inputs available for ISOW7840 which is 5V and 3V which are currently Isolated. If I short the grounds then I can give 5V or 3V as input to ISOW7840 and output is always 3.3V DC in ISO7840 IC. The efficiency is around 43% . If I use 5V input the input current will be less for same output power.

But I want to connect pin 4 and 5 which are digital input connected to Microcontroller pin which is operating at 3.0 V DC.  So in this case can i use 5

The Query is Input side is 5V and 3V which are currently Isolated. If I short the grounds then I can give 5V or 3V as input and output is always 3.3V DC in ISO7840 IC. The efficiency is around 43% . If I use 5V input the input current will be less for same output power.

But I want to connect pin 4 and 5 which are digital input to a Microcontroller which as Vcc of 3.0 V DC. Can i use 5V DC input to ISOW7840 IC and pin 4 and pin 5 of this ICconnected as input to a Microcontroller pin which is operating at 3.0 VDC . The output of this IC is be 3.3V DC only for both 5V or 3V DC inputs. 

 

Regards

Harish

ISOW7840: Can i use 5V DC input to ISOW7840 IC and pin 4 and pin 5 of this IC connected as input to a Microcontroller pin which is operating at 3.0 VDC .

$
0
0

Part Number:ISOW7840

Hi,

I am evaluating TI ISOW7840 for my application .

The Query is Input side is 5V and 3V which are currently Isolated. If I short the grounds then I can give 5V or 3V as input and output is always 3.3V DC in ISO7840 IC. The efficiency is around 43% . If I use 5V input the input current will be less for same output power.

But I want to connect pin 4 and 5 which are digital input to a Microcontroller which as Vcc of 3.0 V DC. Can i use 5V DC input to ISOW7840 IC and pin 4 and pin 5 of this ICconnected as input to a Microcontroller pin which is operating at 3.0 VDC . The output of this IC is be 3.3V DC only for both 5V or 3V DC inputs.

Regards

Harish

TINA/Spice/TLC555: Questionable use of Curly Braces error from LTSpice

$
0
0

Part Number:TLC555

Tool/software:TINA-TI or Spice Models

I receive the above error when I try to incorporate the TI TLC555 spice model into LTSpice for a simple timing Ckt.  I note that the parameter "vt" is not defined anywhere in the spice model; could this be the problem?

Mickey

RTOS/MSP432E401Y: Attempting to set IP address based on jumper position

$
0
0

Part Number:MSP432E401Y

Tool/software: TI-RTOS

I'm using the MSP_EXP432E401Y development board and I wanted to initialize a static IP based TCP stack.   I've been successful in this and have been running tests for several weeks.   

Now I want to allow for the static IP that's assigned to be determined by a jumper position on the development board so that we can interchange the part on different network topologies that may post IP conflicts on one IP or another.   To do this, I initialized pin PD2 on the development board, configured it with a pull up resistor and applied a jumper cable that can be either disconnected (pin reads high) or connected to ground (pin reads low).   Now I want to read the pin during the IP initialization routine and choose an IP address variable based on the state of the jumper.

The problem I run into is that the program freezes anytime it gets to the part of the IP initialization routine where it must read the GPIO pin using GPIO_read(*pin*).   

I've seen that I can easily read the pin within the a pthread routine I have running where it will constantly print out the jumper status (pin state high or low) and do so accurately, so I know that there isn't a problem with the configuration of the pin, it must be something in how the system processes the GPIO_read command during the ndk startup scripts.   

Interestingly enough, while debugging, I've seen that a UART display call (Display_printf) will also hang in these same spots as well.   The system will print a partial string to the debug console and then freeze, so the problem may not be specific to the GPIO calls.  

Doing a debug trace I see that in either case the program will enter a Hwi while loop under the Hwi_execHandler() function where it appears that Hwi_execHandlerFunc == NULL always returns true.   

The help doc tells me that this is determined somehow by the value of Hwi.enableException.  So I'm guessing that, first, there is some sort of exception being thrown and second, I'm not sure how to handle this.  

Any advice would be appreciated.  

I'm basically using a modified version of the tcpEcho tirtos example with the initIP function in the ndk_tirtos replaced with the following code.

/*
 *  ======== initStaticIp ========
 *  Configure the stack's IP settings
 */
static void initStaticIp(void *hCfg)
{
    const char *localIPAddr1 = "192.168.0.31";
    const char *localIPAddr2 = "192.168.0.32";
    const char *localIPMask  = "255.255.255.0";
    const char *gatewayIP    = "192.168.0.1";
    const char *domainName   = "demo.net";
    CI_IPNET netAddr;
    CI_ROUTE route;

    /* Add global hostname to hCfg (to be claimed in all connected domains) */
    CfgAddEntry(hCfg, CFGTAG_SYSINFO, CFGITEM_DHCP_HOSTNAME, 0,
                strlen(hostName), (unsigned char *)hostName, NULL);

    /* Configure static IP address on interface 1 */
    memset(&netAddr, 0, sizeof(netAddr));
    if(GPIO_read(IPSwitch) != 0) {netAddr.IPAddr = inet_addr(localIPAddr1);}
    else{netAddr.IPAddr = inet_addr(localIPAddr2);}
    netAddr.IPAddr = inet_addr(localIPAddr1);
    netAddr.IPMask = inet_addr(localIPMask);
    strcpy(netAddr.Domain, domainName);
    netAddr.NetType = CFG_NETTYPE_VIRTUAL;
    CfgAddEntry(hCfg, CFGTAG_IPNET, 1, 0,
                sizeof(netAddr), (unsigned char *)&netAddr, NULL);

    /* Add default gateway.  Since it's the default gateway, the destination
     * address and mask are both zero. */
    memset(&route, 0, sizeof(route));
    route.IPDestAddr = 0;
    route.IPDestMask = 0;
    route.IPGateAddr = inet_addr(gatewayIP);
    CfgAddEntry(hCfg, CFGTAG_ROUTE, 0, 0,
                sizeof(route), (unsigned char *)&route, NULL);
}

and the modified GPIO_PinConfig in the MSP_EXPE401Y.c file is as follows, with the IP Jumper being the relevant GPIO pin:

GPIO_PinConfig gpioPinConfigs[] = {
    /* Push Buttons */
    /* MSP_EXP432E401Y_USR_SW1 */
    GPIOMSP432E4_PJ0 | GPIO_CFG_IN_PU | GPIO_CFG_IN_INT_RISING,
    /* MSP_EXP432E401Y_USR_SW2 */
    GPIOMSP432E4_PJ1 | GPIO_CFG_IN_PU | GPIO_CFG_IN_INT_RISING,

    /* MSP_EXP432E401Y_SPI_MASTER_READY */
    GPIOMSP432E4_PM3 | GPIO_DO_NOT_CONFIG,
    /* MSP_EXP432E401Y_SPI_SLAVE_READY */
    GPIOMSP432E4_PL0 | GPIO_DO_NOT_CONFIG,

    /* Onboard LED Output */
    /* MSP_EXP432E401Y_USR_D1 */
    GPIOMSP432E4_PN1 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_LOW,
    /* MSP_EXP432E401Y_USR_D2 */
    GPIOMSP432E4_PN0 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_LOW,
    /* MSP_EXP432E401Y_USR_D3 */
    GPIOMSP432E4_PF4 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_LOW,
    /* MSP_EXP432E401Y_USR_D4 */
    GPIOMSP432E4_PF0 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_LOW,
    
    /* HV Digital I/O */
    /* Anode Enable (1 = LOW)       */
    GPIOMSP432E4_PL2 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_HIGH,
    /* Cathode Enable (1 = LOW)     */
    GPIOMSP432E4_PN3 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_HIGH,
    /* Anticathode Enable (1 = LOW) */
    GPIOMSP432E4_PL3 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_HIGH,
    /* HV Enable (0 = LOW)          */
    GPIOMSP432E4_PP2 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_LOW,

    /* IP Jumper */
    GPIOMSP432E4_PD2 | GPIO_CFG_IN_PU | GPIO_CFG_IN_INT_NONE,
    
    /* MSP_EXP432E401Y_SDSPI_CS */
    GPIOMSP432E4_PC7 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_HIGH,

    /* Sharp Display - GPIO configurations will be done in the Display files */
    GPIOMSP432E4_PE5 | GPIO_DO_NOT_CONFIG, /* SPI chip select */
    GPIOMSP432E4_PC6 | GPIO_DO_NOT_CONFIG, /* LCD power control */
    GPIOMSP432E4_PE4 | GPIO_DO_NOT_CONFIG, /*LCD enable */
};

The enum in the MSP_EXP432E401Y.h file is as follows:

typedef enum MSP_EXP432E401Y_GPIOName {
    /* Push Buttons */
    MSP_EXP432E401Y_GPIO_USR_SW1 = 0,
    MSP_EXP432E401Y_GPIO_USR_SW2,
    /* SPI - not configured */
    MSP_EXP432E401Y_SPI_MASTER_READY,
    MSP_EXP432E401Y_SPI_SLAVE_READY,
    /* oOnboard LED Outputs */
    MSP_EXP432E401Y_GPIO_LED_D1,
    MSP_EXP432E401Y_GPIO_LED_D2,
    MSP_EXP432E401Y_GPIO_LED_D3,
    MSP_EXP432E401Y_GPIO_LED_D4,
    /* HV Digital I/O */
    MSP_EXP432E401Y_GPIO_L2,
    MSP_EXP432E401Y_GPIO_N3,
    MSP_EXP432E401Y_GPIO_L3,
    MSP_EXP432E401Y_GPIO_P2,
    /* IP Jumper */
    MSP_EXP432E401Y_GPIO_D2,    
    /* MSP_EXP432E401Y_SDSPI_CS */
    MSP_EXP432E401Y_SDSPI_CS,
    /* Sharp 96x96 LCD Pins - not configured*/
    MSP_EXP432E401Y_LCD_CS,
    MSP_EXP432E401Y_LCD_POWER,
    MSP_EXP432E401Y_LCD_ENABLE,

    MSP_EXP432E401Y_GPIOCOUNT
} MSP_EXP432E401Y_GPIOName;

And lastly, the board.h file has the following #define:

#define IPSwitch					MSP_EXP432E401Y_GPIO_D2

TIDA-00367: TIDA-00367 contradictions & variations

$
0
0

Part Number:TIDA-00367

Hi,

Looking at TIDA-00367, there appears to be quite some confusion prevailing around. The pdf schematic shows:

That said, the Altium schematic shows:

Even more stranger, the BOM

states the following, which does not mention of D16:

If that was not enough, the PCB layout shows D16 contrary to the BOM:

The first contradiction is about the TVS diode D16.

The second contradiction is about the snubber resistor values.

The documents are all contradicting each other. Can someone please clarify and please fix the documents ?

Thanks,

Manu

LMR23630: Audiable noise heard on inductor when using LMR23630 as inverting buck!

$
0
0

Part Number:LMR23630

HI 

We are using LMR23630  as an inverting buck to generate a negative voltage schematics as below. When L6 use 100uH audiable noise heard from inductor L6. If change the L6 to 33uH the auiable noise disappear. 

We would like to keep using 100uH for L6, how do i modify the external component to avoid the audiable noise? thanks!

Linux/LAUNCHXL-CC2650: how to share our cc26xx-web-demo sensor data to our personal website using coap

$
0
0

Part Number:LAUNCHXL-CC2650

Tool/software: Linux

hello,

I am following the link  i have successful receive sensor data on coap server like battery voltage and temp.

i want to ask how to extract that data and push on my website.

i am using cc26xx-we-demo on client and slip-radio on BR using 6lbr to send data on web but i am confused hot to send the data of web demo on my website   


MSP430F5438: MSP430F5438 and MSP430F55xx : Jtag , security and sw updates

$
0
0

Part Number:MSP430F5438

Hello everybdoy , 

please  I am using  differnet devices out of the F5xxx  family .

I use MSP430 FET  for development and do sw updates also in the field .

I woudl like my sw to be secure  ,  so to use FET to download   , lock it   but be able to mass erase later ( via FET ) and use again FET to flash newer sw : is it OK?

can I lock the device  , than do a mass erase  using FET  ?   

I do not have any  other porgramming channel ( like booutloader ) 

thank you 

regards

Carlo

TMS320C5517: Looking for flash recommendations for C5517

$
0
0

Part Number:TMS320C5517

I have a customer that has previously used the C5515 in their designs.  Due to a EOL issue associated with Micron MT29C1G12MAACAEAMD-6IT, they are considering migrating to the C5517.

For the C5517, is NAND or NOR flash preferred?  Advantages?  Disadvantages?

In addition, are there any recommendations for single-chip RAM/Flash that pair well with the CC5517?

Thanks.

LM46002: LM46002 driving into load with high-capacitance triggers hiccup mode and fails.

$
0
0

Part Number:LM46002

We are using a LM46002 regulator to provide an output voltage that can be selected between +12V or +24V from a +48VDC input voltage.  The selection is done under microcontroller control using a transistor to switch in a parallel resistance alongside the lower resistor in the feedback divider to change the output.  We have optimized the inductor and frequency to best accommodate the two possible output voltages.

We are having trouble starting up into a load with a high capacitance.  Anything over about 400uf will cause the part to enter hiccup mode, and never stabilize at the desired output voltage.  The problem seems worse at the +24V output level.

My question is, is there a way to make the hiccup mode less sensitive, and allow the part's traditional output current limit to take a little longer to charge higher-capacitance loads? 

Our application makes this voltage available to customer-provided systems, so we have no control over the actual load capacitance.  We would like to see this circuit able to startup into a load of at least 1000uf.

LM25145: LM25145RGYR

$
0
0

Part Number:LM25145

I need help to lay out for LM25145RGYR as described on pages 51 and 52 of the LM25145RGYR PDF data sheet. My boss claims the copper pour shorts every thing out!

I need some one familiar with Altium Designer 17 to layout this section for me. Of course you will get paid for it

Thank you

RTavassoli@dzynetech.com

CC2560: BLE 5.0 Module

$
0
0

Part Number:CC2560

Hi,

How long do think Bluetooth 4.2 will be available and what are the plans for 5.0 version module like the cc2560MODA ?

Thanks

CCS/MSP430FR2111: How to accurately assess code size?

$
0
0

Part Number:MSP430FR2111

Tool/software: Code Composer Studio

I have a customer working to optimize their code in CCS 8.

In looking at the .map and.lst files, it appears there are some discrepancies in terms of function size(s).

What is the best way to see a listing of functions and their respective sizes in CCS?

Thanks.

ADS8688: daisy-chain only works with up to 8 ics

$
0
0

Part Number:ADS8688

I have custom boards with 2 daisy-chained ADS8688 devices each, and I would like to daisy-chain 7 of these boards together. Which would be a daisy-chain of 14 ADS8688 devices in total. 

I am talking to the boards with a single SPI interface on an Arduino Due.

Everything works with 4 boards (8 ADS8688). But when I add another board (10 ADS8688) the analog data from the last 2 devices is wrong.
It looks like the analog value of the first pin on device 9 is copied to all the other pins of device 9 as well.
All the values of device 10 resemble each other as well, but I can't tell right now if they are tied to a specific input pin. 
(These values are very close to each other, but are not exactly the same.)

I am aware that more devices mean a higher load on the SPI lines. And that you recommend digital buffers. Which I haven't implemented yet. 
Before I attempt that, I wanted to ask if there are any other limits as to how many ADS8688 devices can be chained together?


Compiler/TMS320F28379D: Move to new codegen tools problems.

$
0
0

Part Number:TMS320F28379D

Tool/software: TI C/C++ Compiler

we`ve been using code gen tools v6 for long without any problems, but now we`re thinking to move to new v18 compiler, are there some guidelines to follow.
Which kind of problems can we expect to face off ?
Thanks in advance.

Linux/CCSTUDIO: Indexer is Not Working CCS 8.2 / Elementary OS 5.0 Juno (Ubuntu 18.04LTS based)

$
0
0

Part Number:CCSTUDIO

Tool/software: Linux

Hi Everyone,

I reformatted my machine to be free from the Windows10 and started to use Elementary OS Linux.

Unfortunately, my Code Composer Studio 8.2 started making me jokes. I solved a lot of problem that windows automatically deals, however a cant use "Open Declaration" (with or without F3 shortcut) and i have no AutoComplete (Control+SPACE). The F3 (Open Declaration) only works if the declaration is at the same page, otherwise, no action. The autocomplete always display "No Default Proposals"  / "No Template Proposals". 

The project compile and link on Linux. The autocomplete doesn't work even after a successful build. 

The same project compile and link on Mac and Windows Code Composers and the autocomplete works on other OSes.

Ive tried to turn off and then on C/C++ Indexer without success. Does anyone experienced similar behavior from CCS?

Elementary OS 5.0 Juno (64-bit)

Built on Ubuntu 18.04LTS

Linux 4.15.0.39-generic

GTK+3.22.30

Intel Core i7 8550U (8th gen)

NVIDIA GeForce MX-150

Full HD Display

16GB RAM

128SSD/1TB HD

Dell Inspiron 7000 laptop

Thanks in advance.

TMDXEVM3358: Booting only the Main Board

$
0
0

Part Number:TMDXEVM3358

Hello,

I have a need for booting only the base board of the TMDXEVM3358 eval module. I want to debug a GPMC connection to a different FPGA and this would require access to the base board without the daughter board and LCD board. I see in this previous thread (e2e.ti.com/.../157350 that someone had success with booting by using a jumper on R68. I notice that R472 should probably be connected as well (both jumpers shown on base board below). Both of these jumpers connect the 3.3V and 1.8V supply on the base board to the PMIC as opposed to the regulators on the daughter board. In theory this should be sufficient to boot only the baseboard but I'm wondering if there are any concerns with this. Are there any known concerns, issues, or other modifications that need to be made in order to boot only the base board?

Thank you,

Sean

CCS/TMS320F28335: Having problem running the template project RFFT_ADC_RT

$
0
0

Part Number:TMS320F28335

Tool/software: Code Composer Studio

Hello, 

I'm using Code Composer Studio(CCS) 8.2.0
And I find a example project called "F2833x Real FFT with ADC Input (Real-time)" from controlSUITE
Here are the example file(s) for this project:「C:\ti\controlSUITE\libs\dsp\FPU\v120\examples_ccsv4\2833x_RFFT_ADC_RT」

I gave the evaluation board a sine signal with the range of 0~2.8 V, and Frequency of 25KHz Though Pin A0.   When I ran the project,  I wanted to read the Frequency of my sine signal, but the result I got was like this, Am I doing anything wrong? How can I get the correct result?

Thanks!

LAUNCHXL-CC2640R2: simple_central add broadcast feature

$
0
0

Part Number:LAUNCHXL-CC2640R2

Hi,

is there a way to add broadcast to simple_central example?

I dont want to use multirole, only broadcast advertising data.

Viewing all 262198 articles
Browse latest View live


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