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

IWR1642: enter debug mode failed

$
0
0

Part Number: IWR1642

Hi

   We are using the IWR1642 device,but have some problem with the debug mode.

   First of all,I'm sure that the SOP jumpers are right. We can enter flash programming mode and functional mode. But when we changed the SOP to 011 and restart the system,system can't enter debug mode,and seems to enter an unkown mode. The NERROR_OUT pin will post a wrong signal,and the system can't work.

   For my own PCB,the only different compared with the IWR1642BOOST board is that I changed the power supply design. I don't use any PMIC for this design.But the system can enter functional mode,so I don't think there is anything wrong with the power supply.

   Can you help me with this issue?  


SN65LVDS180: Cold sparing or partial power conditions

$
0
0

Part Number: SN65LVDS180

We have a setup where there’s a chance this part could be powered off while the FPGA driving it could be powered on. Is there any information on if this will cause the board VCC plane to be powered up in this case? We have the enable lines setup as direction so if one is high the other is low and these have no digital control. 

Thanks!

DRV8308: DRV8303 Fault Register Testing

$
0
0

Part Number: DRV8308

Hi guys,

I have the DRV8308 working well in our project.

I was wondering if there is a way to test the Motor Fault Register. I mean is it possible to test things like over temperature, over current, over voltage, etc...?

Or do you just have to wait until the fault line is true and read the fault register?

Thank you,

Reif Heck

TMS320F28377D: Variables storing in Flash and retrieving POWER ON time

$
0
0

Part Number: TMS320F28377D

Hi,

     I am working with TMS320F28377D controlcard. I have to store some variables in FLASH and retrieve that variables from FLASH and have to use in my Application and My application also loading in FLASH. Is it possible? Please help me as early as possible. And give me any suggestions required.

With regards,

P M Manoj Kumar

Product overview TI PGA Series

$
0
0

Hi,

does anybody know a website or document with a product overview of the PGA ics?

Regards

Mario

TI RTOS

$
0
0

Question about preemptive scheduling in TI RTOS. Consider the task executing the code :

#include <SPI.h>

...

while(1) {

 SPI_transfer(...) // blocking version could take a very long time in CPU ticks terms

}

will it be any difference in rescheduling this thread depending on whether SPI_transfer is blocking or non-blocking? 

MSP430F5437A: On Waking up from LPM3 it is not returning to the main while(1) loop

$
0
0

Part Number: MSP430F5437A

Hi,

I have put the micro to LPM3 mode by setting SCG0,SCG1,CPUOFF bits and clearing OSCOFF bit ,with RTC counter Event interrupt alone enabled.

It was sure it entered sleep mode because in the main while(1) I just have toggling the led glow for every 5 secs code and it stopped after one toggle of LED and the sleep mode code was executed as I have coded like that.

After some determined time sleep mode was interrupted by the RTC counter Event Interrupt which was set for 30 secs and it was ensured by making the LED glow in the interrupt service routine.

In the interrupt service routine I have changed the mode to Active mode by clearing SCG0, SCG1, CPUOFF and OSCOFF bits at the end of ISR code and expected to run the LED toggling code and then again put the  micro to LPM3 sleep mode.

But now LED was glowing continuously which must be enabled by ISR and remains in that state.

It seems the while(1) code was not resumed and if it was resumed it should toggle the LED one time.

Don't know what is the reason.

I am using ACLK for RTC counter and ACLK was assigned to XT1 oscillator which is 32kHz.

I don't have any other peripherals enabled.

Please help on this.

thanks in advance.

PGA900: OWI Bit Timing

$
0
0

Part Number: PGA900

Hi,


does anybody know a website or document which explains the bit timming of the OWI Interface?

I can´t find this in the data sheet of the PGA900.


Regards

Mario


EV2400: Cannot read BQ27000 registers with EV2400

$
0
0

Part Number: EV2400

At startup, the EV2400 software asks the user to choose the fuel gauge and BQ27000 is not an option.  We have recently had a problem with the EV2300 that we used to use for this purpose and it is now obsolete.

What can I use to read the BQ27000 registers?  This is in a legacy battery pack that we cannot change.

BQ34Z100-G1: SEALED Access to Lifetime-data

$
0
0

Part Number: BQ34Z100-G1

