TI E2E Community
C2000 32-bit Microcontrollers Forum
TMS320F2808 software reset
Could anyone tell me how to do software reset for that uC.
Enable watchdog and write incorrect value to watchdog reset key register.
Bartosz is correct in that there is not true software reset available in the F28xxx devices. You can accomplish this by triggering the Watchdog Timer in software. To do this you need to write the wrong key value to the WDKEY register. This is described in the Chapter 3 of the System Control and Interrupts Reference Guide for you device.
Sorry Tim but I've to correct you:
To force a software reset by the watchdog unit you have to write into WDCR and not into WDKEY! A wrong value written into WDKEY will do nothing. A reset can be forced by a false pattern ( any other than 101) written into the WDCHK - Bits of WDCR (Figure 3-14, sprufb0B).
You are correct. I mispoke in the last reply. I stated the WDKEY after reading the original reply. It is the WDCHK bits of WDCR. Thanks for correcting this :)
On the same topic. Could someone point me to a TI document that list's the watchdog module and it's registers in detail (TMS320F2808).
Thanks in advanced...
See the System Control and Interrupts Reference guide for the 280x devices: http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spru712g
There should be a chapter about the watchdog and its registers.
Can anyone help me about initializing codes for tms320f2808 (fixed point) ? Especialy Step 1 pls. I am new at DSP.
Software for this application is written in C language with the use of Code Composer Studio™ software.The Psuedocode looks like this:Step 1. Initialize DSP with required clock rate and peripheral sections powered.Step 2. Initialize I2C registers.Step 3. Initialize PWM ISR and start at initial low value.
Aykut,I would recommend taking a look at the "C280x, C2801x C/C++ Header Files and Peripheral Examples":http://www.ti.com/tool/sprc191This and other resources that may be useful for a F280x developer can be found on the MCU's product page. For the F2808 this is at:http://www.ti.com/product/tms320f2808Good luck in your project!(Note that generally it is usually best to start your own thread unless the topics are strongly related. This often speeds response)Thank you,Brett
I looked dozen of that but I am new at that. Can anyone give me a C code?
I've started with the examples in ControlSuite and the labs provided by TI. Always read the corresponding chapters in the documentation and follow the code examples.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.