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

CCS/TMS320F28377D: Debugger information, wrong address of pointers

$
0
0

Part Number:TMS320F28377D

Tool/software: Code Composer Studio

Hi

Please check previous thread.

In the mean time I installed CCS8.3 and tried with a new workspace. -> Same issue.

I created a small test project based on the blinky example of c200Ware and finally found out that it is an optimization issue. 

I have following function:

Assambly code without optimization:

Assambly code with optimization: Optimization Level 0 (Register Optimizations)

With optimization the address of the pointer is not copied on to stack and stays in the auxilary register XAR4.

But the debugger points to the memory address of XAR4L which is only the lower 16bit of the address.

The structure "DebugStruct" is at memory location 0x0001 0006 and not 0x0000 0006


RTOS/CC2640: Unable to add a second thread to BLE simple_peribperal Project

$
0
0

Part Number:CC2640

Tool/software: TI-RTOS

General overview: I want to be able to change the value of a BLE Characteristic over a SPI command.

At the moment I try to get a second thread running in the "ble5-simple_peripheral_cc2640r2lp_app" I downloaded from the TI Resource Explorer.

Hardware I use is the CC2640R2 Developmentboard and an iPhone running the TI BLE Startet app.

If I flash the Simple Peripheral-App on the board on it's own it works fine, I'm able to connect to the Bluetooth and view the values.

My question is how I can start a second thread.

As soon as I try to add a second thread, neither the bluetooth-connection nor the thread I added seem to work.

My current approach:

I modified the main function to start my thread:

int main()
{
  /* Register Application callback to trap asserts raised in the Stack */
  RegisterAssertCback(AssertHandler);

  Board_initGeneral();

  // Enable iCache prefetching
  VIMSConfigure(VIMS_BASE, TRUE, TRUE);
  // Enable cache
  VIMSModeSet(VIMS_BASE, VIMS_MODE_ENABLED);

  /* Update User Configuration of the stack */
  user0Cfg.appServiceInfo->timerTickPeriod = Clock_tickPeriod;
  user0Cfg.appServiceInfo->timerMaxMillisecond  = ICall_getMaxMSecs();

  /* Initialize ICall module */
  ICall_init();

  /* Start tasks of external images - Priority 5 */
  ICall_createRemoteTasks();

  SimplePeripheral_createTask();


  // MY CODE
  Task_Params_init(&taskParams2);
  taskParams2.stack = spTask2Stack;
  taskParams2.stackSize = 100;
  taskParams2.priority = 10;

  Task_construct(&spTask2, second_taskFxn, &taskParams2, NULL);


  /* enable interrupts and start SYS/BIOS */
  BIOS_start();

  return 0;
}

above the main-function I defined the following:

PIN_Config ledPinTable[] = {
    Board_PIN_RLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL |
    PIN_DRVSTR_MAX,
    Board_PIN_GLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL |
    PIN_DRVSTR_MAX,
    PIN_TERMINATE
};

Task_Struct spTask2;
uint8_t spTask2Stack[100];
Task_Params taskParams2;

static PIN_Handle ledPinHandle;
static PIN_State ledPinState;
Semaphore_Handle sem;
Semaphore_Params semParams;


static void second_taskFxn(UArg a0, UArg a1)
{
    ledPinHandle = PIN_open(&ledPinState, ledPinTable);
    Semaphore_Params_init( &semParams);
    sem = Semaphore_create(1, &semParams, NULL);

    while(1){
        PIN_setOutputValue(ledPinHandle, Board_PIN_RLED, 1);
        Semaphore_pend(sem, 1);
        PIN_setOutputValue(ledPinHandle, Board_PIN_RLED, 0);
        Semaphore_pend(sem, 1);
    }
}

Compiler/AWR1642: Can I set the number of adc sample to 512 points in SRR function?

$
0
0

Part Number:AWR1642

Tool/software: TI C/C++ Compiler

Hi sir,

Can I set the number of adc sample to 512 points in SRR function?

I try to set this parameter in TI AWR1642 demo code but it's not work. (srr_config_chirp_design_SRR80.h << This head file.)

"#define PROFILE_SRR_ADC_SAMPLE_VAL          (512U)"

however in "srr_config_chirp_design_USRR20.h" USRR function is able to work.

"#define PROFILE_USRR_ADC_SAMPLE_VAL          (512U)"

Please help to clarify this question A.S.A.P.

Thanks!

TPS54202: Allowed voltage /overvoltage on TPS54202 enable pin

$
0
0

Part Number:TPS54202

Hello,

we got a potential problem with the TPS54202 enable pin.

Due to some fault the enable pin was directly connected to the input voltage.

The design works and mayn pcbs have been built, but now we found out that some power is dissipated

into the regulator due to current flowing into the enable pin at 12V (about 20ma current).