Hello,

I need to access the Lifetimedata of the bq34z100-g1 while the chip is SEALED. If I understand Section 7.3.6.17 of the datasheet correctly it is the same procedure as Manufacturer Information Block access. The only difference being I have to write 0x04 to DataFlashBlock i.e. 0x3f.

I tried that and always get an error when I try to read BlockData i.e. 0x40 after that, as can be seen in attached screenshot:

Did I misunderstand the procedure?

TLV4021: Comparison with the TLV9001

$
0
0

Part Number: TLV4021

Hi team,

I had asked for a cheaper alternative for the LMV822-N and I got as a suggestion to look at the TLV4021 comparator (+reference family), but I recently bumped into the TLV9001IDCKR.

Do you believe the TLV9001IDCKR is a good substitute to the TLV40x1 family? Does it have any drawback?

Thank you in advance for your support.

Best regards,

Adrian

TPS61099: Boost converter design

$
0
0

Part Number: TPS61099

Good morning, I am designing a boost converter that has an input voltage range between 2V and 3,5V from a 3V nominal lithium battery (the voltage range is considered to be the cut-off battery voltage and the maximum battery voltage) and an output of 4V with an output load current of 20uA. I have found the boost converter in object because it shows very low quiescent current and a good efficiency at light load that are the most important requirements to avoid an early battery discharge, But using the webbench tool , after setting the requirements above, the system gives me an error saying to change the input requirements... How about this problem? is the light load current a problem for the correct operation of the boost converter? (maybe the equivalent switching frequency is too low???).

Thank you.

Regards.

CCS/CC1352P: Code Composer Studio headless builds in Jenkins do not work with simplelink SDK

$
0
0

Part Number: CC1352P

Tool/software: Code Composer Studio

I am trying to build a Code Composer studio in Jenkins. I have the build server setup correctly and can login and build the code from the following build script:

#!/bin/bash
CCS=/opt/ti/ccs910/ccs/eclipse/eclipse
#CCS=/home/builduser/ti/ccs910/ccs/eclipse/eclipse
WS=.


strings=(
libmbedcrypto_CC1352R1_LAUNCHXL_tirtos_gcc
libopenthread_diag_ncp_CC1352R1_LAUNCHXL_tirtos_gcc
libopenthread_ncp_CC1352R1_LAUNCHXL_tirtos_gcc
libopenthread_ncp_ncp_CC1352R1_LAUNCHXL_tirtos_gcc
libopenthread_platform_utils_ncp_CC1352R1_LAUNCHXL_tirtos_gcc
ncp_ftd_GRIM
)

if [ -d .metadata ]
then
	rm -rf .metadata
fi

for i in "${strings[@]}"; do
	echo Importing $i
	$CCS -noSplash -data $WS -application com.ti.ccstudio.apps.projectImport -ccs.location $i
done

$CCS -noSplash -data $WS -application com.ti.ccstudio.apps.projectBuild -ccs.workspace -ccs.buildType full

This will create the CCS workspace, add the projects, clean and build the project. But when Jenkins runs this script I get the following error message:

