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 sir,
i need soft reset in msp430i2031.
please provide help how to work softreset in this module.
have a example code provide us.
Hi,
what exactly do you want to do? What do you mean with "soft reset"?
Please have a look at this post ( https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/47762/168852). Although it is not a I2031 it talks about how to create a reset in SW.
From that post:
"- enable the watchdog and make a while(1); This will cause a watchdog reset.
- write to the WDT register (or other password protected modules) without using the proper password. This will cause a password violation reset.
- do a FLASH read (from RAM) while the flash controller is busy writing (this will cause an access violation reset)"
Best regards,
Andre
Yes, it is suitable. One remark on number of cycles for execution.
If you write
WDTCTL = 0x0;
it will take 3 cycles to execute, as this will be interpreted as a "Watchdog Clear" command, which is more efficient.
If you write
WDTCTL = 0xDEAD;
it will take 4 cycles to execute.
In any case a PUC will be generated.
Best regards,
Andre
**Attention** This is a public forum