This current raises significantly if the voltage raises. 80ma at 15V

Can we leave the manufactured pcbs in this way and correct new ones only (limit from datasheet is 7V), as

the additional power and heating is not critical as we tested.

But maybe a delayed fault induced inside the chip ?

We can guarantee that there are not more than 12V at the input and the 15V have been apllied for

testing the problem only. As the package does not heat significantly and the design works as intended

regarding the supply itself the sole question is if this would cause a failure of the regulator some time

later... EMC tests like Burst and Surge have already been done without causing problems.

 

DS90UB954-Q1: CMLOUT AC capacitor

$
0
0

Part Number:DS90UB954-Q1

Hi

In the  DS90UB914 datasheet it says that AC capacitor are needed for CMLOUTp/n measurments , in the DS90UB954 there is no mention for AC capaicitors only for the 100oHM termination , 

Is it by purpose or the 954 chip should also have them ?

regards,


Avi

MSP430F5152: MSP430F5152 gives Module Locked error while programming

$
0
0

Part Number:MSP430F5152

Dear All,

When I am programming MSP430F5152 with Uniflash tool it gives error of "module lock" but when I programmed it with Fet-pro430 it not gives any error and program in one shot only by Jtag Spy by 2 wire connection.

Why in uniflash"module lock" error comes while in Fet-Pro430 it not gives any error on same device MSP430F5152 with same debugger tool MSP-FET flashing Emulation Tool.

Which software tool is better for programming in production Uniflash or Fet-Pro430?

And I think Uniflash is of TI supported and not requires any license key but Fet-Pro430 is third party and reuire product key so Uniflash is better but it giving error as "Module Lock" while Fet-Pro430 not.

Please reply...

Regards,

Mahendra Rana

TPA2018D1YZFEVM: TPA2018D1 Interface I2C Problem

$
0
0

Part Number:TPA2018D1YZFEVM

Hello, 

I haveTPA2018D1YZF Evaluation Module.

When I downloaded TPA2018D1 Interface i took "I2C Failure" error. Drivers looks okay. I upload last NI VISA Drivers. What should i do with that..

 

Linux/AM3352: USB RNDIS connection doesn't work at times

$
0
0

Part Number:AM3352

Tool/software: Linux

We are using kernel version 4.9.31 (Arago Krogoth). The issue we face at times is as follows:

  1. Connect USB flash drive to the system
  2. Disconnect USB flash drive
  3. Connect USB cable (to get ethernet over USB connection (RNDIS)) 
  4. USB cable doesn’t get detected. To get it to work, connect and disconnect USB flash drive onto the system again or we need to reload the driver (musb_dsps). After this sequence, connecting the USB cable results in RNDIS connection to work

Please note this issue we do not face all the time.. I suspect there is something caused because of switching between USB host and device modes which results in this situation. Are there any patches or is this is a known issue? Any pointers or steps to debug?




CC2592: CC2592_Re-flow cycle information

$
0
0

Part Number:CC2592

HI Support Team,


We are using CC2592 2.4Ghz_RANGE_EXTENDER in our one of the product. Now we are going to mass production before that I need cc2592 re-flow cycle data like below..
We also required it re-flow cycle graph diagram.

Please provide us these information on urgent basis.

Note:-
1. Peak minimum temp. on Body:-?
2. Ramp up Rate:- ?
3. Time above Liquidus:- ?
4. Soak time (260°C +0/-5 °C) :- ?


CC2530: CC2530_Re-flow cycle data

$
0
0

Part Number:CC2530

HI Support Team,


We are using CC2530 2.4Gh_Zifbee chip in our one of the product. Now we are going to mass production before that I need CC2530 re-flow cycle data like below..
We also required it re-flow cycle graph diagram.

Please provide us these information on urgent basis.

Note:-
1. Peak minimum temp. on Body:-?
2. Ramp up Rate:- ?
3. Time above Liquidus:- ?
4. Soak time (260°C +0/-5 °C) :- ?

TPS22918: Is there any recommended condtion of rise time and fall time of VIN power?

$
0
0

Part Number:TPS22918

Hi Expert,

My customer is asking us if there is recommended operating condition of rise time and fall time of VIN power as TPS22918 specification. Do you have such values min and max?

I have never considered this kind of power up/down requirement for load switch product like TPS22918 before. Of course, we have to provide stable VIN power for normal operation. However, I thought that such slew rate of power up/down doesn't cause any irregal behavior of TPS22918 internal circuit.

May I have your advice to answer to the question from the customer?

Thanks and regards,
Ikoma

CC1101 Problems with ASK/OOK

$
0
0

Hello,

I have a Projekt in my University. Its about the Current Consumption of the CC1101.

We combine the CC1101 with levelshifter and an Arduino Uno .

