yabo国际娱乐对话半导体客户支持-唤醒GPIO UART https://support.dialog-semiconductor.com/resource-keywords/wakeup-gpio-uart 通过UART CTS针从长时间睡眠中醒来 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/wakeup-extended-sleep-through-uart-cts < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >我想配置DA14531使用扩展的睡眠模式,but am running into a problem where upon wakeup, if data was received over UART, the code gets stuck in a loop waiting for uart_is_busy_getf() to return false when UART is re-initialized, and the watchdog timer times out. I am trying to get it to wake up when the CTS line is enabled to prevent this. Currently I have done the following:

defined CFG_EXTERNAL_WAKEUP in da1458x_config_advanced.h so EXT_WAKEUP is defined as 1

defined EXTERNAL_WAKEUP_GPIO_PORT as the UART1 CTS port, EXTERNAL_WAKEUP_GPIO_PIN as the UART1 CTS pin, and EXTERNAL_WAKEUP_GPIO_POLARITY as 0 in user_periph_setup.h

configured the wakeup pins in set_pad_functions() in user_periph_setup.c with: GPIO_ConfigurePin(EXTERNAL_WAKEUP_GPIO_PORT, EXTERNAL_WAKEUP_GPIO_PIN, INPUT_PULLUP, PID_GPIO, false);

Is there anything I am missing? Is there a different way to solve this issue?

Keywords: 
Device: 
2020年4月10日星期五08:59:59 +0000 mark.palomer 352018年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/wakeup-extended-sleep-through-uart-cts#comments