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
  • Hi There,

    Thank you for posting your question online.
    The HW Reset Pin (P0_0) will trigger a HW Reset.
    This would mean that it will stop any BLE activity and any on going connections will be terminated.
    If that is your end goal, you can use it accordingly.
    I would also suggest you check on AN-B-075: DA14530/531 Hardware Guidelines, on section A.1 Reset Pad (P0_0)


    Best Regards,
    OV_Renesas

  • 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).

Reply
  • 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).

Children