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

CCS/CC2642R: Flashing issue

$
0
0

Part Number: CC2642R

Tool/software: Code Composer Studio

Hi,

I'm using LAUNCHXL-CC26X2R1 launchpad to flash my custom board based on CC2642R.

The problem is when I try to debug from CCS I'm getting the below error saying to update the debug probe if I update it is working properly but when I again try to flash using Smart flash programmer 2 it is again saying to update the debug probe. I'm using CCS 9.1 and Smart flash programmer 2 ver 1.8.1. Below are the screenshots of ccs and smart flash programmer 2.

Regards,

Madhusudhan


BEAGLEBK: ADC read on PRU

$
0
0

Part Number: BEAGLEBK

Hi,

I am trying to read an external high speed ADC from TI (part number: ADS5410,  max sampling frequency: 80MSPS ) using Beaglebone black and transfer it to 512 MB on board DDR-RAM using EDMA controller . I was wondering if it is possible to do this task using PRU subsystem and if there is any upper frequency limit for PRU reading external high speed ADCs.

Thank you for your help. 

CCS/TMS320C5505: How to Save Real Time Data to Host Computer

$
0
0

Part Number: TMS320C5505

Tool/software: Code Composer Studio

Hi everyone! As I am new to this platform, are there any method in c programming that can save real time data read from the TMS320C5505 to a file located inside the host computer for later analysis? If there is please locate me there! :) Thanks!!!

TPS7B63-Q1: Is there any limitation for capacitance at DELAY pin?

$
0
0

Part Number: TPS7B63-Q1

Hi team,

Is there any limitation for capacitance at DELAY pin?

Customer want TPS7B63-Q1 to longer power-good delay. He wants to set power-good delay to  30ms. In that case, DELAY pin requires 150nF at DELAY pin. Does TPS7B63-Q1 accept this capacitor at DELAY pin?

Regards,
Nishimura 

TUSB1046A-DCI: Can EQ0/EQ1 and SSEQ0/SSEQ1 pins be left floating?

$
0
0

Part Number: TUSB1046A-DCI

Hi Team,

If we are sure that the USB 3.1 option will not be used with the TUSB1046A-DCI, can we leave EQ0/EQ1 and SSEQ0/SSEQ1 pins floating?

Thanks!

Roy Hsu

CC3220S-LAUNCHXL: Getting started with my own configuration

$
0
0

Part Number: CC3220S-LAUNCHXL

Hi,

I am evaluating CC3220S, I am new to this module.

I am using simplelink_cc32xx_sdk_3_20_01_01 and ccs 9.1.0.

I tried example code for GPIO interrupt and it works fine I modified code for LED toggling and that also worked.

But I have bellow queries.

1) Not able to access function definition for most of the APIs. Ex. GPIO_toggle()

2) How can I write my own application by using this SDK? 

3) If I want to ping some website how can I achieve this?

Please let me know if any more information needed.

Thanks

LM5160A: Isolated dc/dc power supply design

$
0
0

Part Number: LM5160A

Team,

we would like to build an isolated DC/DC power supply:

  • Isolated (expected voltage difference between input and output is far below 100 V)
  • VIN  nominal 48 V (range 40 V - 50 V)
  • VOUT 4.0 V, 2.0 A max, max long term output current 1.6 A
  • Output overcurrent protection

I found candidates like LM34925 and LM5160A. One concern is that transformer is not from the shelf, but special one (?).

Can you please check requirements and suggest which type would be recommended?

Thank you.

Does TI have a mipi-csi Transfer to TTL chip?

$
0
0

Does TI have a mipi-csi Transfer to TTL chip recommend? 


CC3220SF-LAUNCHXL: Information about POSIX threads

$
0
0

Part Number: CC3220SF-LAUNCHXL

Hello,

I'm analyzing the out_of_box project aobut the CC3220SF and I need some clarifications about POSIX threads:

1) In the main() a posix thread is configurated and created by pthread_attr_init(), pthread_attr_setdetachstate(),pthread_attr_setschedparam() and pthread_create() functions. In this way, the thread is a detached thread, after all these functions, BIOS_start() is called, so: is the thread always started by the pthread_create()  or by the BIOS_start()? (I think the first one)

