Questions tagged [code-composer]

Name of the IDE from Texas Instruments originally intended for DSP developers, later extended to cover almost all processors offered by TI. Currently contains Eclipse based IDE and toolchains.

Code Composer Studio in the official name given by Texas Instruments to their set of development tools: Integrated Development Environment with debugging tools. Initially the IDE was native Windows application made by TI, but from some time it is Eclipse based. Contains set of toolchains (assembler, c/c++ compilers, linkers, libraries, some real-time operating systems for DSP or ARM) as well.

Well known by any software engineer who developed on C64x or C67x DSP families or MSP430 family.

Probably only tool able to handle TI's or Spectrum Digital JTAG emulators used as hardware debuggers for TI chips.

References

193 questions
-1
votes
1 answer

ASP bit in the CONTROL register

how to set the ASP bit in the CONTROL register so that the thread code uses the PSP (the handler mode will always use the MSP) in tm4c123gh6pm.
rick
  • 1
  • 2
-1
votes
1 answer

Batch file command execution timeout

I have a batch file that compiles a project and then runs a JS that connects to a DSP, runs the program and reads the results from the DSP's memory (more detailed info about the DSP etc. is at the end of my question). My problem is that the…
AnR
  • 81
  • 7
-1
votes
2 answers

"Variable may not be initialized" when specifying the array size with another variable

I am trying to compile the following code: int rows = 4; int columns = 4; int numblock[columns][rows] = { {0,0,0,0}, {0,0,0,0}, …
neolith
  • 699
  • 1
  • 11
  • 20
-1
votes
1 answer

MSP430 I2C slave to generate PWM signal , master is R-pi3

I need to code for a MSP430FR5969 launch pad that can generate PWM signal upto 100KHz, I want to control it with R-Pi3 over the I2C bus to send the Freq and duty cycle to the MSP430. I am very new in coding MSP430, any help would be appreciate…
-1
votes
1 answer

Reinterpret bytes as float in C (IEEE 754 single-precision binary)

I want to reinterpret 4 bytes as IEEE 754 single-precision binary in C. To obtain the bytes that represent float, I used: num = *(uint32_t*)&MyFloatNumber; aux[0] = num & 0xFF; aux[1] = (num >> 8) & 0xFF; aux[2] = (num >> 16) & 0xFF; aux[3] = (num…
Guilherme
  • 35
  • 1
  • 8
-1
votes
1 answer

Length of the string from address of variable(&variable) - Embedded C

How can I find the length of the string from address of variable(&variable) ? Below is the code : SimpleProfile_GetParameter(SIMPLEPROFILE_CHAR7, &newValue); // Hello123 const char echoPrompt[] = "Print From BLE characters:\r\n"; UART_write(uart,…
Şivā SankĂr
  • 1,966
  • 1
  • 18
  • 34
-1
votes
1 answer

Understanding registers

I am reading code someone else wrote and I am confused with how they defined their registers the code goes like this: Uint32 GCRO; Unit32 ; 7U; I don't understand what the second line means. The code repeats with different named registers and…
G. Wags
  • 13
  • 3
-1
votes
1 answer

TI Simplelink BLE Debugging - can't place breakpoints in most of code

I'm posting this and then answering myself to document the issue for others. I am using the TI CC2650 Launchpad with the Simplelink BLE stack. The project I compile and run is Project Zero (with edited code and additional profiles). I want to place…
-1
votes
1 answer

what is the limit value in LINEOUT -TI LCDK C6748

I work in Code Composer Studio Version: 6.0.1.00040 with the card LCDK C6748. In this card there is LINE_OUT for sampling out audio into speakers. My question arises, because I encountered some phenomena that look like I reached a limit value when I…
Day_Dreamer
  • 3,311
  • 7
  • 34
  • 61
-1
votes
3 answers

Expected a Declaration

This is my first question (quite new to coding) so will try and include as much info as possible 'cos right now I'm stumped! I'm attempting to write code that will create a butterworth filter to fit user input specifications. I'm using Code Composer…
Ivo Johansen
  • 9
  • 1
  • 1
  • 2
-2
votes
1 answer

Parentheses in #define-macros fail

Programming an msp430 in CCSTUDIO. In second and third line the expressions compile fine without parentheses, but with parentheses as shown in second line, they fail to compile at the line where the macro is used. Why does it fail? #define LED2…
bretddog
  • 5,411
  • 11
  • 63
  • 111
-2
votes
1 answer

Trying to use timer_A to control an LED

I am trying to create a code that takes in an input from a 4x3 keypad, then turns that input into a duty cycle which using the Timer_A will adjust the LED's intensity. However my code is not working and I was wondering what changes the code needs.…
lopo0
  • 1
-4
votes
2 answers

Simple Code issue - undefined identifier

I've encountered an issue with my code, see the following code snippet: bool flag = false; if(flag==false) { int var=0; flag=true; } if(flag==true) { var=10; } In this case var is marked as undefined and CCS generates an error, which is…
Zaiga
  • 43
  • 7
1 2 3
12
13