Quantcast
Channel: Tools
Viewing all 95862 articles
Browse latest View live

Forum Post: RE: TIDA-00378: Angle between photodiode and LED

$
0
0
I don't think there is a specific reason for that exact angle. Mainly you want to be sure the photodiode and LED are not in direct view of each other.

Forum Post: RE: TIDA-00195: power loss calculation in Buffer Transistor

$
0
0
Naga, Could you please share your project requirements to me at navaneeth.kumar@ti.com and we will look at how to support you?

Forum Post: CCS / CC2650: An attempt to connect to the XDS110 failed

$
0
0
Part Number: CC2650 Tool/software: Code Composer Studio I am trying to run the hello world code on my board. I see in the Console: Cortex_M3_0: GEL Output: Memory Map Initialization Complete. Cortex_M3_0: Failed Board Reset: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.407.3) IcePick_C: Error connecting to the target: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.407.3) My computer is USB type-c and I use a connector convert USB type-c to USB and then connect with the XDS100. I choose XDS100V2 in my code when I create the project. I don't know why in the console it shows no XDS110 connect? Is there any setting I need to change in my CCS? And there are still some problems to be solved here. e2e.ti.com/.../780938 Thanks, YutongWu

Forum Post: RE: CCS/LAUNCHXL-CC2650: BLE Not Advertising....when i am debugging Project Zero, What Shoud I do

$
0
0
Hi, Have you added HID to the project zero example? That's not a simple port, so I would like to understand further what you are trying to attempt.

Forum Post: TINA/Spice/OPA350: Ask for help translating VSWITCH to ngspice

$
0
0
Part Number: OPA350 Tool/software: TINA-TI or Spice Models Hello, I am completely new to modeling and I would like to start a model of an integrator-comparator signal generator based on OPA350 . By reason I use ngspice and as far as I could understand the problem is with VSWITCHs which must be translated. Could anyone help me and show me on one switch how does it work? Thank you in advance!

Forum Post: CCS/AWR1642BOOST: issue on vital signs project on biquad cascade filter

