working with nrf52832, sdk 16.0 s132 v7.01
in the uart example i get to this place in the code :
uint32_t nrf_dfu_transports_init(nrf_dfu_observer_t observer)
{
uint32_t const num_transports = DFU_TRANS_SECTION_ITEM_COUNT;
uint32_t ret_val = NRF_SUCCESS;
NRF_LOG_DEBUG("Initializing transports (found: %d)", num_transports);
for (uint32_t i = 0; i < num_transports; i++)
{
nrf_dfu_transport_t * const trans = DFU_TRANS_SECTION_ITEM_GET(i);
in this line i get a pin toggle -> ret_val = trans->init_func(observer);
if (ret_val != NRF_SUCCESS)
{
NRF_LOG_DEBUG("Failed to initialize transport %d, error %d", i, ret_val);
break;
}
}i get a pin toggle which makes my system do some unwanted things
the toggle is for about 12 microseconds so it is quite short and maybe we can overcome it with hardware but i would still love to solve it in the software and understand the reason
if i use the dfu via ble example then i don't get the toggle, so where lies the difference ?
OK FOUND OUT THE ISSUE:
in my system (pcb) pin p0_05 is a power control pin and in the nrf board PCA_10040 it is the uart RTS_PIN_NUMBER, so can i just configure it to a different pin in my board or can i disable the flow control, will it not affect the dfu via serial, considering i use nrfutil dfu over serial on the other side ??
hope to read from you soon on that matter
best regards
Ziv