DA14531MOD RESET_PIN related

Hi there,

I am using RESET_PIN for stopping the broadcasting and mobile app disconnection.

Like I am making reset pin high for stop the broadcasting and I am toggling it to disconnect from the mobile APP.

Is that ok or will it cause any issue in longer period of time?

Parents Reply Children
  • I am trying to use P0.0 to reset the module after it has started but this doesn't seem to work. According to the Hardware Guidelines this pin act as reset only before boot. After boot it is configured as GPIO.

    Is there a way to reconfigure this pin as rest input after boot?

    I am using the DA14531MOD module as is. Without modifying its code. Only through AT commands.

  • Hi Timor,

    Thank you for the reply.

    I am using the DA14531MOD module as is. Without modifying its code. Only through AT commands.

    On the CodeLess SDK if you check on the user_periph_setup.c file:

    On the DA14531MOD, the P0_0 is also being used for the SPI Flash. Because some AT commands might utilize the SPI Flash (i.e. AT+BND) we have disabled the P0_0 as HW Reset.
    You can modify the CodeLess SDK and enable the P0_0 as HW reset via the following APIs:

    /**
     ****************************************************************************************
     * @brief Disable hardware reset functionality on P00.
     ****************************************************************************************
     */
    __STATIC_FORCEINLINE void GPIO_Disable_HW_Reset(void)
    {
        SetWord16(HWR_CTRL_REG, 1);
    }
    
    /**
     ****************************************************************************************
     * @brief Enable hardware reset functionality on P00.
     ****************************************************************************************
     */
    __STATIC_FORCEINLINE void GPIO_Enable_HW_Reset(void)
    {
        SetWord16(HWR_CTRL_REG, 0);
    }


    Best Regards,
    OV_Renesas

  • Thank you for the prompt response.

    I think that the fact that "P0_0 is disabled as HW Reset" should be clearly mentioned in the user manual because currently the manual specifies that this pin is a reset input (as default).

    You may also add a note that this can be revised by editing and downloading customized software (we use Renesas pre-complied hex file).

  • Hi Timor,

    Thank you for the reply.
    I will share your comments with the BLE Team.
    For CodeLess SDK for Reset we offer the following:
    9. AT Commands — DA145XX Tutorial SDK Getting started


    Best Regards,
    OV_Renesas

  • We use binary mode so AT commands are ignored (after putting the device into binary mode). We currently use the escape sequence to exit binary mode (and then use ATR or SLEEP as needed), but it would have been good to have a HW reset to make sure we can reset and control the device in case the escape fails or to overcome any other software error that may occur.

  • Hi Timor,

    Thank you for the reply.

    We use binary mode so AT commands are ignored (after putting the device into binary mode). We currently use the escape sequence to exit binary mode (and then use ATR or SLEEP as needed), but it would have been good to have a HW reset to make sure we can reset and control the device in case the escape fails or to overcome any other software error that may occur.

    Then you will have to modify the CodeLess SDK and enable the HW Reset functionality with the APIs I shared above.

    Best Regards,
    OV_Renesas