Hi,
Can you please let me know any way of resetting Sparkfun edge without switching off the power supply??
Hi,
Can you please let me know any way of resetting Sparkfun edge without switching off the power supply??
The reset pin is connected to DTR (pin labeled GRN on the board) and I believe toggling that pin low should do the trick.
Hi,
additionally you can use either:
a) the reset button on the board (press to put the board in reset, release to resume from reset condition)
b) use this function to perform a reset of the board from software
am_hal_reset_control(AM_HAL_RESET_CONTROL_SWPOR, 0);
Other possible values for the first arguemnt are:
//**************************************
//! Reset Generator control operations
//**************************************
typedef enum
{
AM_HAL_RESET_CONTROL_SWPOR,
AM_HAL_RESET_CONTROL_SWPOI,
AM_HAL_RESET_CONTROL_STATUSCLEAR,
AM_HAL_RESET_CONTROL_TPIU_RESET
} am_hal_reset_control_e;
I tried but sometimes its getting reset and sometimes it is not getting reset when I connect GRN pin to groundTS-Chris:
The reset pin is connected to DTR (pin labeled GRN on the board) and I believe toggling that pin low should do the trick.
Since the DTR to RESET connection is not direct (as shown in the schematic here: https://cdn.sparkfun.com/assets/2/b/7/4 … ematic.pdf) it is not quite so cut and dry. Can you explain why the Reset button or software reset won’t work for you?