Questions tagged [reset]

The reset line on a computer or other digital circuit places the circuit in a well defined initial state. Most microcontrollers have a built-in power-up reset to start the CPU executing code and may also have external resets and watchdog timers to help recover from unexpected events.

Filter by
Sorted by
Tagged with
0
votes
0answers
36 views

STM32F030CC reset into system memory after NRST deassertion

I did lots of search before this post here. The problem I met is STM32F030CC reset into system memory after NRST deassertion. The burned-in-flash program can run well after POR, but not any more after ...
2
votes
0answers
54 views

STM32F103 timer behaves differently after hardware reset instead of st-flash reset

I'm learning to program the STM32F103C8 Cortex-M3 (on a BluePill board) and was playing around with the general purpose timers (TIM2 to TIM5) because I wanted to time some routines. In my simple ...
2
votes
2answers
58 views

Finite State Machine and Reset Signal

let's consider a certain finite state machine, for instance a Mealy Machine: I was told that it cannot work properly in absence of a reset signal (for the State Register), since we would not know the ...
1
vote
0answers
51 views

How to enable auto reset in Arduino Leonardo? [migrated]

I am trying to program an ATMega32u4 microcontroller through arduino IDE. I have added external oscillator(16Mhz) and capacitors and few other connections according to the Schematic. I had put a ...
0
votes
0answers
34 views

esp8266 reset - power consumption

I am working on project with esp8266 UC powered with 3.7v lithium ion battery, where the reset pin is pulled low to keep it OFF. I would like to know if my battery were to be consumed with this ...
0
votes
2answers
95 views

Is Brownout Reset Circuit a standard or optional safety feature in an MCU?

I've been using STM32 MCU's without paying attention to the BOR circuit: Some datasheets indicate that the device has a built-in BOR circuit but some doesn't include such an information. Is it ...
1
vote
3answers
64 views

Arduino nano resetting after solenoid valve fires

I'm trying to control small, plastic 12V solenoid valves with an Arduino nano. I have an Arduino nano hooked up to a Sainsmart 4-Channel 5V Relay Module, and finally connected to the solenoid valves, ...
0
votes
1answer
49 views

Atmega328pb microncontroller hangs

I've been working on a project with Atmega328PB microcontroller using both the UARTs for communication. The controller runs fine for a long time but all of a sudden it does not respond at all. It ...
0
votes
1answer
60 views

Open drain voltage detector NCP301LSN45T1G