[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/workspace/cc1352p_thread
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Cloning the remote Git repository
Cloning repository ssh://git@bitbucket:7999/ar2/cc1352p_thread.git
 > git init /var/lib/jenkins/workspace/cc1352p_thread # timeout=10
Fetching upstream changes from ssh://git@bitbucket:7999/ar2/cc1352p_thread.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > git fetch --tags --progress ssh://git@bitbucket:7999/ar2/cc1352p_thread.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url ssh://git@bitbucket:7999/ar2/cc1352p_thread.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url ssh://git@bitbucket:7999/ar2/cc1352p_thread.git # timeout=10
Fetching upstream changes from ssh://git@bitbucket:7999/ar2/cc1352p_thread.git
using GIT_ASKPASS to set credentials 
 > git fetch --tags --progress ssh://git@bitbucket:7999/ar2/cc1352p_thread.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d16f0b14bf0740697c34e8e68128af8f4f9f0dd2 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d16f0b14bf0740697c34e8e68128af8f4f9f0dd2
 > git rev-list 2965f0e4f6ea83f801d18c497628a0302ecd151e # timeout=10
[cc1352p_thread] $ /bin/sh -xe /tmp/jenkins682198274838958152.sh
+ ./generate_build.sh
Importing libmbedcrypto_CC1352R1_LAUNCHXL_tirtos_gcc

--------------------------------------------------------------------------------
Importing project from '/var/lib/jenkins/workspace/cc1352p_thread/libmbedcrypto_CC1352R1_LAUNCHXL_tirtos_gcc'...


Done!
Importing libopenthread_diag_ncp_CC1352R1_LAUNCHXL_tirtos_gcc

--------------------------------------------------------------------------------
Importing project from '/var/lib/jenkins/workspace/cc1352p_thread/libopenthread_diag_ncp_CC1352R1_LAUNCHXL_tirtos_gcc'...


Done!
Importing libopenthread_ncp_CC1352R1_LAUNCHXL_tirtos_gcc

--------------------------------------------------------------------------------
Importing project from '/var/lib/jenkins/workspace/cc1352p_thread/libopenthread_ncp_CC1352R1_LAUNCHXL_tirtos_gcc'...


Done!
Importing libopenthread_ncp_ncp_CC1352R1_LAUNCHXL_tirtos_gcc

--------------------------------------------------------------------------------
Importing project from '/var/lib/jenkins/workspace/cc1352p_thread/libopenthread_ncp_ncp_CC1352R1_LAUNCHXL_tirtos_gcc'...


Done!
Importing libopenthread_platform_utils_ncp_CC1352R1_LAUNCHXL_tirtos_gcc

--------------------------------------------------------------------------------
Importing project from '/var/lib/jenkins/workspace/cc1352p_thread/libopenthread_platform_utils_ncp_CC1352R1_LAUNCHXL_tirtos_gcc'...


Done!
Importing ncp_ftd_GRIM

--------------------------------------------------------------------------------
Importing project from '/var/lib/jenkins/workspace/cc1352p_thread/ncp_ftd_GRIM'...


Done!

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Fri Aug 30 08:50:01 CDT 2019] 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

================================================================================
Pre processing...


================================================================================
Building...

Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC13X2_26X2_SDK' v3.20.0.68 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..
Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC13X2_26X2_SDK' v3.20.0.68 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..
Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC13X2_26X2_SDK' v3.20.0.68 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..
Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC13X2_26X2_SDK' v3.20.0.68 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..
Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC13X2_26X2_SDK' v3.20.0.68 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..
Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_CC13X2_26X2_SDK' v3.20.0.68 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..


================================================================================
CCS headless build complete! 6 out of 6 projects have errors.
Build step 'Execute shell' marked build as failure
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Finished: FAILURE

Why can't the Jenkins user find the SDK, but when I login as a user of the machine it can find the SDK?

CCS/TM4C1294NCPDT: I am having problems writing over SPI

$
0
0

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

hi,

I need help with my write functions for SSI.

I was able to read but then I couldn't write over my spi.

and i don't know what im doing wrong.

below is my read and write function.

voidft_Wr8(unsignedlong ftAddress, unsignedchar ftData8)

{

    unsignedchar cTempAddr[3];                              // FT800 Memory Address

    cTempAddr[2] = (char) (ftAddress >> 16) | MEM_WRITE; // Compose the command and address to send

    cTempAddr[1] = (char) (ftAddress >> 8);                           // middle byte

    cTempAddr[0] = (char) (ftAddress);                                   // low byte

    GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_CS, 0);            // Set chip select low

    while (SSIDataGetNonBlocking(SSI0_BASE, &pui32DataRx) != 0)

        ;

    SSIDataPut(SSI0_BASE, &cTempAddr[2]); // Send Memory Write plus high address byte

    SSIDataPut(SSI0_BASE, &cTempAddr[1]);

    SSIDataPut(SSI0_BASE, &cTempAddr[0]);

    SSIDataPut(SSI0_BASE, &ftData8);                                // Send data byte

    while (SSIBusy(SSI0_BASE))

        ;

    GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_CS, GPIO_PIN_CS); // Set chip select high

}

unsignedcharft_Rd8(unsignedlong ftAddress)