2) Why the others threads (inside the out_of_the_box.c file) are inizialized and started into a main thread and not in the main() function?

3) The others threads (inside the out_of_the_box.c file) are not set to detached mode, so for default they are joinable. I check that a joinable thread is a blocking thread, and all threads inside the inside the out_of_the_box.c file are launched sequentially, how can they work at the same time?

4) the threads inside the out_of_the_box.c file keep running also when the mainthread exit ?

4) the threads inside the out_of_the_box.c are dependent from the the mainthread stack size ?

I attach the code.

Thanks !!!

int main(void)
{
    pthread_t thread;
    pthread_attr_t pAttrs;
    struct sched_param priParam;
    int retc;
    int detachState;

    /* Call board init functions */
    Board_initGeneral();

    /* Set priority and stack size attributes */
    pthread_attr_init(&pAttrs);
    priParam.sched_priority = 1;

    detachState = PTHREAD_CREATE_DETACHED;
    retc = pthread_attr_setdetachstate(&pAttrs, detachState);
    if(retc != 0)
    {
        /* pthread_attr_setdetachstate() failed */
        while(1)
        {
            ;
        }
    }

    pthread_attr_setschedparam(&pAttrs, &priParam);

    retc |= pthread_attr_setstacksize(&pAttrs, THREADSTACKSIZE);
    if(retc != 0)
    {
        /* pthread_attr_setstacksize() failed */
        while(1)
        {
            ;
        }
    }

    retc = pthread_create(&thread, &pAttrs, mainThread, NULL);
    if(retc != 0)
    {
        /* pthread_create() failed */
        while(1)
        {
            ;
        }
    }

    BIOS_start();

    return (0);
}


