Hello,
Could anyone tell me how to do software reset for that uC.
Thank you
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.
Hello,
Could anyone tell me how to do software reset for that uC.
Thank you
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.
Regards,
Tim Love
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).
Regards
Frank,
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 :)
Regards,
Tim Love
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/sprc191
This 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/tms320f2808
Good 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'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.
Goodluck!
Hi Dharmendra,
I hope you have got this working.
On your following query -
WD reset is full reset OR custom RESET(Hard reset)?
WD reset is same as resetting the device using the XRSn.
Regards,
Vivek Singh