{

    unsignedchar ftData8;                 // Place-holder for 8-bits being read

    unsignedchar cTempAddr[3];                          // FT800 Memory Address

    unsignedchar cZeroFill = ZERO;

    GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_CS, 0);        // Set chip select low

    while (SSIDataGetNonBlocking(SSI0_BASE, &pui32DataRx))

        ;

    cTempAddr[2] = (char) (ftAddress >> 16) | MEM_READ; // Compose the command and address to send

    cTempAddr[1] = (char) (ftAddress >> 8);                       // middle byte

    cTempAddr[0] = (char) (ftAddress);                              // low byte

    SSIDataPut(SSI0_BASE, cTempAddr[2]); // Send Memory Write plus high address byte

    SSIDataPut(SSI0_BASE, cTempAddr[1]);

    SSIDataPut(SSI0_BASE, cTempAddr[0]);

    // SSIAdvDataPutFrameEnd(SSI0_BASE, cZeroFill);                    // Send dummy byte

    SSIAdvDataPutFrameEnd(SSI0_BASE, cZeroFill);              // Send dummy byte

    SSIDataGet(SSI0_BASE, &ftData8);                        // Receive data byte

    while (SSIBusy(SSI0_BASE))

        ;

    GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_CS, GPIO_PIN_CS); // Set chip select high

    return ftData8;                                             // Return 8-bits

CC2642R: Bluetooth qualification issue (Test plan)

$
0
0

Part Number: CC2642R

Hi, I am trying to use the Launchstudio tool at bluetooth.com in order to generate a test plan for my design that is based on CC2642R. When I come to the step "ICS Selection", I get a lot of invalid dependencies that I do not understand how to resolve, I thought that, as I am using a qualified component, only have to test the RF-PHY part of my design. If I choose to not resolve the invalid dependencies and continue, I get a huge test plan. Something must be wrong.

I have found the following information on this forum but do not understand the contents of the zip files.

For CC2642, attached here are test evidence needed to complete the BT5.0 listing; 

5775.SM.MAS.KDU.BI-01.zip

8321.SM.SLA.KDU.BI-01.zip

For LL/CON/MAS/BV-13-C, LL/CON/MAS/BV-21-C, LL/CON/SLA/BV-14-C, LL/CON/SLA/BV-22-C, please refer to this evidence report from Dekra:

2019_08-Dekra_LLTest_Erratum10734.pdf

Questions concerning the zip files::
1) How are the contents of the log files related to the Bluetooth test cases ?
2) How do I open the *.btt files ?
Any ideas are helpful ! Thanks in advance !
With best regards
Anders Remar

CCS/TMS320F28377D: entry point when debugger is connected

$
0
0

Part Number: TMS320F28377D

Tool/software: Code Composer Studio

Hi,

I am currently looking into the boot process of TMS320F28377D and there are a few things that bother me. I wish you guys could shed some lights on it.

1. It is my understanding that if the debugger is connected and the device is being debugged, the device will enter emulation boot and end up in wait boot(for an unprogrammed device). So my question is that in this state, does the debugger take the application directly to the entry point no matter where it has been allocated in the memory? For example if I set up the entry point to be a random symbol such as "c_start", is the debugger going to set the PC the address of this symbol under this condition?

2. When the device is running on itself, after reset the device will start the standalone boot which will boot the device to flash(if boot to flash was chosen) and start the application at address 0x80000. Under this condition, the entry point set in the CCS is useless. Is my understanding correct?

3. In the auto-run debug option of CCS, auto-run to main is chosen. It is my understanding that this will set a breakpoint at main(). So when the device is being debugged, are all the interrupts, for example watchdog reset, going to be blocked by the debugger before main()? In other words, if watchdog has overflown before main(), for example during the execution of _c_int00, is there going to have a watchdog reset serviced by the device?

Please help me with the confusion according to the question number. Any ideas would be appreciated.

Many thanks.

Regards,

John

WEBENCH® Tools/CC2652R: There is an issue of execute ZCL Config Report command

$
0
0

Part Number: CC2652R

Tool/software: WEBENCH® Design Tools

In function "zclParseInConfigReportCmd" in ZCL .c, in the first loop that count Attr number, if the data-type is not analog-type, the reportable change field is 0-byte length, so the "pBuf++" should be removed.