So i dont have the Chance to use the RFstudio from TI.

Whats so ever, i got problem with implementing ASK/OOK Modulation. I just read some Threads here, but non of the settings from it will help me.

Everthing is fine with GFSK,2-FSK,4-FSK but ASK/OOK won't work. I also read the DN022 Document, but these settings seems also not to work.

I read about wrong RX Channel BW and wrong Output Power, but non of it would work. I also changed distance between the Transievers. Pls help me !

I'm also not sure about that Patable Table i read about, maybe i got understanding Problems ( do i have to get the Table in my source coud or into the Liberary ? for example : 

byte PA_TABLE[]= {0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,};)

Output Power = 0 dbm

Channel Bw = 203 KhZ

Deviation = 20,63 kHz

Channel Spacing = 199,951 kHz

Data Rate = 38,3835 kBaud

Sync word qualifier mode = 30/32 sync word bits detected

CRC enable = true

// Carrier frequency = 433 MHz
#define CC1101_DEFVAL_FREQ2_433  0x10        // Frequency Control Word, High Byte
#define CC1101_DEFVAL_FREQ1_433  0xA7        // Frequency Control Word, Middle Byte
#define CC1101_DEFVAL_FREQ0_433  0x62        // Frequency Control Word, Low Byte

#define CC1101_DEFVAL_MDMCFG4    0x8A        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG3    0x83        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG2    0xB3        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG1    0x22        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG0    0xF8        // Modem Configuration
#define CC1101_DEFVAL_DEVIATN    0x35        // Modem Deviation Setting
#define CC1101_DEFVAL_MCSM2      0x07        // Main Radio Control State Machine Configuration
//#define CC1101_DEFVAL_MCSM1      0x30        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_MCSM1      0x20        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_MCSM0      0x18        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_FOCCFG     0x16        // Frequency Offset Compensation Configuration
#define CC1101_DEFVAL_BSCFG      0x6C        // Bit Synchronization Configuration
#define CC1101_DEFVAL_AGCCTRL2   0x04        // AGC Control
//#define CC1101_DEFVAL_AGCCTRL2   0x43        // AGC Control
#define CC1101_DEFVAL_AGCCTRL1   0x00        // AGC Control
//#define CC1101_DEFVAL_AGCCTRL1   0x40        // AGC Control
#define CC1101_DEFVAL_AGCCTRL0   0x91        // AGC Control
#define CC1101_DEFVAL_WOREVT1    0x87        // High Byte Event0 Timeout
#define CC1101_DEFVAL_WOREVT0    0x6B        // Low Byte Event0 Timeout
#define CC1101_DEFVAL_WORCTRL    0xFB        // Wake On Radio Control
//#define CC1101_DEFVAL_FREND1     0x56        // Front End RX Configuration
#define CC1101_DEFVAL_FREND1     0xB6        // Front End RX Configuration
#define CC1101_DEFVAL_FREND0     0x10        // Front End TX Configuration
#define CC1101_DEFVAL_FSCAL3     0xE9        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL2     0x2A        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL1     0x00        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL0     0x1F        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_RCCTRL1    0x41        // RC Oscillator Configuration
#define CC1101_DEFVAL_RCCTRL0    0x00        // RC Oscillator Configuration
#define CC1101_DEFVAL_FSTEST     0x59        // Frequency Synthesizer Calibration Control
#define CC1101_DEFVAL_PTEST      0x7F        // Production Test
#define CC1101_DEFVAL_AGCTEST    0x3F        // AGC Test
#define CC1101_DEFVAL_TEST2      0x81        // Various Test Settings
#define CC1101_DEFVAL_TEST1      0x35        // Various Test Settings
#define CC1101_DEFVAL_TEST0      0x09        // Various Test Settings

Thanks & Best Regards,

Andi

TPS53659: What is PG deasserted timing when pin13 used as VCCIO input?

$
0
0

Part Number:TPS53659

Dear Experts,

We found PG will be de-asserted until Vout=0V when pin13 used as VCCIO input both rail A &B.

Is it a right reaction? I feel very strange...

How can PG low and VCCIO(pin13) low at the same time?

TPS56628: Is there any recommended condtion of rise time and fall time of VIN power?

$
0
0

Part Number:TPS56628

Hi Expert,

My customer is asking us if there is recommended operating condition of rise time and fall time of VIN power as TPS56628 specification. Do you have such values?

I have never considered this kind of power up/down requirement for DC/DC converter product like TPS56628 before. Of course, we have to provide stable VIN power for normal operation. However, I thought that such slew rate of power up/down doesn't cause any irregal behavior of TPS56628 internal circuit.

May I have your advice to answer to the question from the customer?

Thanks and regards,
Ikoma

ADS1299: Noisy data in Single Shot Mode AND No data in continuous conversion mode