$
0
0
Part Number: AWR1642BOOST Tool/software: Code Composer Studio Hi E2e, I try to trace the code on the function of "filter_IIR_BiquadCascade()" in DSS dss-vitalSignsDemo_utisFunc.c and found that it seems hard to compare with (PART I) filter_IIR_BiquadCascade() and (PART II) IIR DSP formula as followings, PART I: float filter_IIR_BiquadCascade(float DataIn, float *pFilterCoefs, float *pScaleVals, float *pDelay, uint16_t numStages) { // ALERT: skip some statements here for brief for (indexStage = 0; indexStage < numStages; indexStage++) { indexTemp = numCoefsStage * indexStage; b0 = pFilterCoefs[ indexTemp ]; b1 = pFilterCoefs[ indexTemp + 1]; b2 = pFilterCoefs[ indexTemp + 2]; a1 = pFilterCoefs[ indexTemp + 4]; a2 = pFilterCoefs[ indexTemp + 5]; scaleVal = pScaleVals[indexStage]; pDelay[indexTemp] = scaleVal * input - a1 * pDelay[indexTemp + 1] - a2 * pDelay[indexTemp + 2]; y = b0 * pDelay[indexTemp] + b1 * pDelay[indexTemp + 1] + b2 * pDelay[indexTemp + 2]; pDelay[indexTemp + 2] = pDelay[indexTemp + 1]; pDelay[indexTemp + 1] = pDelay[indexTemp]; input = y; } output = y; PART II : //* refer: en.wikipedia.org/.../Digital_biquad_filter //* refer: www.advsolned.com/.../ y(n) = b0 * scaleVal * x(n) + b1 * x(n−1) + b2 * x(n−2) – a1 * y(n−1) − a2 * y(n−2) // IIR filter i am afraid that the pDealy[] could not exact map to x() and y(), please checking and also checking 2 delay shifting (why does not 4 delay shifting?) pDelay[indexTemp + 2] = pDelay[indexTemp + 1]; pDelay[indexTemp + 1] = pDelay[indexTemp]; Best Regards, Kevin

Forum Post: CCS: AWR1642BOOST : Occupancy Detection Can I see Multiple Variables in dss using Debugging mode?

$
0
0
Tool/software: Code Composer Studio Hi. A few days ago, I was able to take the advice here and see RawData to compare the data on our boards with those on TI's boards. As a result, I have to change these Algorithm to adapt our board. Can I see multiple variables in dss using Debugging mode? I tried it, but there are errors like below. Regards, Jae ho C674X_0: GEL: Error while executing OnPreTargetConnect(): GEL_SetWaitInResetMode(): target does not support halt on reset at GEL_SetWaitInResetMode(1) at GEL_EvalOnTarget("C674X_0", "GEL_SetWaitInResetMode(1)") [xwr16xx_dss_csdap.gel:164] at DSS_PreConnect_CheckResetStatus() at GEL_EvalOnTarget("CS_DAP_0", "DSS_PreConnect_CheckResetStatus()", 1) [xwr16xx_dss_init.gel:11] at OnPreTargetConnect() C674X_0: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.0.27.9) C674X_0: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 8.0.27.9)

Forum Post: WEBENCH® Tools: Please help to recommend a very high cost performance of non-polar RS485 CHIPSET

$
0
0
Tool/software: WEBENCH® Design Tools Please help to recommend a very high cost performance of non-polar RS485 CHIPSET

Forum Post: WEBENCH® Tools/TIDA-01627: Reference design: tida-01627 bin file(USB Type-C™ PD Power Bank Reference Design)

$
0
0
Part Number: TIDA-01627 Tool/software: WEBENCH® Design Tools Hello, My design almost refers to tida-01627 . Can you send a reference design: tida-01627 debugged pjt file & bin file?I want to test my hardware through him.My email address:wjp_860623@126.com. Looking forward to your reply. Thanks.

Forum Post: CCS/MSP432P401R: How to control the birghtness of LED when I use the example code timer_a_pwm?

$
0
0
Part Number: MSP432P401R Tool/software: Code Composer Studio Hello all members of TI forum! I use the example code that called timer_a_pwm_code to control the brightness of LED. The code I had modified as following: /* DriverLib Includes */ #include /* Standard Includes */ #include #include //![Simple Timer_A Config] /* Timer_A PWM Configuration Parameter */ Timer_A_PWMConfig pwmConfig = { TIMER_A_CLOCKSOURCE_SMCLK, TIMER_A_CLOCKSOURCE_DIVIDER_1, 1920, TIMER_A_CAPTURECOMPARE_REGISTER_1, TIMER_A_OUTPUTMODE_RESET_SET, 192 }; //![Simple Timer_A Config] int main(void) { /* Halting the watchdog */ MAP_WDT_A_holdTimer(); //![Simple Timer_A Example] /* Setting MCLK to REFO at 128Khz for LF mode * Setting SMCLK to 64Khz */ MAP_CS_setReferenceOscillatorFrequency(CS_REFO_128KHZ); MAP_CS_initClockSignal(CS_MCLK, CS_REFOCLK_SELECT, CS_CLOCK_DIVIDER_1); MAP_CS_initClockSignal(CS_SMCLK, CS_REFOCLK_SELECT, CS_CLOCK_DIVIDER_2); MAP_PCM_setPowerState(PCM_AM_LF_VCORE0); /* Configuring GPIO2.4 as peripheral output for PWM and P1.4 for button * interrupt */ MAP_GPIO_setAsPeripheralModuleFunctionOutputPin(GPIO_PORT_P2, GPIO_PIN4, GPIO_PRIMARY_MODULE_FUNCTION); MAP_GPIO_setAsInputPinWithPullUpResistor(GPIO_PORT_P1, GPIO_PIN4); MAP_GPIO_clearInterruptFlag(GPIO_PORT_P1, GPIO_PIN4); MAP_GPIO_enableInterrupt(GPIO_PORT_P1, GPIO_PIN4); /* Configuring Timer_A to have a period of approximately 30ms and * an initial duty cycle of 10% of that (192 ticks) */ MAP_Timer_A_generatePWM(TIMER_A0_BASE, &pwmConfig); //![Simple Timer_A Example] /* Enabling interrupts and starting the watchdog timer */ MAP_Interrupt_enableInterrupt(INT_PORT1); MAP_Interrupt_enableSleepOnIsrExit(); MAP_Interrupt_enableMaster(); /* Sleeping when not in use */ while (1) { MAP_PCM_gotoLPM0(); } } /* Port1 ISR - This ISR will progressively step up the duty cycle of the PWM * on a button press */ void PORT1_IRQHandler(void) { uint32_t status = MAP_GPIO_getEnabledInterruptStatus(GPIO_PORT_P1); MAP_GPIO_clearInterruptFlag(GPIO_PORT_P1, status); if (status & GPIO_PIN4) { if(pwmConfig.dutyCycle == 1920) pwmConfig.dutyCycle = 192; else pwmConfig.dutyCycle += 192; MAP_Timer_A_generatePWM(TIMER_A0_BASE, &pwmConfig); } } I change the period and the duty cycle, but it did not occur variation of brightness when I connect the MSP432P401R Launchpad to the LED which on the breadboard. I connect the PWM signaloutpin2.4 as VCC on breadboard to LED and the GND pin as GND on breadboard to LED. I find when I change the period, I only change the blinking frequency of LED. I press the button pin1.4 can not obtain the brightness variation. I have get no ideas. Can somebody give me a advice of code or an example code of PWM? I appreciate any help. Sincerely thanks!

Forum Post: Why do the output of the bridge rectifier at the output of the Push pull transformer shoots to more than 1KV when a series L is connected as a filter?

$
0
0
Hai, I am designing a Solar inverter with pushpull topology on the primary side.my transformer is designed to generate a peak voltage of 400V at secondary.I actually placed bridge at the output of the transformer and found pulsating DC at the output of the Rectifier which is of 400V.But when i connect a LC Filter i happen to see that the Voltage shoots to KV range(across recifier).Why is that so? Should i redesign my induct or value? How should i go about designing a induct or for a push pull transformer?I have designed it for an output of 5A.

Forum Post: CCS: Hi all, I am unable to see the linear convolution results of two sequence on the terminal on CCS 5

$
0
0
Tool/software: Code Composer Studio Hi all, I am unable to see the linear convolution results of two sequence on the terminal on Code composer studio 5. I also want to know ho to see the numerical results on terminal as well as graph. I am using DSP processor TMS320C6416

Forum Post: CCS: Is there a DSS API to append the console output logs in an existing text file

$
0
0
Tool/software: Code Composer Studio Hi, I am using 'beginCIOLogging()' DSS API to log the console output to text file. This command creates a new text file or overwrites the logs in an existing file. Is there a DSS API that would append the log in an existing text file? Regards, Vinitha

Forum Post: Compiler/DLP4500: DLP4500

$
0
0
Part Number: DLP4500 Tool/software: TI C/C++ Compiler I am facing with some issue while using the SDK with visual studio 2017. The attachment shows the error I have. Can anyone help? In the SDK, it uses #include "boost/......" but the boost folder isnt there. So I downloaded Boost v1.69.0. Is this a possibility of causing the error?

Forum Post: CCS/CC2640R2F: Using Sensor Controller Studio to porting MS5837-02BA Pressure & Temperature Sensor

$
0
0
Part Number: CC2640R2F Tool/software: Code Composer Studio Hi All, I follow the document: 1. CC26xx, CC13xx Sensor Controller Studio Version 2.4 2. Integrating Sensor Controller Studio Examples Into ProjectZero and use SCS example I2C Light Sensor to porting my Pressure & Temperature Sensor but in the I2C Light Sensor example, it provide only simple function ex: i2cTx(I2C_OP_WRITE | ALS_I2C_ADDR); i2cTx(I2C_OP_READ | ALS_I2C_ADDR); i2cRxAck(resultRegH); i2cRxNack(resultRegL); to use for i2c read and write, in my sensor spec, i need to use some computation ex: for (uint8_t i = 0 ; i >1]) & 0x00FF); } else { n_rem ^= (uint16_t)(n_prom[i>>1] >> 8); } for (uint8_t n_bit = 8 ; n_bit > 0 ; n_bit--) { if ( n_rem & 0x8000 ) { n_rem = (n_rem > 12) & 0x000F); … // Terms called dT = D2-(C[5]*256l); SENS = (C[1]*65536l)+((C[3]*dT)/128l); OFF = (C[2]*131072l)+((C[4]*dT)/64l); P = (D1*SENS/(2097152l)-OFF)/(32768l); // Temp conversion TEMP = 2000l+((dT*C[6])/8388608LL); // Second order compensation if((TEMP/100)<20){ // Low temp Ti = (11*dT*dT)/(34359738368LL); OFFi = (31*(TEMP-2000)*(TEMP-2000))/8; SENSi = (63*(TEMP-2000)*(TEMP-2000))/32; } OFF2 = OFF-OFFi; // Calculate pressure and temp second order SENS2 = SENS-SENSi; TEMP = (TEMP-Ti); P = (((D1*SENS2)/2097152l-OFF2)/32768l); Like these computation, I need to add in SCS Initialization Code, Execution Code, Event Handler A Code and then Code Generator to CCS. I want to know how can i do for these computation Can i computation in CCS? If i want to print some temerature and pressure value in SCS to debug, what can i do? Thanks Best regards, Alan Lee

Forum Post: CCS: Indexer not working

$
0
0
Tool/software: Code Composer Studio Has the CCS8.2 also this problem? Regards, Holger

Forum Post: CCS/PGA900EVM: PGA900EVM

$
0
0
Part Number: PGA900EVM Tool/software: Code Composer Studio That is a AD5252 used In PGA900EVM , but I2C in PGA900 can only operated as a slave device. how can PGA900 drive the AD5252? SDA and SCL used as I\O to Simulation of I2C?

Forum Post: CCS/CC2640R2F: Unable to program my custom board using cc2640 Launchpad

$
0
0
Part Number: CC2640R2F Tool/software: Code Composer Studio Hi I have been trying to program my custom cc2640r2f board using cc2640r2f Launchpad xds110 debugger. I have removed the extreme right jumper which is used for connecting power through xds and have connected my custom board, But when I run a program I think it gets loaded in cc2640 launchpad instead of my custom board. Please help me with connections of launchpad and custom board.

Forum Post: CCS/TMS320F2812: Use of F2812 Simulator and Port Connect feature

$
0
0
Part Number: TMS320F2812 Tool/software: Code Composer Studio For the F2812 simulator which runs in Code Composer Studio V3.3, how do I configure CCS to allow me to use the Port Connect feature of the simulator to simulate data transmitted and received by the SPI and McBSP ports? I think the data is read or written to text files associated to the ports. What do I have to do to allow the files to be accessed during the simulation?

Forum Post: CCS/TMS320VC5402: CCS version compatibility for TMS320VC5402

$
0
0
Part Number: TMS320VC5402 Tool/software: Code Composer Studio Dear Experts we have lot of LEGACY boards that has TMS320VC5402 DSP and we have been using CCS 2.1 version for any development work - can anyone suggest what latest versions of CCS could we use?
Viewing all 95862 articles
Browse latest View live


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