Jump to content
Sign in to follow this  
cry_viem

Reset Tiva C by sorfware

Recommended Posts

hi! i'm doing a project about security home and i consider how to reset Tiva C by sorfware. it mean the kit can automatically reset itself????. that's great if it's possible!!! :)

help me!!

your commets are very helpful to me!!!!! 

Share this post


Link to post
Share on other sites

The code vault is to post working codes, not to ask questions, please refer to the general forum for that.

 

if you check the datasheet you can see all the reset sources, i image you are using the tm4c123 launchpad:

5.2.2.1 Reset Sources
The TM4C123GH6PM microcontroller has six sources of reset:
1. Power-on reset (POR) (see page 214).
2. External reset input pin (RST) assertion (see page 215).
3. A brown-out detection that can be caused by any of the following events: (see page 216).
■ V DD under BOR0. The trigger value is the highest VDD voltage level for BOR0.
■ VDD under BOR1. The trigger value is the highest VDD voltage level for BOR1.
4. Software-initiated reset (with the software reset registers) (see page 217).
5. A watchdog timer reset condition violation (see page 217).
6. MOSC failure (see page 218).

 

If you use TivaWare you can do SysCtlReset(void);, For a reset with only using registers please check page 217 of the datasheet

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×