void *zclParseInConfigReportCmd( zclParseCmd_t *pCmd )
{
  .....


  // Calculate the length of the Request command
  while ( pBuf < ( pCmd->pData + pCmd->dataLen ) )
  {
    uint8 direction;

    numAttr++;
    direction = *pBuf++;
    pBuf += 2; // move pass the attribute ID

    // Is there a Reportable Change field?
    if ( direction == ZCL_SEND_ATTR_REPORTS )
    {
      dataType = *pBuf++;
      pBuf += 4; // move pass the Min and Max Reporting Intervals

      // For attributes of 'discrete' data types this field is omitted
      if ( zclAnalogDataType( dataType ) )
      {
        reportChangeLen = zclGetDataTypeLength( dataType );
        pBuf += reportChangeLen;

        // add padding if needed
        if ( PADDING_NEEDED( reportChangeLen ) )
        {
          reportChangeLen++;
        }

        dataLen += reportChangeLen;
      }
      /*  remove this code
      else
      {
        pBuf++; // move past reportable change field
      }
      */
    }
    else
    {
      pBuf += 2; // move pass the Timeout Period
    }
  } // while loop


   ......



}





TAS5711: TAS5711 OUTPUT One Channel

$
0
0

Part Number: TAS5711

Dear Sir:

               I have some question about TAS5711. We know TAS5711 have 3 output Mode . such as:SE/BTL/PBTL. Now! I have a new desin. It need one speaker only. But I don't know do it. (I'm a  hardware engineer.) So Please teach me how to connect OUT_A/OUT_B/OUT_C and OUT_D. Please show me schematic or picture. If TAS5711 can't realize. which one can do it.(Digital POWER AMP)

 

Thanks!

Best Regards

AWR1642BOOST: Which mode does the mmwave studio default setting

$
0
0

Part Number: AWR1642BOOST

Respected ,

Here i am trying to build my own radar post processing algorithm in matlab .For algorithm input i was capturing the real time ADC data of AWR1642boost EVM with DCA1000 EVM . 

Using AWR1642boost +DCA1000EVM with mmwave studio , after opening the mmwave studio 02_00_00_02 application i connected the device and updated the firmware BSS,MSS 

After running the default values in mmwave studio i am able to capture the ADC_data.bin with a option of CAPTURE ,TRIGGER .after clicking  the post processing option processing i can see the output in radarstudio post processing matlab gui where i can also see the parameters like number of Rx channels enable and Tx channel enable.

Rx: 4 channels are enabled 

Tx: 2 channels are enabled 

 Que1:--

when i trying to estimate 1 DFFT , 2 DFFT and angle estimation for the ADC captured data . But when i try to estimate angle i always end up with one degree of error  ........ so i gone through the deoxygen documents and SDK of mmwave demo / SRR where i found that TDM-MIMO is used for that doppler compensation and range bias need to be done...... my major doubt is with the default setting of mmwave studio the radar is configured with TDM MIMO ? 

Q2:

For angle estimation accuracy should i need to compensate the doppler and range ?

Q3:

If the radar is configured with TDM MIMO then how to know which chirp corresponds to which antenna ? because i dont find any option in radarstudio post processing GUI to know chirp corresponding to particular TX antenna 

Q4:

After using TI sample code for data decoding ADC_data.bin to suitable values i found only 4 rows...............when i am having 8 virtual antennas according to the concept of TDM- MIMO i should also know which chirp corresponds to which antenna it means i should have 8 rows after decoding the data ! but i found only four column after decoding which clearly shows that each row corresponds to  each Rx antenna ..........

Q5;

Even the TX is enabled as 2 antenna in mmwave studio which means TX1 and Tx2 are simultaneously transmitting ? there is no TDM MIMO included ?

Request :

I tried my level best to estimate azimuth angle but not able to estimate accurate ..................i humbly requesting you for a example matlab code for estimating angle from 2DFFT .

Please think of this Questions and Requesting this will helps everyone in this forum !

Thanks in advance !

ISO5852S: PSPICE Library file conversion to SaberRd

$
0
0

Part Number: ISO5852S

Hello, I would like to simulate the ISO5852s IC in SaberRd software. The software has a tool for converting the PSPICE library to SaberRd, but since the model provided on the website is encrypted version, I am unable to convert it successfully. I have attached the error message for your reference. 

Viewing all 262198 articles
Browse latest View live


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