I try to enable the TX_EN function on Pin P1_6 on the DA14695 Development Kit-USB without succses.
For this I modified the ble_range_dte project (WiRa_10.440.8.4) :
"main.c"
static void periph_init(void) { HW_GPIO_SET_PIN_FUNCTION(KEY1); HW_GPIO_PAD_LATCH_ENABLE(KEY1); HW_GPIO_PAD_LATCH_DISABLE(KEY1); #if EXT_AMPLIFIER // TX_EN hw_gpio_configure_pin(HW_GPIO_PORT_1, HW_GPIO_PIN_6, HW_GPIO_MODE_OUTPUT, HW_GPIO_FUNC_CMAC_DIAG0, false); hw_gpio_configure_pin_power(HW_GPIO_PORT_1, HW_GPIO_PIN_6, HW_GPIO_POWER_V33); hw_gpio_pad_latch_enable(HW_GPIO_PORT_1, HW_GPIO_PIN_6); hw_gpio_pad_latch_disable(HW_GPIO_PORT_1, HW_GPIO_PIN_6); #endif }
and in "ble_central_task.c"
void ble_central_task(void *params) { int8_t wdog_id; #if EXT_AMPLIFIER hw_sys_pd_com_enable(); hw_gpio_pad_latch_enable(HW_GPIO_PORT_1, HW_GPIO_PIN_6); #endif printf("Ble central DTE task\r\n"); ble_central_task_handle = OS_GET_CURRENT_TASK(); ...
The P1_6 is allways Low and if I use the P1_6 as an normal "HW_GPIO_FUNC_GPIO" then there is no problem to set and reset this pin.
Best Regards
Reinhold
Device:
I found this definition in "custom_config_qspi.h" and set it to (1):
But the port P1_6 is always low and it looks like the CMAC diagnostic is not working.
Is there any documentation about using the CMAC diagnostics on the DA1469x ?
Best Regards
Reinhold
Hi Reinhold,
Apologies for my late sesponse. Let me check it and I'll let you know.
Thanks, PM_Dialog
Is there a way to use the CMAC diagnostic signals ?
Hi Reinhold.
My apologies for the delay, but I've already escallated your question internally to the Team. I'll get back to you shortly.
Thanks, PM_Dialog
Hi Reinhold,
Sorry again for my late response. I’ve got feedback from the Team internally and it’s not possible to enable the BLE CMAC diagnostics. The dg_configBLE_DIAGN_CONFIG macro will be removed from the upcoming release.
Thanks, PM_Dialog