Using UART and UARTE together - problem with interrupt?

When I initialise an UARTE after an UART I get a ERROR 17 [RF_ERROR_BUSY]. Its fine if UART not initialised.

It drops out in nrfx_uarte_init at this point

if (nrfx_prs_acquire(p_instance->p_reg,
irq_handlers[p_instance->drv_inst_idx]) != NRFX_SUCCESS)
{
err_code = NRFX_ERROR_BUSY;
NRFX_LOG_WARNING("Function: %s, error code: %s.",
__func__,
NRFX_LOG_ERROR_STRING_GET(err_code));
return err_code;
}

To me it looks like they can't be use the same interrupt. I cannot see a way of changing the interrupt.

Am I missing something?

regards

Liam

Related