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

CC3200MODLAUNCHXL: Provisioning with Simplelink Wi-Fi starter Pro application on android not working after app update

$
0
0

Part Number:CC3200MODLAUNCHXL

I've been using Simplelink Wi-Fi starter Pro for a while and it worked qood until recent update on Google Play.

Now as of version 2.2.21  is recognizes device, switches to device AP  but then fails with fail message  "Application cannot configure the selected device. Either you have selected a non-SimpleLink device or  you have selected a SimpleLink device which supports only legacy provisioning sequence. Please choose another SimpleLink device"

Attached below log from CC3200MOD and screnshot  from phone.

Simplelink Wi-Fi starter Pro version 2.2.17 built from sources work as expected with the same CC3200 device.

Log from device:

 Sl Start : '0'
Starting Provisioning..
INFO /provisioning_logic.c:sl_extlib_ProvisioningStart(180) configuration parameters: auto start enabled 0
DEBUG /provisioning_logic.c:startApProvisioning(317) startApProvisioning: starting AP provisioning
INFO /provisioning_logic.c:startApProvisioning(335) Device name mysimplelink, default device name F4B85E04F43B@mysimplelink length 25
DEBUG /networkListHndl.c:networksListScan(226) networksListScan: scan mode 1 (1 STA, 0 AP)
DEBUG /provisioning_logic.c:ProvisioningRun(272) provisioningRun: g_libraryTimeout 3000
DEBUG /provisioning_logic.c:ProvisioningRun(283) provisioningRun: retval -2 g_ucRxTokensBitMask 0x0 g_ucSlEventBitMask 0x0 g_ucProvisioningState 1 g_NetListHandlingState 1
DEBUG /networkListHndl.c:networksListReadScanResults(421) Scan complete, got 5 networks
DEBUG /networkListHndl.c:networksListReadScanResults(425) [0] SSID TITEST [-53]
DEBUG /networkListHndl.c:networksListReadScanResults(425) [1] SSID MB_*****T [-52]
DEBUG /networkListHndl.c:networksListReadScanResults(425) [2] SSID MB_****E [-52]
DEBUG /provisioning_logic.c:SetDeviceMode(393) SetDeviceMode: setting device to 2
INFO /events_handler.c:sl_Provisioning_NetAppEventHdl(243) provisioning_NetAppHdl: IP acquired 0xc0a80101 signalNeeded 0
[NETAPP EVENT] IP acquired by the device
DEBUG /provisioning_logic.c:SetDeviceMode(414) SetDeviceMode: device was set to 2
DEBUG /provisioning_logic.c:continueApProvisioning(356) continueApProvisioning
DEBUG /provisioning_logic.c:continueApProvisioning(373) startApProvisioning waiting for user commands for 300000 msecs
DEBUG /provisioning_logic.c:sl_extlib_ProvisioningStart(203) ProvisioningRun() = 2
DEBUG /provisioning_logic.c:ProvisioningRun(272) provisioningRun: g_libraryTimeout 300000
INFO /events_handler.c:sl_Provisioning_WlanEventHdl(204) provisioning_WlanEventHdl: STA ac-5f-3e-85-d6-de is connected to SL AP, provisioning TO 300000
DEBUG /provisioning_logic.c:ProvisioningRun(283) provisioningRun: retval 0 g_ucRxTokensBitMask 0x0 g_ucSlEventBitMask 0x0 g_ucProvisioningState 1 g_NetListHandlingState 2
DEBUG /provisioning_logic.c:sl_extlib_ProvisioningStart(203) ProvisioningRun() = 2
DEBUG /provisioning_logic.c:ProvisioningRun(272) provisioningRun: g_libraryTimeout 300000
[NETAPP EVENT] IP leased to a client


DRV8881PEVM: Installation issues

$
0
0

Part Number:DRV8881PEVM

In an attempt to install newly purchased evaluation kit (DRV8881PEVM) I keep getting the same issue that requests that GUI Composer Runtime needs to be installed on the system. The URL must be having issues because I keep getting the following warning.(Please visit the site to view this file)

TPS7A1601-Q1: looking for an LDO with reverse bat protection 36V to 5v 0.1A

$
0
0

Part Number:TPS7A1601-Q1

looking for an LDO  with reverse bat protection 36V to 5v 0.1A

if possible similar package as the TPS7A1601DGN

DAC38J84: Data sheet register address deviations

$
0
0

Part Number:DAC38J84

Hello 

There some deviations in registers addresses in the data sheet comparing the short list on page 63 and the detailed description on page 92: 

The address for register config95 should be 0x5F (page 63)- , therefore all address after this register are shifted by one - please confirm

