I want to use ANT and BLE concurrently.
-
I found that there are no multiprotocol examples in SDK12 for NRF51422 (PCA10028). It only have example for NRF52832 (ble_ant_app_hrm). The softdevice for NRF51422 and NRF51822 are different. It is using S332 softdevice for NRF52832 but S310 softdevice for NRF51822. Do you have any guideline of using NRF51422 S310 with SDK12?
-
Meanwhile, I also tried using SDK10 that there is a multiprotocol examples using S310 with NRF51422, but we found that there is no uart logging output for debugging, so we add the following codes at the beginning of the main(), but the uart output only with 1 character: "s" (not "start").
app_trace_init(); app_trace_log("start");
We have checked the uart baud rate which is correct.
void app_trace_init(void)
{
uint32_t err_code = NRF_SUCCESS;
const app_uart_comm_params_t comm_params =
{
RX_PIN_NUMBER,
TX_PIN_NUMBER,
RTS_PIN_NUMBER,
CTS_PIN_NUMBER,
APP_UART_FLOW_CONTROL_DISABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud115200
};
APP_UART_FIFO_INIT(&comm_params,
UART_RX_BUF_SIZE,
UART_TX_BUF_SIZE,
uart_error_handle,
APP_IRQ_PRIORITY_LOW,
err_code);
UNUSED_VARIABLE(err_code);
}
Is there any idea to fix this Problem?
Thanks.