yabo国际娱乐对话半导体客户支持-共存 https://support.dialog-semiconductor.com/resource-keywords/coexistence 共存不是工作。 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/coexistence-not-work < 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 > SDK版本。1.0.12.1078 < br / > EVK:DA14681 PRO Development kit

I saw共存架构in datasheet page 159。
And I added the following to the source code to check case 3 in the 160 page:

PMU_CTRL_REG [PERIPH_SLEEP] = 0。< br / > 2。在编程块的寄存器之前,必须断言CLK_RADIO_REG[RFCU_EN]位。< br / > 3。Pxy_MODE_REG[PID] = 48 or 49 (COEX_EXT_ACT0 or COEX_EXT_ACT1),
SMART_ACT (Pxy_MODE_REG[PID] = 50)
SMART_PRI (Pxy_MODE_REG[PID] = 51)
COEX_CTRL_REG[SMART_ACT_IMPL] = 1

我在示例(rf_tools_cli)中添加了源代码。

main.c

static void system_init(void *pvParameters)
{
................

REG_CLR_BIT(CRG_TOP, PMU_CTRL_REG, PERIPH_SLEEP);
REG_SET_BIT(CRG_TOP, CLK_RADIO_REG, RFCU_ENABLE);

hw_coex_config_reset();

REG_SET_BIT(COEX, COEX_CTRL_REG, SMART_ACT_IMPL);

hw_gpio_set_pin_function(HW_GPIO_PORT_3, HW_GPIO_PIN_0, HW_GPIO_MODE_INPUT_PULLDOWN, HW_GPIO_FUNC_COEX_EXT_ACT0);
hw_gpio_set_pin_function(HW_GPIO_PORT_3, HW_GPIO_PIN_1, HW_GPIO_MODE_OUTPUT_PUSH_PULL, HW_GPIO_FUNC_COEX_SMART_ACT);
hw_gpio_set_pin_function(HW_GPIO_PORT_3, HW_GPIO_PIN_2, HW_GPIO_MODE_OUTPUT_PUSH_PULL, HW_GPIO_FUNC_COEX_SMART_PRI);

hw_gpio_set_active(3, 0);
hw_gpio_set_active(3, 1);
hw_gpio_set_active(3, 2);

..................
}

And I running ble_txstream command, I observed each pin. As a result, only Smart_Act turned high. ( I guess is that the state of smart_act, smart_pri is High).

What did I do wrong?

Device: 
2018年1月4日星期四09:25:02 +0000 dizyis 132928年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/coexistence-not-work#comments