In the short list page 64 register config98 appears two times - should be config98 and config 99, please confirm

Thanks

TPS54225-Q1: Schematic Review Request

$
0
0

Part Number:TPS54225-Q1

Hi,

I am currently working on a design and I want to use TPS54225-Q1 to generate 5V rail.

Here are some requirements:

Input: 9-18V; Output: 5V@1A.

I have designed the schematic as following:

Please let me know if you have any suggestions about above schematic.

Thanks.

Kenneth

LM2674: Minimum current load for switching regulator

$
0
0

Part Number:LM2674

I am trying to find out if the LM2674-5.0 has a minimum load requirement to maintain regulation.  The spec sheet shows the output voltage for:  V IN = 8 V to 40 V, I LOAD = 20 mA to 500 mA, which seems to imply a minimum load of 20 mA.

Thank you!

RTOS/TIDC-CC2650STK-SENSORTAG: SensorTag SPI Transactions Time Gap

$
0
0

Part Number:TIDC-CC2650STK-SENSORTAG

Tool/software: TI-RTOS

Using SPI on the CC2650STK. Multiple devices are hooked to the SPI_0 bus - the on board flash, an external sensor and an SD card. The first two work fine, but accessing the SD card produces a lot of difficulties. While my code runs smoothly on a little 16bitter in a FPGA (using GP I/O pins), it performs unreliably and with lots of errors with the SensorTag/RTOS SPI/µDMA engine. Main cause seem to be long time gaps between the singular SPI transactions. Unfortunately for SD card you have to poll the bus after sending a command. So for each single poll byte I have to launch a transaction. - Questions:

- Is there any way to have the SPI engine continuously clocking in bytes until a certain pattern arrives?

- What causes the long pauses between transactions and - how? - can they be cut? Possibly the RTOS does a lot of stuff here that I do not need. F.i. I have no power saving needs.

Below are  two scope shots illustrating the problem. Bus speeds are comparable - 400 kbps on the SensorTag.

This is the FPGA soft core. No gaps between singular bytes, nor betwen writing/readi

This is the same command sequence on the SensorTag.Thank you in advance for helping!

BQ34Z100: Battery Charge % stuck

$
0
0

Part Number:BQ34Z100

Hello,

We have been using this part in our systems for some time. We program them using the EV2300 and battery studio at build up. We have noticed occasionally the fuel gauge % gets stuck usually after months of working correctly. The current, voltage and temperature are reading out correctly. I was able to grab the register values for a stuck part 1.CSV and I compared it to the golden file, 2.csv. It appears the R table is changing but every thing else looks correct. Please let me know if you can explain this.

Thanks,

John

(Please visit the site to view this file)


TPS61165-Q1: Schematic Review Request

$
0
0

Part Number:TPS61165-Q1

Hi,

I am currently working on a design and I want to use TPS61165-Q1 to drive backlight.

Here are some requirements:

Input: 9-18V; Output: 350mA Max.

I have designed the schematic as following:

Please let me know if you have any suggestions about above schematic.

Thanks.

Kenneth

TPS92515: Open circuit protection

$
0
0

Part Number:TPS92515

Hello team

can you please help me with this query 

regarding  over voltage protection for TPS92515x, when LEDs are not connected on its output?

As i understand the output shall rise to vin and remain there as Duty cycle  shall be 100% 

Please help me get some more clarity of this matter

Thank you 

LM27341-Q1: Schematic Review Request

$
0
0

Part Number:LM27341-Q1

Hi,

I am currently working on a design and I want to use LM27341-Q1 to generate 6.5V rail to drive LEDs.

Here are some requirements:

Input: 9-18V; Output: 6.5V@1A Max.

I have designed the schematic as following:

Please let me know if you have any suggestions about above schematic.

Thanks.

Kenneth

TAS5731EVM: TAS5731EVM Speaker Spec confirmation

BQ40Z50-R1: Design Questions

$
0
0

Part Number:BQ40Z50-R1

