Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
I want to pass variable in CPU1 to CPU2 and vice versa!.............!
I an new to TMS320F28379D Launchpad XL
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
I want to pass variable in CPU1 to CPU2 and vice versa!.............!
I an new to TMS320F28379D Launchpad XL
Shivashankar,
You can pass this info via MSGRAM and IPC which is provided to pass info between CPU. If you want the variable address to be same on both CPU then you have to use #pragma to assign the variable on both CPU in same location. You can refer IPC example in C2000Ware.
Regards,
Vivek Singh
There are several techniques depending on what you want to do and how much data you want to transfer. For a single variable, the basic IPC method is your best bet. I think a good resource for you will be the F2837xD workshop materials. Lab 11 contains an example of CPU-CPU data transfer using IPC.
The workshop materials can be found here:
https://training.ti.com/c2000-f2837xd-microcontroller-workshop
Regards,
Richard
Hi Shivashankar,
I hope you have got the information you were looking for. Let us know if you have any further queries on this.
Regards,
Vivek Singh
Can you elaborate a bit more on your last query or start a new post with more detail so that it can be assigned to appropriate engineer.
Hello Vivek,
I want to run a clock that powers up when I power up the board and need to reset either powering it off or reset button. At the same time need to read the output of sensor that is configures to one of the ADC Pin on the board.
Basically I am doing this to know what is the value of time and sensor value which can also be used to know the rate of change of value.! Do also suggest me if there is any other alternative to do so.
My requirement is to know know rate of change of the sensor reading in every 1 ms interval..!
Thanks in advance,
Shivashankar
I am marking this issue resolved. If it's not please start a new post with query related to timer.
Regards,
Vivek Singh