Hello Dialog_Support Team,
My custom board has AC circuit part integrated and due to AC part after few minutes firmware hangs for no reason and device stops advertising. If i use same firmware with Discovery kit then it is working absolutely OK. I am using just one pin configured as output pin(PORT-2 PIN-1). I am not using any interrupt so there is any way to disable all hardware interrupts?
With Regards,
前腿帕特尔
Keywords:
Device:
Hi Ruchi Patel,
Could you please check if you are able to download firmware to your custom board from any other default example of the SKD? Do you face the same problem? You are able to disable all hardware interrupts by calling the GLOBAL_INT_DISABLE() function of the SDK, but aware that the interrupts are mandatory, you will not be able to do any other procedure.
Thanks, PM_Dialog
Hello Dialog_Support Team,
Thank you for the response. I have run SDK's default example firmware on custom board and it is also stopping advertising after few minutes. I don't want to disable ble interrupts. I want to disable all GPIO interrupts.
Thanks and Regards,
前腿帕特尔
Hi Ruchi Patel,
你can disable the GPIO interrupt via using the NVIC driver, NVIC_DisableIRQ() and select the appropriate interrupt that you would like to disable. But there is no GPIO interrupt enabled by default in the SDK.
Thanks, PM_Dialog