Anonymous
Not applicable
Nov 25, 2011
06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 25, 2011
06:48 AM
PSoC3/PSoC5 device has multiple sources which can reset the device.
- WatchDog
- Low Voltage Detect Analog, LVI-A
- Low Voltage Detect Digital, LVI-D
- Software Reset and so on
Once the device is reset it is possible to identify the source of reset by reading the value of the register, RESET_SR0. However this register is read on clear. When the reset is triggered and the device boots, the device by default waits for bootloader and in the bootloader code this register is read and the status is cleared. However before reading this register the code preserves this register value as a variable, uint8 CyResetStatus.
Labels
- Labels:
-
PSoC 5LP
1 Reply