I have to use a voltage detector to detect a decrease in voltage to reset a microcontroller. I have found the NCP301LSN45T1G to do this. But I have a question about the Reset Output current (N-...
0
votes
2answers
62 views

Problem with the reset circuit for a MCU

I need help by understanding the problem with an existing MCU circuit concerning the Reset PIN (STM32 Cortex M0+: STM32L071K8): It seems something in the circuit is wrong, since it works only when I ...
0
votes
1answer
56 views

STM32 Reset Reason - detect debug reset

In my project I want to set the configuration of the RTC based on the reset source. If a reset is done via hardware reset NRST, the RTC shall be set to zero.If there was a reset due to wake up from ...
0
votes
0answers
53 views

Cortex SWD pins disabled

I am trying to flash an Ambiq Apollo via SWD. The problem is that my debugger is unable to connect to the board. Initially, i though that the SWD pins would simply be remapped by software on the MCU....
0
votes
1answer
46 views

Relating RAM usage with stack allocation and random resets in a microcontroller

This might appear to be too much data way too scattered to understand, but I'll make a genuine effort to explain. Controller: R5F111MJ (ROM 256KB, RAM 16KB), RL-78/L1C family. Datasheet can be found ...
2
votes
1answer
70 views

Resetting of NodeMCU ESP8266 in deep sleep

I have been doing a project as my first project to learn ESP8266 applications. My project is a temperature and humidity values data logger and upload the data to Thingspeak. The sensor used is DHT11. ...
0
votes
1answer
108 views

Designing a special 4-bit counter with flip flops

This is a normal design of 4-bit counter using D flip-flops The outputs Q0 to Q3 are connected to diodes. I want to modify this counter in such a way that it follows the following counting sequence ...
0
votes
3answers
195 views

stm32 - is there a factory reset?

for the past couple of months I have been developing software for a custom build board. Due to a non disclosure agreement i am not allowed to share the schematics , PCB layout or software of the board....
0
votes
1answer
67 views

Orange Pi zero hardware reset

I have been working on a development board for the Orange Pi Zero platform. I want to add a button which allows to restart the board. Is it possible to implement such functionality?
0
votes
3answers
129 views

What code issues could persist past a reset? (STM32F103)

I have a project running off a Bluepill board (STM32F103C8T6) that ceases to function only after it runs for ~6 hours. Up to that point it behaves totally normally, and UART logs don't indicate ...
0
votes
1answer
43 views

Eliminating power-on state changes caused by input signal fluctuations

I have a circuit that uses several comparators to read an analog input signal and control some downstream digital logic. When the device powers up, the logic states fluctuate because the input signal ...
1
vote
1answer
77 views

SAMD controlling BLDC resets during high current spike; EMI problem?

I have been making a brushless DC motor controller that is controlled through an ATSAMD21E16L and a MIC4609 mosfet driver. At low average currents of 2A or so, I drive the motor just fine, but when I ...
1
vote
2answers
114 views

Power drop on AC-DC converter due to relay

A uController circuit is powered with an AC-DC converter. This circuit in turn acts on some relays to turn on and off some loads. We have two bi-stable relays and another simple relay (Omron G5DN-1A) ....
0
votes
1answer
114 views

Finite State Machine Reset Signal FPGA

I've already done the datapath for my system using a synchronous reset and now I have to control everything using state machines. What I'm confused about right now is whether or not the reset signal ...
6
votes
4answers
572 views

Resetting two CD4017 counters simultaneously, only one resets

I am working on a simple 24-hour clock based on the CD4017. To reset when the clock reaches the 24th hour, two diodes are used to produce an "and" logic when the 2 digit and 4 digit LEDs receive a ...
1
vote
2answers
144 views

Firmware only runs when I press the reset button

I've created a board using the STM32F405R6T6. I am experiencing some problems: after I program the firmware onto the microcontroller, withdraw the power and reinsert, the firmware only starts to run ...
0
votes
1answer
98 views

STM32F103 reset button does not work [closed]

I am working project, using STM32F103C8T6 and W5500 Ethernet module. My project is something like network relay. My problem is ...
2
votes
4answers
296 views

Cortex M3 reset handler with vector table relocation

I have a system with an STM32F103, which has a bootloader and a main app. Now, the main app is offset from the beginning of the flash to make room for the bootloader, and on cold boot the firmware is ...
0
votes
1answer
90 views

Reset ATECC508A to default?

Is there a way to reset the atecc508a from Microchip Technology to default? The configuration zone was already locked. I would appreciate any help. Thank you very much.
0
votes
0answers
85 views

Microcontroller resets with motor driver (L293D)

I am making a simple robot with 2 BO motors driven by L293D on ATmega328P (took out from Arduino Uno). The robot when tested on Uno works fine. But when I put it on the board that I have designed (as ...
0
votes
1answer
57 views

Reset MCU with a 1-0 button

I am working on a silabs C8051 MCU. It has a sleep mode which should be woken up by a reset. The mcu should start working (wake up from sleep) when the button in connected to Ground (Otherwise it is ...
0
votes
1answer
102 views

STM32L4 Reset Issue

I have been facing a reset issue. My controller resets randomly. I have Codded for the source of reset at the begin of the routine. For the testing the code I made the system reset on purpose and ...
1
vote
1answer
94 views

Understanding MCU Reset Pin working

I am using this Microcontroller NXP MCU I am trying to understand the RESET Section of the microcontroller. 1.On page 83, it is given as MCU reset is a bidirectional pin. So, It can drive other ...
2
votes
3answers
165 views

Multiple Reset Synchronization

I have two active low async resets (rst_na and rst_nb) and associated two clocks (clk_a and clk_b). Assume Block B required ...
0
votes
3answers
105 views

HDL code convention for register resets

When it comes to (synchronously) resetting registers in HDL (I'll use Verilog), is it considered bad practice to code the reset combinatorially? As far as I can tell, the following two snippets are ...
0
votes
1answer
148 views

How is asynchronous reset physically implemented in a flip-flop?

In Cliff Cumming's excellent paper on asynchronous vs synchronous resets, the following paragraph about the risk of metastability appears on page 19: Attention must be paid to the release of the ...
2
votes
1answer
53 views

Preventing inadvertent feeding of an external watchdog

Most internal watchdog timers found on microcontrollers contain mechanisms to prevent an inadvertent feed, usually requiring the write of a specific key-value to the feed register, although some ...
5
votes
3answers
1k views

I know what a Reset signal is, but a Set/Reset signal? Isn't that impossible?

A schematic by Lattice Semiconductor includes the diagrammed D flip-flop. This D flip/flop accepts, among others, a Set/Reset signal. I would have understood a Set signal. I would have understood a ...
19
votes
7answers
3k views

Necessity of an external watchdog timer

What is the need for an external watchdog timer for a microcontroller? Most of the microcontrollers are designed with an internal watchdog timer. However, in some of the circuits they are using an ...
1
vote
3answers
536 views

Resetting CD4017 Counter when power source is OFF

I found the circuit below online and I have two questions about the reset switch. Does it help to click the reset button when power is OFF? I mean, does it clears the memory of the CD4017 chip when ...
0
votes
2answers
213 views

Is it possible to generate internal reset pulse in verilog with machxo3lf fpga?

I have a board without Reset input for my design. But I need to reset at fpga startup. Is there a verilog solution to generate this pulse ?
0
votes
1answer
57 views

RESET signal to multiple ICs

I have 3 ICs in my circuit that have active-low reset signals. By pressing a tactile button I would like to reset all 3 of them. two of them operates with 3.3V and one of them operates with 1.8V. ...
0
votes
1answer
401 views

STM32 power down procedure

This is my first time to design STM32 circuit and I have no experience about the power down procedure. In my opinion, it may be very rude to shut down the power supply as soon as the user presses ...
1
vote
1answer
119 views

Weird reset problem in FPGA Design

I'm facing a weird problem. I have written an UART and a FSM. This design just print some text on the screen automatically, just after loading the bitstream. The problem is: when I load the bitstream, ...
2
votes
1answer
76 views

Safety Relay Circuit

I am looking for a way to add a relay-based safety feature to my BLDC controller. In case of an emergency the user must be able to push an e-stop (probably consisting of an NC contacts) completely ...
1
vote
1answer
73 views

circuit that disconnects a connection

I'm designing a circuit that will disconnect a connection when 5 consecutive square wave pulses are missing. If less than 5 consecutive pulses are missing then I want to reset the counting process. <...
0
votes
2answers
77 views

ESP 12E resets on connecting to a client in WiFi mode

The image above is my schematic for ESP12E. I soldered the circuit as shown. When ESP is in WiFi mode (like an AP), and I try to connect to that from any device (laptop, mobile) there is a very high ...
0
votes
3answers
252 views

Delayed, active low, short pulse for reset

I am attempting to create a circuit using a TUSB2036 usb hub IC that automatically starts when it is powered on. The datasheet states for the inverted RESET pin RESET is an active low TTL input ...
1
vote
2answers
381 views

Press and hold the reset button to reset AVR!

I connected a tactile switch to the AVR reset button according to the circuit below. every time I press the button the AVR resets itself but my question is: Is there a way to make this button acts ...
0
votes
1answer
47 views

Isolating Power in Communicating 5V Sub-systems

I have been plagued by a sensor sub-system which, when connected to my base micro-controller platform, intermittently causes issues that I would categorically associate with power sequencing issues at ...
-1
votes
2answers
52 views

Use single GPIO out to reset multiple lines

I want to use a single Raspberry Pi GPIO out to reset two lines: LCD and CTP. What would be a correct schematic ? Can I simply connect both lines together ? Both devices are "no-name", i.e. no ...
0
votes
2answers
109 views

What is a dc reset?

I read this sentence from a book: "MR is a dc reset". It said about master reset leg in a counter IC. I have been searching but found nothing related to this terminology. I wonder what a dc reset is?...