Hi Team,

  • Please explain the function of the Manufacturing Status Init parameter, and more importantly how should we program it (in terms of “if so and so, then set this bit”)?  Our packs have different numbers for this parameter and I’m not sure what the correct value should be.  It looks important.

 

  • Similar questions on the Calibration Temp Offsets.  They vary from pack to pack.  Any idea why?  I would assume that BQStudio leaves them at their 0 default and independent of chemistry.

 

  • Same question for CC auto offset.  Is it set by us, or by the BQ40Z50?  It’s also different pack to pack.

 

  • What should the Gas Gauging “Design Voltage” parameter be set to (parameter file line 518)?  The TRM says “theoretical pack voltage,” which doesn’t help it at all.  Is the theoretical pack voltage the nominal voltage (12.8V in our case), or the charge voltage (14.1 in our case), or the target charge voltage (14.6 in our case)?  The battery vendor set it to 14.7V, which is the target charge voltage for the cells and I believe is an incorrect setting. 

 

  • How can I tell the sealed status of the pack?  I can tell indirectly by reading memory and seeing if I get an error, but I suspect the status is always available and I just haven’t found it yet.  I would have expected it to be on the dashboard.

 

  • Our pack only has TS1 and TS2 available and enabled, yet the BQ Studio (BQS) shows temps for all possible temp sensors.  Where are the TS3 and TS4 numbers coming from?  Does it read the internal temp even if it’s disabled by parameters?

 

  • Is there a description of how to change the default keys for sealing/unsealing a pack thru BQStudio

Thanks!

Nabeel

 

CCS/CC3200: CPU reaset

$
0
0

Part Number:CC3200

Tool/software: Code Composer Studio

***i want to perform full cpu reset.

i use the function below to perform reset and after the functions nothing!! the software is not run as expected.

sl_Stop ( SL_STOP_TIMEOUT );
PRCMMCUReset ( TRUE );

Compiler/TMS320F28377D: CPU2 CANA interrupt setup

$
0
0

Part Number:TMS320F28377D

Tool/software: TI C/C++ Compiler

Hello,

CANA communication has been successfully setup for CPU2.  CPU1 setups up the appropriate GPIO pins, gives CPU2 control of these pins, then gives CPU2 control of both CAN buses (via CPUSEL8).

CPU2 will later setup the clocks, then cal CANInit(CANA_BASE) (from the TI example code C:\ti\controlSUITE\device_support\F2837xD\v210\F2837xD_examples_Cpu1\can_external_transmit).  

Later, CPU2 writes to CAN_CTL and CAN_GLB_INT_EN.  This appears to have no affect upon inspection in CSS debug registers view.  EALLOW has no affect here.  

Under what conditions can CPU2 write to CanaRegs???

Thanks!


Device needed to provide power and allow data transfer

$
0
0

Hi Team,

What is the best device to recommend for the USB port inside a vehicle? The USB port is Type-A and needs to charge a phone but also needs to allow audio to be transmitted from the phone to the car speakers.

This may be a couple of devices, I am not sure.

Looking forward to your inputs.

Jared

CC3100BOOST: CC3100BOOST

$
0
0

Part Number:CC3100BOOST

Hi,

I interfaced the CC3100boost and CC3100MODboost to the MSP-EXP432P401R Launchpad. And I am using SPI. SMCLK is 6MHz. Whenever I do a start using ths sl_Start, I don't seem to run into any problem. But When I try to do a sl_stop or if I wana obtain the chip information, the code hangs at the IRQ subroutine. it looks like from there, when it goes to pIRQeventhandler(0), the code jumps to  hardfault error. Any thoughts as to why this is happening?

Thanks.

AJ

TPS55065-Q1: Are the alarms manditory?

$
0
0

Part Number:TPS55065-Q1

I'm not going to use the Aout (input voltage threshold alarm), or the Reset (output under voltage alarm), or the 5Vg output. Do I need the REST capacitor, the pull up resistors to pin Aout and RESET, and R1 and R2 on pin Ain, or can I leave those pins floating (Ain, Aout, RESET, REST, 5Vg)? 

RTOS/F28M36H53C2: Cannot run statically declared timer ISR with "user" start mode.

$
0
0

Part Number:F28M36H53C2

Tool/software: TI-RTOS

Hi there,

I am having some trouble to to execute a timer ISR when the start mode is defined as USER. It works fine when it is set to automatic. 

Here is my static configuration file:

var ti_sysbios_family_arm_l3_Timer0Params = new ti_sysbios_family_arm_lm3_Timer.Params();

ti_sysbios_family_arm_lm3_Timer0Params.instance.name = "timerHandle";

ti_sysbios_family_arm_lm3_Timer0Params.period = 100000;

ti_sysbios_family_arm_lm3_Timer0Params.startMode = xdc.module("ti.sysbios.interfaces.ITimer").StartMode_USER;

Program.global.timerHandle = ti_sysbios_family_arm_lm3_Timer.create(-1, "&timer_ISR", ti_sysbios_family_arm_lm3_Timer0Params);

 

In my application:

 

extern Timer_Handle timerHandle;

...

void main(void){

...

IntMasterEnable();

...

}

 