void * mainThread(void *arg)
{
    int32_t RetVal;
    pthread_attr_t pAttrs;
    pthread_attr_t pAttrs_spawn;
    struct sched_param priParam;
    struct timespec ts = {0};

    GPIO_init();
    SPI_init();
    I2C_init();

    /* init Terminal, and print App name */
    InitTerm();

    /* initialize the realtime clock */
    clock_settime(CLOCK_REALTIME, &ts);

    InitializeAppVariables();

    /* Switch off all LEDs on boards */
    GPIO_write(Board_GPIO_LED0, Board_GPIO_LED_OFF);

    /* initializes signals for all tasks */
    sem_init(&Provisioning_ControlBlock.connectionAsyncEvent, 0, 0);
    sem_init(&Provisioning_ControlBlock.provisioningDoneSignal, 0, 0);
    sem_init(&Provisioning_ControlBlock.provisioningConnDoneToOtaServerSignal,
             0,
             0);
    sem_init(&LinkLocal_ControlBlock.otaReportServerStartSignal, 0, 0);
    sem_init(&LinkLocal_ControlBlock.otaReportServerStopSignal, 0, 0);

    /* create the sl_Task */
    pthread_attr_init(&pAttrs_spawn);
    priParam.sched_priority = SPAWN_TASK_PRIORITY;
    RetVal = pthread_attr_setschedparam(&pAttrs_spawn, &priParam);
    RetVal |= pthread_attr_setstacksize(&pAttrs_spawn, TASK_STACK_SIZE);

    RetVal = pthread_create(&gSpawnThread, &pAttrs_spawn, sl_Task, NULL);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to create sl_Task thread \n");
        while(1)
        {
            ;
        }
    }
    RetVal = sl_Start(0, 0, 0);
    if(RetVal >= 0)
    {
        DisplayBanner(APPLICATION_NAME, APPLICATION_VERSION);
        RetVal = sl_Stop(SL_STOP_TIMEOUT);
        if(RetVal < 0)
        {
            /* Handle Error */
            UART_PRINT("\n sl_Stop failed\n");
            while(1)
            {
                ;
            }
        }
    }
    else if((RetVal < 0) && (RetVal != SL_ERROR_RESTORE_IMAGE_COMPLETE))
    {
        /* Handle Error */
        UART_PRINT("\n sl_Start failed\n");
        UART_PRINT("\n %s Example Ver. %s\n",APPLICATION_NAME,
                   APPLICATION_VERSION);
        while(1)
        {
            ;
        }
    }

    pthread_attr_init(&pAttrs);
    priParam.sched_priority = 1;
    RetVal = pthread_attr_setschedparam(&pAttrs, &priParam);
    RetVal |= pthread_attr_setstacksize(&pAttrs, TASK_STACK_SIZE);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to configure provisioningTask thread parameters \n");
        while(1)
        {
            ;
        }
    }

    RetVal = pthread_create(&gProvisioningThread, &pAttrs, provisioningTask,
                            NULL);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to create provisioningTask thread \n");
        while(1)
        {
            ;
        }
    }

    pthread_attr_init(&pAttrs);
    priParam.sched_priority = 1;
    RetVal = pthread_attr_setschedparam(&pAttrs, &priParam);
    RetVal |= pthread_attr_setstacksize(&pAttrs, LINKLOCAL_STACK_SIZE);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to configure linkLocalTask thread parameters \n");
        while(1)
        {
            ;
        }
    }

    RetVal = pthread_create(&gLinklocalThread, &pAttrs, linkLocalTask, NULL);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to create linkLocalTask thread \n");
        while(1)
        {
            ;
        }
    }

    pthread_attr_init(&pAttrs);
    priParam.sched_priority = 1;
    RetVal = pthread_attr_setschedparam(&pAttrs, &priParam);
    RetVal |= pthread_attr_setstacksize(&pAttrs, CONTROL_STACK_SIZE);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to configure controlTask thread parameters \n");
        while(1)
        {
            ;
        }
    }

    RetVal = pthread_create(&gControlThread, &pAttrs, controlTask, NULL);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to create controlTask thread \n");
        while(1)
        {
            ;
        }
    }

    pthread_attr_init(&pAttrs);
    priParam.sched_priority = 5;
    RetVal = pthread_attr_setschedparam(&pAttrs, &priParam);
    RetVal |= pthread_attr_setstacksize(&pAttrs, TASK_STACK_SIZE);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to configure otaTask thread parameters \n");
        while(1)
        {
            ;
        }
    }

    RetVal = pthread_create(&gOtaThread, &pAttrs, otaTask, NULL);

    if(RetVal)
    {
        /* Handle Error */
        UART_PRINT("Unable to create otaTask thread \n");
        while(1)
        {
            ;
        }
    }

    return(0);
}




AM5716: USB FS mode configuration

$
0
0

Part Number: AM5716

Hi.

my customer has been checking USB program in SDK of AM5716. It seems the code in SDK is high speed mode. They would like to change to full speed mode.

Could you please tell us how to set the registers for full speed mode? And could you please tell us which status registers for high or full speed flag we should see?

Best Regards,

M.Ohhashi

  

TLV369: OPA LOW Iq and BW 10K

$
0
0

Part Number: TLV369

Could TI recommend a Low Iq OPA which gain BW is >=10K? Thank you.

BQ4050: wireless system

$
0
0

Part Number: BQ4050

Hi

I want to transfer data from bq4050 through a sigfox communication.What is maximum data transfered by BQ4050?The maximum data that can transfer through sigfox communication only 12 bytes.

DS25CP114: External bias circuit required when used in AC coupled input connection ?

$
0
0

Part Number: DS25CP114

Hi Team,

When AC coupling the DS25CP114 input, the device would require external 100ohm differential termination. Would you also need the external common mode bias circuit, too ?

Best Regards,

Kawai

TPS61046: TPS61046 28-V Output Voltage Boost Converter in WCSP Package

$
0
0

Part Number: TPS61046

Light load regulation is not so good.

I would like to stabilize the output voltage of at least 10mA.

Is there anything else you'd recommend?

(Condition)

4.2Vin

Setting output voltage is 7.8V.

Output current is up to 200mA.

(Result with electric load device. EVM is TPS61046EVM-682.)

Output current / Output voltage

1mA / 7.892V

10mA / 7.880V

20mA / 7.865V

50mA / 7.808V

100mA / 7.811V

150mA / 7.815V

200mA / 7.819V 

AFE4490: What need to concern about the power filter and software design guidance

