⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
前腿帕特尔
Offline
Last seen:2 years 6 months ago
加入:2017-03-29 10:50
Disable all interrupts

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,
前腿帕特尔

Device:
PM_Dialog
Offline
Last seen:10小时24分钟前
工作人员
加入:2018-02-08 11:03
Hi Ruchi Patel,

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

前腿帕特尔
Offline
Last seen:2 years 6 months ago
加入:2017-03-29 10:50
Hello Dialog_Support Team,

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,
前腿帕特尔

PM_Dialog
Offline
Last seen:10小时24分钟前
工作人员
加入:2018-02-08 11:03
Hi Ruchi Patel,

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