void myTask(void){

while(1){

if(something){

Timer_setPeriodMicroSecs(timerHandle, 100000);

Timer_start(timerHandle);

}

}

Any thoughts ? Thanks.

Configuration : TI-RTOS 2.16.01.14

CCS/TM4C1294NCPDT: connecting the microcontroller using a launchpad through I2C.

$
0
0

Part Number:TM4C1294NCPDT

Tool/software: Code Composer Studio

 Cannot seem to be able to get any data out to my array. I am not sure if it is my data put commands being used incorrectly or the array is being used incorrectly. In debug mode, the launchpad is changing the registers values of the slave address automatically, so im assuming the magnetometer is connected correctly to the launchpad.

I have attached my code

/*
 * Mag Address: 0x1E (Write: 0x3C Read: 0x3D)
 */


// Includes
#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_memmap.h"
#include "inc/hw_ints.h"
#include "driverlib/debug.h"
#include "driverlib/gpio.h"
#include "driverlib/interrupt.h"
#include "driverlib/pin_map.h"
#include "driverlib/sysctl.h"
#include "driverlib/i2c.h"
#include "sensorlib/i2cm_drv.h"

//Define Statements
#define    Mag_read_ADDRESS 0x3D    //defines lidar slave address as 0x62
#define    Mag_write_ADDRESS 0x3C
#define NUM_OF_I2CBYTES 255    //defines max number of I2C bytes to be read
#define Mag_address 0x1E



//Function Prototypes
void ConfigureI2C(void);


//Global Variable Declarations
uint32_t ui32SysClkFreq;    //32 bit int to store clock frequency value
uint16_t ui16alldata[2];    //16 bit data for 6 bytes of data to be read



void ConfigureI2C(void) {

    //Setup I2C Peripheral I2C7
    SysCtlPeripheralEnable(SYSCTL_PERIPH_I2C7);
    SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD);
    //while(!SysCtlPeripheralReady(SYSCTL_PERIPH_GPIOB))    //wait for peripheral to be ready for programming
    //Configure PD as I2C7SCL
    //


    GPIOPinConfigure(GPIO_PD0_I2C7SCL);
    GPIOPinTypeI2CSCL(GPIO_PORTD_BASE, GPIO_PIN_0);
    //Configure PB3 as I2C7 specify SDA
    GPIOPinConfigure(GPIO_PD1_I2C7SDA);
    GPIOPinTypeI2C(GPIO_PORTD_BASE, GPIO_PIN_1);

    //Configures uC as master at I2C7, using clock frequency, (false - 100kHz), (true - 400kHz)
    I2CMasterInitExpClk(I2C7_BASE, ui32SysClkFreq, true);
    return;
    }



int main(void) {

    //Setup System Clock to 120MHz and store in variable
    ui32SysClkFreq = SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ|SYSCTL_OSC_MAIN |SYSCTL_USE_PLL |SYSCTL_CFG_VCO_480), 120000000);

    ConfigureI2C();
    // Wait for the Peripheral to be ready for programming
    //
    while(!SysCtlPeripheralReady(SYSCTL_PERIPH_I2C7));

    while(1) {
        int i;
            //Sets the slave I2C port, slave address,  true - read, false - write
            I2CMasterSlaveAddrSet(I2C7_BASE, Mag_address, false);
            //Writes desired register to be read to the slave
            I2CMasterDataPut(I2C7_BASE, 0x3C);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_START);
            I2CMasterDataPut(I2C7_BASE, 0x00);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0x70);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0x3C);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0x01);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0xA0);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0x3C);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0x02);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0x00);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            SysCtlDelay(200);
            I2CMasterDataPut(I2C7_BASE, 0x3D);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_CONT);
            I2CMasterDataPut(I2C7_BASE, 0x06);
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_SEND_FINISH);
            //Sets the slave I2C port, slave address,  true - read, false - write
            I2CMasterSlaveAddrSet(I2C7_BASE, Mag_address, true);
            //Reads desired data from previously specified register and stores in variable
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_RECEIVE_START);
            ui16alldata[0] = I2CMasterDataGet(I2C7_BASE);
            for(i=0;i<2;i++)
            {
                I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_RECEIVE_CONT);
                ui16alldata[i+1] = I2CMasterDataGet(I2C7_BASE);
            }
            I2CMasterControl(I2C7_BASE,I2C_MASTER_CMD_BURST_RECEIVE_FINISH);
            ui16alldata[2] = I2CMasterDataGet(I2C7_BASE);

            SysCtlDelay(2000000);
    }
}

Thank you for any assistance.

Viewing all 262198 articles
Browse latest View live


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