$
0
0

Part Number:ADS1299

Setup - We are using 8-channel ADS1299 on a custom board to acquire data from an EEG-Simulator (NETECH MiniSim EEG). The custom board houses an ATMEGA328P-PU to acquire digital data with SPI connections to ADS1299. The MCU is attached to an FTDI Serial to USB converter, which in turn, is attached to a Macbook pro. The code is written in Arduino IDE and uploaded to MCU. The ADS1299 is being supplied with 5V unipolar supply. The Analog input pins of ADS1299 are connected to RC filter before connecting to the analog input. We are using two modes of ADS1299 to fetch data: In the single shot mode, we are acquiring data at 125 Hz and in continuous mode, we are acquiring data at 250 Hz. The input signal is a sine wave of 30 μV amplitude at a frequency of 5 Hz.

Problem - In the single shot mode, the FFT of the signal reveals a noise pattern comprising of multiple ripples. In the time domain, this noise has an amplitude of approximately 5-10 μV (and even more at times), which obscures a signal of 30 μV generated by the signal generator. In continuous mode, however, no signal could be appreciated. We wrote a code to check the toggling of DRDY (Data ready) Pin, but it doesn’t seem to toggle.

Questions:

  1. What is the source of the noise in single shot mode? Datasheet mentions that in single shot mode, the SinC filter resets and takes some time to be functional. During this time, aliasing might be causing noise. Is that so?

  2. Why are we not able to fetch data in continuous mode? Are we correct in inferring that DRDY is not toggling?


Replace ADI

$
0
0

Hi

Can TI replace ADuM3210BRZ-RL7 chip?

Thank you

Jerry

SN74CB3T16210: Can that device convert for sure 3.3v to 2.5v ?

$
0
0

Part Number:SN74CB3T16210

Hi,

This device is announced to enable 3.3v to 2.5v shifting. 

According to its datasheet, the level shifting is done as described in the follwing picture (taken from the datasheet) :

  

According to what said above, if I want to get VOH=2.5v I need to connect VCC=2.5V since "The output high voltage (VOH) level will be equal to approximately the Vcc voltage level".

On the other hand,  it is said that to get VOH=VCC, the VIH level be greater than or equal to Vcc+1v and less than or equal to 5.5v which means :VIH>=Vcc+1v=3.5v.

So if VIH shall b bigger than 3.5v (VIH>=3.5v) in order to get VOH=2.5v than how can that Level shifter make it for VIH=3.3v or little bit less (DC drop till the device) ??

Compiler/MMWAVE-SDK: Compiling the GUI using Qt

$
0
0

Part Number:MMWAVE-SDK

Tool/software: TI C/C++ Compiler

Dear Sir/Madam

I followed the developer's guide: 

• The PC-GUI was developed in C++ using MSVC 2017 compiler within the Qt framework. • If the user desires to modify the GUI source code then please follow the following steps • Download and install Qt (Qt Creator 4.3 was used in the current version) • Once Qt is installed. Select File  Open File or Project …. • Go to the GUI source files (…\vitalSigns_host\gui\gui_source) and open the project file with the extension “.pro” • You may be asked to configure the project. In the current version MSVC 2017 was used to compile the project. You may also use other compilers.

 

I download the QT5.10.0 with MSVC2017, and open the project file from mmwave_automotive_toolbox_2_4_3__win, but cannot build it, it said no valid kits:

Please add a kit in the options or via the maintenance tool of the SDK.

 Thanks in advance,

 

 Yi

TMS320F280049: Clarify the meaning of "Software Test" in F28004x safety manual

$
0
0

Part Number:TMS320F280049

Champs,

I am asking this for our customer.

We are targeting for functional safety ISO26262.

In F28004x safety manual (),

there are many "Software Test".

We are confused what "Software Test" means in the doc.

For example, in Sec 6.3.11 "Software Test of Parity Logic", it says "

It is possible to test the functionality of parity error detection logic by forcing a parity error into the data or
parity memory bits, and observing whether the parity error detection logic reports an error."

Does that mean (1) or (2) or both?

1) the user should write another code (not the application code) to test F280049 by forcing a parity error. That is, this testing code is used to test the IC once and verify the hardware parity function on F280049 works. 

2) the user should write a piece of codes and embed it in the application code, and run it initially every time the device is powered on.

That is, we are confused this kind of test code is part of user's application code or not? Should we run it every time or only once during development phase?

Do you have any suggestion or comment?

Wayne Huang

RTOS/CC2640R2F: ti rtos concept traning

$
0
0

Part Number:CC2640R2F

Tool/software: TI-RTOS

HI all

   I am new in TI rtos and CCS environment.i dint know much more about of rtos. can you help me how i start the t development? is it any video training marital available ?  

Viewing all 262198 articles
Browse latest View live


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