$
0
0

Part Number: AFE4490

Dear Sir

I plan to use AFE4490 for the pulse Oximeters defect.

could you give me some suggestion about the power filter for AFE4490 power supply?

And could you share some guidance about the software code design?

My email is sxjbiti@163.com

thanks.


TPS65988: TPS65988

$
0
0

Part Number: TPS65988

Hi,

I want to integrate FTDI chip FT4232HL, used in TPS65987EVM board, to my project.

I need to communicate with TPS65988 chips by SPI and I2C. Where can I find firmware for FT4232HL for using it with configuration tool?

Thank you!

ISO1176: About current consumption max

$
0
0

Part Number: ISO1176

Hi,

Could you tell me about ISO1176 worst case current consumption?

1.Vcc=5V , Terminating resistor = 50ohm, sampling rate =20Mbps
 Customer wants to know the maximum current consumption for the above condition.

2.Could you check the attached file?
   In the case of this circuit, please tell me the maximum current consumption.
 Customer power supply decline is poor. Therefore, they want to know the maximum current consumption.

 (Please visit the site to view this file)

Best Regards,
Yusuke

Compiler/AWR1443: project for driver

$
0
0

Part Number: AWR1443

Tool/software: TI C/C++ Compiler

Hi,

I am using mmwave sdk01_01_00_02 for awr1443 .

please guide me the steps to create a project that should contain UART and CAN of awr1443.

I tried to merge two drivers and changed make file. It is giving  errors. 

Created new project, then it is unable to open include file. I changed the path.  It is giving SOC_moduled is undefined. and so on.

In capture demo of srr, if I try to add CAN driver , It is giving errors. 

please guide me steps to create project that should contain UART and CAN driver.  

Thanks and regards,

K Subrahmaniam

CCS/MSP430FR4133: connection issue

$
0
0

Part Number: MSP430FR4133

Tool/software: Code Composer Studio

Hello everyone,

My FR4133 launchpad gives " Error: MSP-FET / eZ-FET core(communication layer) update failed" this error after asking for update.

Also ccs dosent recognize the device.What can be the problem???

Anyone related pl reply.

Thanks,

Pralay

BQ24725A: Switching from Cell Pack to Adapter supply delay issue

$
0
0

Part Number: BQ24725A

Hi,
We've ran into issue with switching supply from Cell Pack to Adapter+ .

Initial Setup:"System" is supplied by "Pack+". At some moment "Adapter+" is connected.

Problem description: There is significant delay (~1.1s) from moment when voltage to "Adapter+" node is applied and moment, when we see voltage increase on "System" node. (all names for nodes are taken from datasheet, for naming compatibility)

After research of problem, we noticed, that same delay is caused by delay on ACDRV pin.
According to datasheet, : ACDRV is "Charge pump output to drive both adapter input n-channel MOSFET (ACFET) and reverse blocking n-channel MOSFET (RBFET). ACDRV voltage is 6V above CMSRC when voltage on ACDET pin is between 2.4V to 3.15V, voltage on VCC pin is above UVLO and voltage on VCC pin is 275mV above voltage on SRN pin so that ACFET and RBFET can be turned on to power the system by AC adapter. Place a 4kΩ resistor from ACDRV to the gate of ACFET and RBFET limits the in-rush current on ACDRV pin.

Our measurements show that before/after (after = some micro- or milliseconds later) "Adapter+" is applied, Voltages are following :

1) Voltage on ACDET  is 1.2 / 3.0V  (1.2V is due to circuit, discussed in e2e.ti.com/.../561130 , which is required, to retain I2C communication, even when there is no "Adapter+ voltage applied"

2) VCC is equal or higher than Pack+ voltage

3) SRN is equal to Pack+

Interesting observation: when the circuit is launched the most first time (i.e. first - cell pack is attached, and then - adapter+), the delay is around 150ms ; later, if we turn off adapter+ and the turn it on again, all next attempts give 1.1seconds delay.

What could be the reason of this delay, and how can we eliminate it?

P.S.> If schematics is required, please let us know - I'll e-mail it.

Viewing all 262198 articles
Browse latest View live


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